cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8957
Views
5
Helpful
2
Replies

unity serial number

kiru
Level 1
Level 1

how do i get the serial number off a win 2000 unity server? i tried the wmic csproduct command and the HP management tool and it doesnt work.

1 Accepted Solution

Accepted Solutions

Adrian Saavedra
Level 7
Level 7

Hi,

Try this: copy the following in Notepad and save it in Unity's desktop as .vbs file.

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _

& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colBIOS = objWMIService.ExecQuery _

("Select * from Win32_BIOS")

For each objBIOS in colBIOS

Wscript.Echo "Manufacturer: " & objBIOS.Manufacturer

Wscript.Echo "Serial Number: " & objBIOS.SerialNumber

Next

Once finished, double click and should show you the Serial number.

Hope it helps, if it does please rate.

Good luck,

- Adrián.

View solution in original post

2 Replies 2

Adrian Saavedra
Level 7
Level 7

Hi,

Try this: copy the following in Notepad and save it in Unity's desktop as .vbs file.

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _

& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colBIOS = objWMIService.ExecQuery _

("Select * from Win32_BIOS")

For each objBIOS in colBIOS

Wscript.Echo "Manufacturer: " & objBIOS.Manufacturer

Wscript.Echo "Serial Number: " & objBIOS.SerialNumber

Next

Once finished, double click and should show you the Serial number.

Hope it helps, if it does please rate.

Good luck,

- Adrián.

worked great, thanks!