Why does Win32_ComputerSystemProduct UUID returns all F's?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im running the following code on a Windows XP SP3 machine with the purpose of obtaining its UUID:
On Error Resume Next<br/>
strComputer = "."<br/>
Set objWMIService = GetObject("winmgmts:\" & strComputer & "rootcimv2")<br/>
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystemProduct",,48)<br/>
For Each objItem in colItems<br/>
Wscript.Echo "UUID: " & objItem.UUID<br/>
Next

and the result is all Fs. But when I run the Windows Management Instrumentation Tester:
C:WindowsSystem32wbemwbemtest.exe
and open the Win32_ComputerSystemProduct class it shows a UUID that is not all Fs.
Any idea why? And how to obtain the UUID on that machine?

View the full article
 
Back
Top