Convert Device ID to Hostname or Possibly IP Address OR Query Device ID

Ch3ll 1 Reputation point
2022-05-17T17:18:18.49+00:00

Hello. Under About your PC I can find a workstation's Device ID. I was wondering if only presented with the Device ID of a workstation, can it somehow be converted to hostname, IP address, or MAC Address?

OR

Is it possible to remotely query a workstation to determine its Device ID? Thanks.

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft 365 and Office | Development | Office JavaScript API
Windows for business | Windows Client for IT Pros | Devices and deployment | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-05-25T07:15:13.593+00:00

    Hi,

    The Device ID is a hash and cannot be converted to the hostname or IP address. You can get that from the registry value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient\MachineId

    reg query \\<ComputerName>\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient /v MachineId  
    

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/reg-query

    Best Regards,
    Ian Xue

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.