Hi,
This tool allows me to change computer names to any names I desire. I have a list of pre-defined names that I want to name all the computers, so I first create a text file that contains all the pre-defined computer names.
The list should be in this order:
MAC=Computer Name
(where MAC is computer MAC address and Computer Name is pre-defined computer name)
For example,
000123456789=PC23-1234
When Wsname runs, it searches the text file, compares the MAC address of the computer on which is running with the MAC address defined in the text file. If both are matching up, Wsname assigns the pre-defined name to the computer.
Execute Wsname during computer startup:
In Sysprep.inf, I set the computer to automatically logon once after sysprep completes preparing the system. After the logon process completes, a batch script executes Wsname.
Sysprep.inf
[GuiUnattended]
AdminPassword=*
AutoLogon=Yes
AutoLogonCount=1
[Identification]
Workgroup=Workgroup
I define the batch script in the registry so that Wsname runs only one time as I need to change the computer name.
Wsname tool also allows changing computer names using MAC address or AssetTag.
Thanks.
Message Edited by ghuser01 on
01-25-2008 10:00 AM