Microsoft KB Archive/307848

= How to start the Setup program from MS-DOS in Windows XP =

Article ID: 307848

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q307848





This article describes how to start the Windows XP Setup program at a command prompt.



Preparing to run the Setup program
Before you install Windows XP, follow these steps:  Verify that your computer hardware is compatible with Windows XP. For the latest compatibility information and to download and install drivers for the listed hardware, visit the following Microsoft Windows Hardware Quality Labs Web site:

http://www.microsoft.com/whdc/whql/default.mspx

For more information about the system requirements for Windows XP operating systems, click the following article number to view the article in the Microsoft Knowledge Base:

314865 System requirements for Windows XP operating systems

 Read the following documents on the Windows XP CD-ROM (where  is the drive that contains the Windows XP CD-ROM). These documents contain information to help you prepare for the installation.   :\Docs\Read1st.txt: This document contains critical last-minute information that was not included in the documentation or in any other .txt file on the CD-ROM.  :\Docs\RelNotes.htm: This document contains the Windows XP release notes.  :\Readme.htm: This document contains late-breaking or other information that supplements the Windows XP documentation. </li> Create a partition on the hard disk and format it with the FAT or FAT32 file system. For more information about creating a partition, click the following article number to view the article in the Microsoft Knowledge Base:

255867 How to use the Fdisk tool and the Format tool to partition or repartition a hard disk

Note The Windows XP Setup program requires at least 383 megabytes (MB) of free disk space to copy installation files.</li></ol>

Starting the Windows XP Setup program at a command prompt
To start Windows XP at a command prompt, follow these steps: <ol> Insert the Windows XP CD-ROM in the CD-ROM or DVD-ROM drive.</li> Start the computer to an Command Prompt with CD-ROM support. If your computer does not have MS-DOS already installed, or you otherwise cannot start to an Command Prompt in the Boot menu, click the following article number to view the article in the Microsoft Knowledge Base:

187632 How to create a Windows 98 startup disk that supports FAT32

</li> Start SMARTDrive if it is not already started. To do this, change to the folder that contains the Smartdrv.exe file, type smartdrv, and then press ENTER. If you do not use SMARTDrive, the Windows XP Setup program may copy files to the hard disk slowly.</li> At the command prompt, type :, and then press ENTER (where   is the drive that contains the Windows XP CD-ROM).</li> Type cd i386, and then press ENTER.</li> Type winnt, and then press ENTER. The Windows XP Setup program starts.</li> Type the path of the Windows XP installation files, and then press ENTER. For example, type d:\i386.

The Windows Setup program copies files to the hard disk. When the files are copied, you receive the following message:

The MS-DOS based part of The Setup Program Is complete.

The Setup program will now restart your computer. After your computer restarts,

the Windows XP Setup program will continue.

If there is a floppy disk in drive A:, remove it now.

Press ENTER to restart your computer and continue Windows XP Setup.

</li> Remove any floppy disks from the computer, and then press ENTER. The computer restarts, and the Windows XP Setup program resumes. Press ENTER to continue.</li> Follow the steps to select and format a partition where you want to install Windows XP. If your hard disk contains only one partition, do not delete it from the list of existing partitions. The Windows XP Setup program has copied the installation files to this partition.

You can convert a FAT32-formatted partition to the NTFS file system later.

Setup copies the files that the Windows XP Setup program requires, and then the computer restarts. If you chose to format the drive by using the NTFS file system, Windows checks the drive for errors, and then it restarts. Windows XP Setup resumes in Graphical User Interface (GUI) mode.</li> Follow the steps in the Windows Setup Wizard to complete the installation of Windows XP.</li></ol>

Additional query words: kbsetup setup set up cmd exe

Keywords: kbhowtomaster KB307848

-

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

© Microsoft Corporation. All rights reserved.