How to start the Setup program from MS-DOS in Windows XP (307848)



The information in this article 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.

MORE INFORMATION

Preparing to run the Setup program

Before you install Windows XP, follow these steps:
  1. 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: 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

  2. Read the following documents on the Windows XP CD-ROM (where Drive is the drive that contains the Windows XP CD-ROM). These documents contain information to help you prepare for the installation.
    • Drive:\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.
    • Drive:\Docs\RelNotes.htm: This document contains the Windows XP release notes.
    • Drive:\Readme.htm: This document contains late-breaking or other information that supplements the Windows XP documentation.
  3. 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.

Starting the Windows XP Setup program at a command prompt

To start Windows XP at a command prompt, follow these steps:
  1. Insert the Windows XP CD-ROM in the CD-ROM or DVD-ROM drive.
  2. 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

  3. 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.
  4. At the command prompt, type drive:, and then press ENTER (where drive is the drive that contains the Windows XP CD-ROM).
  5. Type cd i386, and then press ENTER.
  6. Type winnt, and then press ENTER. The Windows XP Setup program starts.
  7. 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.
  8. 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.
  9. 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.
  10. Follow the steps in the Windows Setup Wizard to complete the installation of Windows XP.

Modification Type:MinorLast Reviewed:1/5/2006
Keywords:kbHOWTOmaster KB307848 kbAudITPro