This article describes how to perform an unattended installation of Windows by starting your Intel-based computer from a CD-ROM.
With Windows XP, you can perform an unattended installation from the CD-ROM.
Verify That You Can Perform Unattended Installation from CD-ROMTo perform an unattended installation from a CD-ROM, the following conditions must be met:
- The computer must support booting from a CD-ROM, and must adhere to the El-Torito non-emulation specification.
For additional information about this specification, click the article number below to view the article in the Microsoft Knowledge Base:167685 How to Create an El Torito Bootable CD-ROM
- The unattended answer file must be renamed to Winnt.sif and copied to a floppy disk so Setup can access it.
- The answer file must contain a valid [Data] section. This is explained later in this article.
- The installation is limited to a single partition.
- You cannot specify third-party drivers during Setup.
Prepare Your Computer for an Unattended InstallationTo prepare your computer for an unattended installation from a CD-ROM, follow these steps:
- Create an unattended answer file by using the Setup Manager utility included with the Microsoft Windows XP CD. To install Setup Manager, follow these steps:
- Open My Computer, and then open the Support\Tools folder on the Windows XP CD-ROM.
- Double-click the DEPLOY.CAB file to open it.
- On the Edit menu, click Select All.
- On the Edit menu, click Copy To Folder.
- Click Make New Folder. Type the name that you want for the Setup Manager folder, and then press ENTER. For example, type setup manager, and then press ENTER.
- Click Copy.
- Open the new folder that you created, and then double-click the setupmgr.exe file. The Windows Setup Manager Wizard starts. Follow the instructions in the wizard to create an answer file. For additional information about how to create an answer file, click the article number below to view the article in the Microsoft Knowledge Base:308662 Use Setup Manager to Create an Answer File
- If you want Windows Setup to delete all partitions on the hard disk and to create a new partition, you must include the Repartition command in the Winnt.sif file. Under [Unattended] , insert a new line, and then type the following:
Repartition=YesIf you omit this line, you are prompted for the installation partition.
- Add a [Data] section with the following entries to the unattended answer file:
- UnattendedInstall=Yes - Value must be set to "yes"
- MSDosInitiated=No - Value must be set to "no" or Setup stops during the graphical portion of Setup
- AutoPartition=1 - If the value is set to 1, the installation partition is automatically selected. If the value is set to 0 (zero), you are prompted for the installation partition during the text portion of Setup.
- Save the unattended answer file as Winnt.sif on a floppy disk.
- Insert the Windows CD-ROM into the CD-ROM drive, and then insert the floppy disk into the floppy disk drive.
- Change the boot order in the CMOS so that the CD-ROM is first in the list. For information about how to do this, refer to the documentation included with your computer, or contact the manufacturer.
For information about how to contact your computer manufacturer, visit the following Microsoft Web site:
- Restart your computer. When Setup is started from the CD-ROM, the Winnt.sif file located on the floppy disk will be used to complete the unattended installation.
Article ID: 314459 - Last Review: Sep 15, 2009 - Revision: 1