Microsoft KB Archive/891892

= Setup may restart during the hardware detection phase of Windows XP installation =

Article ID: 891892

Article Last Modified on 3/25/2005

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





SYMPTOMS
When you perform a new Microsoft Windows XP installation or a repair installation, your computer may restart when Setup reaches the hardware detection phase.



CAUSE
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.



RESOLUTION
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.</li> Click OK to close the System Properties dialog box.</li> 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

</li> Note the device driver file name and the error code from the Stop error.</li> Restart the computer in Recovery Console. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Start your computer with the Windows XP Setup floppy disks or with the Windows XP CD-ROM.</li> At the Welcome to Setup screen, press R to repair a Windows installation.</li> Press C to start the Windows Recovery Console. Type the number for the Windows installation that you want to repair, and then press ENTER.</li> Type the administrator password, and then press ENTER.

Note If you do not have an administrator password, just press ENTER.</li></ol> </li> 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.</li> 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 .sys  .old, and then press ENTER. In this command, .sys is the driver file name and  .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: <ol style="list-style-type: lower-alpha;"> At the command prompt, type cd etc, and then press ENTER.</li> At the command prompt, type copy lmhosts.sam %SystemRoot%\system32\drivers\ .sys, and then press ENTER. In this command, .sys specifies the driver file.</li> When you are prompted to confirm the file content replacement, press Y, and then press ENTER.</li></ol> </li> At the command prompt, type exit, and then press ENTER.</li> Restart the computer and continue Setup.</li></ol>

<div class="references_section">