Windows XP - How to Repair Errors that Prevent Windows from Booting

This document explains what to do if a machine won't boot.

Windows 9x/2000/XP/Vista

NOTE: Windows 95/98, Windows Me, Windows 2000, Windows XP, and Windows Vista are no longer supported by the Help Desk. We can only provide best effort support. If we are unable to resolve your Windows 9x/2000/XP/Vista issue, you may be able to find help in Microsoft's Knowledge Base.

These products are no longer actively supported by Microsoft. No further development will take place on these products and security updates are no longer issued. It is highly recommended that you upgrade to Windows 10 or 8.

Try Booting Last Good Known Configuration 

  1. Start the computer and hit F8 at the BIOS screen.
  2. Select Last Known Good Configuration (your most recent settings that worked) from the "Windows Advanced Options Menu".
  3. If the computer still won't boot, continue to the next section.

Repair the Windows Installation from the Recovery Console

  1. Boot from a standard Windows XP Install CD (not a Network Install CD).
  2. At the first setup screen, hit R to repair Windows using the Recovery Console.
  3. Select the Windows installation that you would like to repair by entering its number, followed by Enter.
  4. At the Recovery Console, type each following commands followed by Enter:
    • CD ..
    • ATTRIB -H C:\\boot.ini
    • ATTRIB -S C:\\boot.ini
    • ATTRIB -R C:\\boot.ini
    • del boot.ini
    • BOOTCFG /Rebuild
      • Set the Load Identifier to: Microsoft Windows XP Professional
      • Set the OS Load Options to: /noexecute=optin /fastdetect
    • CHKDSK /R
  5. Type exit to reboot the computer.
  6. If the computer still doesn't boot after the repair, backup data from the hard drive, if possible, and bring your machine to one of the walk-in locations.

See Also:

Keywords:Windows How to Recover from Registry Corruption that Prevents Windows from Booting xp corrupt Security infected compromised corrupt corrupted corruption xp clean last known good config configuration repair installation   Doc ID:5836
Owner:Help Desk KB Team .Group:DoIT Help Desk
Created:2007-05-02 18:00 CSTUpdated:2020-08-13 17:22 CST
Sites:DoIT Help Desk
Feedback:  32   20