PC Review
Forums
Newsgroups
Windows XP
Windows XP Security
Service Tag
Forums
Newsgroups
Windows XP
Windows XP Security
Service Tag
![]() |
Service Tag |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am looking for a simple way to embed service tag numbers on machines
to be accessed remotely. We have around 100 Dell machines in various geographic locations and we would like to be able to view the service tag number of these machines anytime without human intervention, i.e. have to call the location and have someone read the tag to me. What I was wondering is, is there a simple solution for embedding the service tag number somewhere in the registry and then simple querying that registry key remotely to via the service tag? I want a solution that is hard to break, i.e. user cannot accidently delete the .txt file that contains that information. The registry seems like the safest place in accordance with our security policy - admins can access the registry and make changes, users cannot. Any additional ideas or ideas for the registry idea would be greatly appreciated. Robert |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Robert:
Curiously: http://www.microsoft.com/technet/co...mt/scrcm41.mspx If you need additional help with this script, let me know. Good luck Joe "Robert B. Phillips II" wrote: > I am looking for a simple way to embed service tag numbers on machines > to be accessed remotely. We have around 100 Dell machines in various > geographic locations and we would like to be able to view the service > tag number of these machines anytime without human intervention, i.e. > have to call the location and have someone read the tag to me. > > What I was wondering is, is there a simple solution for embedding the > service tag number somewhere in the registry and then simple querying > that registry key remotely to via the service tag? > > I want a solution that is hard to break, i.e. user cannot accidently > delete the .txt file that contains that information. The registry > seems like the safest place in accordance with our security policy - > admins can access the registry and make changes, users cannot. > > Any additional ideas or ideas for the registry idea would be greatly > appreciated. > > Robert > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Okay Okay.
Then I ran it on my Dell laptop and removed 2 lines. So, I saved the following code in a text file named "blah.vbs" Having the user double click the file will produce a pop-up dialog box containing the service tag. Pretty cool. 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 SOOOOOO...... You want to obtain this information remotely. Rather than echoing the command, use some simple VB code to instead redirect output to a file. You may even be able to substitute the "." in the first line with the actual computer name, and retrieve the info remotely. Of course, you'd be wise to perform this operation before the target computer crashes, thus necessitating a now inaccessible service tag number. Good luck Joe "Robert B. Phillips II" wrote: > I am looking for a simple way to embed service tag numbers on machines > to be accessed remotely. We have around 100 Dell machines in various > geographic locations and we would like to be able to view the service > tag number of these machines anytime without human intervention, i.e. > have to call the location and have someone read the tag to me. > > What I was wondering is, is there a simple solution for embedding the > service tag number somewhere in the registry and then simple querying > that registry key remotely to via the service tag? > > I want a solution that is hard to break, i.e. user cannot accidently > delete the .txt file that contains that information. The registry > seems like the safest place in accordance with our security policy - > admins can access the registry and make changes, users cannot. > > Any additional ideas or ideas for the registry idea would be greatly > appreciated. > > Robert > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

