English | 中文 | Русский | Français
2,856 Posts served
8,606 Conversations started
We are often asked how we can get the UUID of a system outside of having AMT enabled on a system. The problem here being that sometimes there are AMT systems in an environment that have never been enabled (this is sad, I know...) and for whatever reason they many not have the ME/LMS drivers installed, which would allow them to run the AMT Scan Tool in order to get information.
So without AMT Enabled, you can get the UUID from the OS via WinRM or WMI. No AMT Drivers need to be installed. Just save the text below to a .vbs file and run.
---------------------------------
' WMI To get UUID
' Script Name: GetUUID.vbs
Option Explicit
Dim objWMIService, objItem, colItems, strComputer
' On Error Resume Next
strComputer = "."
' WMI connection to Root CIM
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystemProduct")
' Classic For Next Loop
For Each objItem in colItems
Wscript.Echo "UUID: " & objItem.UUID
Next
‘End of script
| June 12, 2009 4:04 PM PDT
Gael Holmes Hofemeier (Intel)
| Thanks Andy! |
| June 15, 2009 2:25 PM PDT
Andrew Schiestl (Intel)
|
An equivilent with Winrm from the command line (which will work in Windows Vista and Windows 7, and will work on Windows XP with the appropriate download) is: 'winrm e http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/win.....temProduct' |

Andrew Schiestl (Intel)
3,763
Status Points:
3,263
Just type the following at a command line:
'wmic path win32_computersystemproduct get uuid'