PC Review Forums Newsgroups Windows XP Windows XP Security Service Tag

Reply

Service Tag

 
Thread Tools Rate Thread
Old 07-10-2004, 05:37 PM   #1
Robert B. Phillips II
Guest
 
Posts: n/a
Default Service Tag


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
  Reply With Quote
Old 08-10-2004, 02:25 AM   #2
=?Utf-8?B?am9lZHJlYWRsb2Nr?=
Guest
 
Posts: n/a
Default RE: Service Tag

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
>

  Reply With Quote
Old 08-10-2004, 02:31 AM   #3
=?Utf-8?B?am9lZHJlYWRsb2Nr?=
Guest
 
Posts: n/a
Default RE: Service Tag

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
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off