PC Review


Reply
Thread Tools Rate Thread

Dell Service Tag - Update

 
 
Prenoy Brent
Guest
Posts: n/a
 
      6th Mar 2004
I have seen posts asking for the Dell Service Tag
retrievals and automatic insertion of it as the computer
names.

Following vbscript file will show the asset tag, but any
one please let all know how to use this script
effectively, after sysprep, sothat it autmatically inserts
the serial number as the computer name.

possible ways are like, parse the output of this script
during after the sysprep, then automatic insertion


the script I found is

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

 
Reply With Quote
 
 
 
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      6th Mar 2004
Prenoy Brent wrote:

> I have seen posts asking for the Dell Service Tag
> retrievals and automatic insertion of it as the computer
> names.
>
> Following vbscript file will show the asset tag, but any
> one please let all know how to use this script
> effectively, after sysprep, sothat it autmatically inserts
> the serial number as the computer name.


Hi

In the script in the link below I add a letter in the front of the
SerialNumber, in the case the SerialNumber contains only numbers,
you will not be able to rename the computer (a computer name must
have at least one letter):

http://groups.google.com/groups?selm...2E%40hydro.com


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/com...r/default.mspx


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Update keeps showing Dell printer update even after updati Ron Miller Windows Vista Print / Fax / Scan 3 14th Apr 2008 07:49 PM
Dell service is better than Apple?!? YKhan Processors 15 31st Aug 2006 07:01 PM
Dell Service Tag and User Name =?Utf-8?B?RGljaw==?= Microsoft Frontpage 8 13th Jun 2005 03:52 PM
Cellular Service from my Dell Axim x50? dwhittenburg Microsoft Dot NET Compact Framework 2 18th May 2005 06:08 PM
Dell Service Tags Victor Menlor Windows XP Setup 3 1st Mar 2004 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:16 PM.