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
UNSUPPORTED

NOTE: Windows 95/98, Windows Me, Windows 2000, and Windows XP 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 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 8, 7, or Vista.

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

This section references "Repairing Windows XP in Eight Commands" by Robert Hallock (2006). See http://icrontic.com/articles/repair_windows_xp for the full text of that article.

  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
    • FIXBOOT
  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:Leah S.Group:DoIT Help Desk
Created:2007-05-02 19:00 CDTUpdated:2015-12-15 18:23 CDT
Sites:DoIT Help Desk
Feedback:  17   8