How to recover from a corrupted registry that prevents Windows XP from starting

http://support.microsoft.com/kb/307545

Brief version from above link

copy c:windowssystem32configsystem c:windowstmpsystem.bak

copy c:windowssystem32configsoftware c:windowstmpsoftware.bak

copy c:windowssystem32configsam c:windowstmpsam.bak

copy c:windowssystem32configsecurity c:windowstmpsecurity.bak

copy c:windowssystem32configdefault c:windowstmpdefault.bak

delete c:windowssystem32configsystem

delete c:windowssystem32configsoftware

delete c:windowssystem32configsam

delete c:windowssystem32configsecurity

delete c:windowssystem32configdefault

copy c:windowsrepairsystem c:windowssystem32configsystem

copy c:windowsrepairsoftware c:windowssystem32configsoftware

copy c:windowsrepairsam c:windowssystem32configsam

copy c:windowsrepairsecurity c:windowssystem32configsecurity

copy c:windowsrepairdefault c:windowssystem32configdefault

  1. The following path is an example of a folder path to the Snapshot folder:
    C:System Volume Information_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}RP1Snapshot
  2. From the Snapshot folder, copy the following files to the C:WindowsTmp folder:
    • _REGISTRY_USER_.DEFAULT
    • _REGISTRY_MACHINE_SECURITY
    • _REGISTRY_MACHINE_SOFTWARE
    • _REGISTRY_MACHINE_SYSTEM
    • _REGISTRY_MACHINE_SAM
  3. Rename the files in the C:WindowsTmp folder as follows:
    • Rename _REGISTRY_USER_.DEFAULT to DEFAULT
    • Rename _REGISTRY_MACHINE_SECURITY to SECURITY
    • Rename _REGISTRY_MACHINE_SOFTWARE to SOFTWARE
    • Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM
    • Rename _REGISTRY_MACHINE_SAM to SAMdel c:windowssystem32configsam

    • del c:windowssystem32configsecuritydel c:windowssystem32configsoftware

      del c:windowssystem32configdefault

      del c:windowssystem32configsystem

      copy c:windowstmpsoftware c:windowssystem32configsoftware

      copy c:windowstmpsystem c:windowssystem32configsystem

      copy c:windowstmpsam c:windowssystem32configsam

      copy c:windowstmpsecurity c:windowssystem32configsecurity

      copy c:windowstmpdefault c:windowssystem32configdefault

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s