unity serial number

Answered Question
May 18th, 2009

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.

I have this problem too.
0 votes
Correct Answer by Adrian Saavedra about 7 years 8 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Adrian Saavedra Mon, 05/18/2009 - 16:39

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.

Actions

This Discussion