05-18-2009 02:55 PM - edited 03-18-2019 11:03 PM
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.
Solved! Go to Solution.
05-18-2009 04:39 PM
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.
05-18-2009 04:39 PM
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.
06-09-2009 06:36 AM
worked great, thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide