Microsoft KB Archive/314459

= How to Perform an Unattended Installation of Windows from a CD-ROM =

Article ID: 314459

Article Last Modified on 4/24/2003

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional Edition

-



This article was previously published under Q314459



For a Microsoft Windows 2000 version of this article, see 216258.



SUMMARY
This article describes how to perform an unattended installation of Windows by starting your Intel-based computer from a CD-ROM.



MORE INFORMATION
With Windows XP, you can perform an unattended installation from the CD-ROM.

Verify That You Can Perform Unattended Installation from CD-ROM
To 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.

NOTE: The following limitations exist with this installation method:
 * The installation is limited to a single partition.
 * You cannot specify third-party drivers during Setup.

Prepare Your Computer for an Unattended Installation
To 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.</li> Double-click the DEPLOY.CAB file to open it.</li> On the Edit menu, click Select All.</li> On the Edit menu, click Copy To Folder.</li> 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.</li> Click Copy.</li> 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

</li></ol> </li> Add a [Data] section with the following entries to the unattended answer file:

 UnattendedInstall=Yes - Value must be set to &quot;yes&quot;</li> MSDosInitiated=No - Value must be set to &quot;no&quot; or Setup stops during the graphical portion of Setup</li> 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.</li></ul> </li> Save the unattended answer file as Winnt.sif on a floppy disk.</li> Insert the Windows CD-ROM into the CD-ROM drive, and then insert the floppy disk into the floppy disk drive.</li> 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 computer hardware manufacturers, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and Software Third-Party Vendor Contact List, A-K

60781 Hardware and Software Third-Party Vendor Contact List, L-P

60782 Hardware and Software Third-Party Vendor Contact List, Q-Z

</li> 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.</li></ol>

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

Additional query words: CDboot

Keywords: kbinfo kbsetup KB314459

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.