AutoNaming Computer with SMBIOS Serial Number after Sysprep and during MiniSetup

  • Thread starter Thread starter Alexander
  • Start date Start date
A

Alexander

Is there any way to have sysprep MiniSetup name the computer with the serial
number or asset tag of the PC from the system BIOS?

Your help is appreciated.
 
Not natively. That's why I wrote my own program to do it.

Take a look at www.willowhayes.co.uk and download compname.exe.

The next problem is how to integrate it into your build process. My
strategy (for bootable unattended CDs rather than SysPrep, but it should be
the same) is to allow the computer to
autogenerate a name (=*) and run compname.exe with appropriate parameters
from cmdlines.txt. This requires that you use a $OEM$ directory and
OEMPreinstall=Yes.

The advantage of doing it here is that no extra reboots are required to
actually change the name. Cmdlines.txt runs during GUI mode setup and once
the computer's rebooted, the name is changed.

If you need to join a domain, you can use netdom.exe (from the support tools
directory on your Windows 2000 CD) from a batch file called from GUIRunOnce.

Hope this helps

Oli
 
Back
Top