question

Ch3ll-0422 avatar image
0 Votes"
Ch3ll-0422 asked IanXue-MSFT edited

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

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-hardwareoffice-js-devwindows-10-application-compatibility
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered IanXue-MSFT edited

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://docs.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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.