Setup may restart during the hardware detection phase of Windows XP installation
When you perform a new Microsoft Windows XP installation or a repair installation, your computer may restart when Setup reaches the hardware detection phase.
This issue may occur if a device driver conflict occurs during the hardware detection phase of Windows XP installation. When a device driver conflict occurs, a Stop error is generated. By default, Windows XP is designed to restart the computer when such an error occurs.
To resolve this issue, remove all unnecessary devices from the computer, or search for device driver files that conflict with the operating system. Then rename or delete those device driver files.
- Restart the computer, and then start the Setup program.
- When the Installing Devices green progress indicator appears, on the left side of your screen, during the Installing Windows part of Setup, press SHIFT+F10 to open a command prompt.
- At the command prompt, type control sysdm.cpl, and then press ENTER.
- In the System Properties dialog box, click the Advanced tab.
- Under Startup and Recovery, click Settings.
- In the Startup and Recovery dialog box, under System failure, click to clear the Automatically restart check box, and then click OK.
- Click OK to close the System Properties dialog box.
- At the command prompt, type exit, and then press ENTER to continue Setup.
Note When Setup progresses, you may receive a Stop error message that is similar to the following error message:
Stop 0x0000007E (0xC0000005, 0xEEE4C89Z, 0xF7AF8AC0, 0xF7AF87C0)
palmusbd.sys - Address EEE4C89C base at EEE4Z000, DateStamp 3C6801E9
- Note the device driver file name and the error code from the Stop error.
- Restart the computer in Recovery Console. To do this, follow these steps:
- Start your computer with the Windows XP Setup floppy disks or with the Windows XP CD-ROM.
- At the Welcome to Setup screen, press R to repair a Windows installation.
- Press C to start the Windows Recovery Console. Type the number for the Windows installation that you want to repair, and then press ENTER.
- Type the administrator password, and then press ENTER.
Note If you do not have an administrator password, just press ENTER.
- Change the name of the %SystemRoot% folder to %SystemRoot%\system32\drivers. To do this, at the command prompt, type cd system32\drivers, and then press ENTER.
- Delete or rename the device driver file that you noted in step 9. To rename the device driver file, at the command prompt, type ren driver.sys driver.old, and then press ENTER. In this command, driver.sys is the driver file name and driver.old is the renamed file.
Note You may have to retain the name of the driver file and replace only the contents of the driver file to prevent the Windows XP operating system from copying the driver file back to the hard disk.
For example, you may replace the contents of the driver file by copying the contents of the Lmhosts.sam file that is located in the %SystemRoot%\system32\drivers\etc folder to the driver file. You can also use any text file as a replacement for the Lmhosts.sam file.
To replace the contents of the driver file, follow these steps:
- At the command prompt, type cd etc, and then press ENTER.
- At the command prompt, type copy lmhosts.sam %SystemRoot%\system32\drivers\driver.sys, and then press ENTER. In this command, driver.sys specifies the driver file.
- When you are prompted to confirm the file content replacement, press Y, and then press ENTER.
- At the command prompt, type exit, and then press ENTER.
- Restart the computer and continue Setup.
For more information about the Windows XP Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the Windows XP Recovery Console
Article ID: 891892 - Last Review: March 25, 2005 - Revision: 2.1
- Microsoft Windows XP Professional
- Microsoft Windows XP Home Edition