how to find the serial number of a Server/PC from Registry?

how to find the serial number of a Server/PC from Registry?
i need to find the serial # of many servers from registry without installing anything on the servers or PCs

is that possible?
AlliantTechAsked:
Who is Participating?
 
JapyDoogeCommented:
Hello AlliantTech,

It's not possible to find a Dell ServiceTag trough the registery (it is'nt stored there) but you can read it from the system's bios using the following VBScript.

Good luck!
strComputer = "." 
Set objWMIService = GetObject("winmgmts:" _ 
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 
Set colSMBIOS = objWMIService.ExecQuery _ 
("Select * from Win32_SystemEnclosure") 
For Each objSMBIOS in colSMBIOS 
Wscript.Echo "Serial Number: " & objSMBIOS.SerialNumber 
Next 

Open in new window

0
 
Adil_khanCommented:
Hi,

i am not sure if this is applicableand if you are asking for Product Keys/ Licenses
this is a .exe file which you will run that on the system and it should display product keys you don't need to install it,

Try it on your system, extract the file and run the Keyfinder.exe.

http://downloads.sourceforge.net/keyfinder/keyfinder.2.0.1.zip?use_mirror=osdn

Hope this helps.

Rgds
0
 
AlliantTechAuthor Commented:
Hi
thanks for the respond
i guess i wasn't clear in my request
i need to find the physical serial # of the server, so i can check their warranty status on line

any help is appreciated
:)


0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Adil_khanCommented:
Sorry about that,

What kind of systems do you have, for example with Dell systems you can go in to the BIOS and there you can read the service tag: which are the serial numbers for Dell systems.

I will try to find how to pull up the serial with exe scripts. or the same in the registry

Rgds

Adil

0
 
j_65_ukCommented:
This thread has a script to pull out the DELL details - does that help?

http://www.adminscripteditor.com/forum/printable.asp?m=7743
0
 
gs121Commented:
If you have a RSA (IBM0, or a RIB (HP) etc , installed.
Remote into it, and it list the model and serial number of the server.
Vendors display this info in different ways.  You need to sprcify the brand of servers and wkstations.  Too many possiblities otherwise.
0
 
JapyDoogeCommented:
just save it as filename.vbs and run, offcourse you can edit it to suit your needs, or even edit it so it actially saves the service tag in registery and put it in a logon script so at next logon, each computer will have a registery key with its servicetag.

(or let it save it somewhere else, on your server for example)
0
 
kadadi_vIT AdminCommented:
0
 
AlliantTechAuthor Commented:
this is exactly what i was lookign for
this is great
thanks
i can get the serial # of a server, without restarting it and goign to BIOS
thanks a lot for the help

0
 
JapyDoogeCommented:
Thanks and good luck :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.