Here’s a clean, educational write-up covering the legitimate ways to find a Windows and System IDs (like UUID, Device ID, or SID).
Get-WmiObject -Class SoftwareLicensingService | Select-Object ProductID Used by IT departments to uniquely identify a machine.
Settings → Accounts → Access Work or School → Click on connected account → Info → Device ID
wmic path softwarelicensingservice get ProductID
wmic path softwarelicensingservice get OA3xOriginalProductID Or for the installed Product ID:
Get-WmiObject -Class Win32_UserAccount | Where-Object $_.Name -eq "Administrator" | Select-Object SID
Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
wmic useraccount get name,sid Used in Microsoft Entra ID (Azure AD) or Intune management.
Here’s a clean, educational write-up covering the legitimate ways to find a Windows and System IDs (like UUID, Device ID, or SID).
Get-WmiObject -Class SoftwareLicensingService | Select-Object ProductID Used by IT departments to uniquely identify a machine.
Settings → Accounts → Access Work or School → Click on connected account → Info → Device ID
wmic path softwarelicensingservice get ProductID
wmic path softwarelicensingservice get OA3xOriginalProductID Or for the installed Product ID:
Get-WmiObject -Class Win32_UserAccount | Where-Object $_.Name -eq "Administrator" | Select-Object SID
Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
wmic useraccount get name,sid Used in Microsoft Entra ID (Azure AD) or Intune management.