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.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
877 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
456 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,549 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 30,361 Reputation points Microsoft Vendor
    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