That worked wonders! Thanks!
Main Topics
Browse All TopicsI am tryring to automate installation of Windows XP several PCs. The PCs I have are all the same make and models and they all have the same hardware inside. What I am trying to do is use Windows OEM Preinstall Kit to install Windows XP Pro with SP2, the drivers for the PC, and Office 2003, on all the machines. I want to create a bootable DVD that has everything on it. (DVD format is a must due to PCs being laptops used for conferences and stuff, and if I need to redo a laptop in case of an emergency, all I have to do is use the CD to reinstall eveything.) My problem is that I want to be able to, during installation, specify the computer name. Is there a way to get a custom window where you can input the computer name during the installation process?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: KCTSPosted on 2007-06-21 at 08:14:12ID: 19333813
First you need to setup a PC and install Windows and any applications on it that you want. You can then configure it as desired. It is worth spending a bit of time and effort on this as it will form the basis for all computers cloned from this one.
Set up a dummy user account, log on using this account and set up the desktop, menus shortcuts, screen savers, map drives etc and all the other stuff that you want to standardize for new users. When all is to your liking, log off from the dummy account. You can then copy the profile you have just created so that it becomes the default for all new users. To do this you need to log on as an administrator, You will first need to go to the Control Panel, and in Administrative tools, Folder Options, on the View Option make sure that the option to Show Hidden Files and Folders is selected. It is also a good idea to make sure that the Hide Extensions for known file types is NOT selected so you can identify files more easily later on. Then exit the control panel. Right click on My Computer and select Properties, Advanced, and click on SETTINGS under User profiles. Select the dummy profile and then COPY TO another user option. Copy the dummy profile to C:\Documents and Settings\Default User making sure that you change the 'Permitted to use' option to 'Everyone' so that the new users will have the necessary permissions on the profile. Confirm the action replacing the existing default profile when prompted.
The next stage is to prepare the PC for imaging, this involves creating an answer file for the mini-setup and running sysprep.
You will first need to install the deployment tools from the Windows CD onto the XP machine. Install the XP CD, navigate to the \Support\Tools folder and double click on the Deploy.cab file. Select all of the files in Deploy,cab, right click, extract, and extract all the files to a folder called C:\sysprep. (the folder name is important)
Run the SetupMgr program from C:\Sysprep and select a new answer file, for a sysprep install for Windows XP. Select, Yes fully automate. and go through and supply all the relevant information. If you select a fully automated installation as suggested you will not be able to leave some entries like computer name and product key blank but if you want to enter them at install time, dont worry too much now, just type in something and you can remove it in the next step.
After completing the answer file save it as C:\Sysprep\sysprep.inf. and close the dialog box. If you want to edit it the sysprep file, you can right click on sysprep.inf and select Open With& Notepad. You can then change bits. For example if you want to be prompted for the computer name at install time change the line that reads
ComputerName=xxxxx
To
ComputerName=
As the value is now blank, you will be prompted for the computer name at install
One you are happy, it might be a good idea to copy the C:\Sysprep folder to a removable device such as a USB memory stick as the whole of the C:\sysprep folder will be permanently deleted later on in the process.
Now we need to run Sysprep. Double click on Sysprep.exe. Make sure that the Mini-setup option IS selected and NoSidGen is NOT selected and the SHUTDOWN option is selected before pressing RESEAL.
Windows will then strip the SIDs and other identifies out of Windows and prepare it for imaging. Windows will then shutdown.
Once Windows is shutdown you need to start the PC booting from either a floppy disk or CD that contains your third party imaging program. This can be Symantec Ghost, Acronis, Drive Image similar. You then need to copy the image file to a removable disk, CDs/DVDs network drive or whatever.
You then need to start the new PC, boot that from the floppy disk or CD that contains your third party imaging program and copy the image that you mage of the first PC to the new PC.
When the image has been copied you can reboot the new PC. Windows will start and go through the mini-setup and configure itself using the sysprep.inf file that you created. If you left any of the required options, like computer name blank, you will be prompted to type them in. Otherwise setup will be automatic. As its only re-configuring, not reinstalling the mini-setup takes about 5mins, at then end of which you will have a new computer which is identical to the first one but with a different name and different SIDs. All of the software and configurations will be preserved.