Top 10 Printer Driver for Mac | iPod Music Recovery | Photo Recovery Software | PPT to DVD Video | Video Cutter | Popup Killer Software
Home > Windows Registry Tips > System Tips > How to recover a corrupted registry that prevents Windows XP from starting

Windows Registry Tips





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

RegistryBooster 2010 - You no longer need to guess! This free stability scan will help you clean, repair and optimize your system in an easy way.



Recover a corrupted registry that prevents Windows XP from starting

This article describes how to recover a Windows XP system that does not start because of corruption in the registry.



When you try to start or restart your Windows XP-based computer, you may receive one of the following error messages:
    Windows XP could not start because the following file is missing or corrupt:
    \WINDOWS\SYSTEM32\CONFIG\SYSTEM

    Windows XP could not start because the following file is missing or corrupt:
    \WINDOWS\SYSTEM32\CONFIG\SOFTWARE

    Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file):
    \SystemRoot\System32\Config\SOFTWARE or its log or alternate

    System error: Lsass.exe

    When trying to update a password the return status indicates that the value provided as the current password is not correct.
Solutions to recover a corrupted registry that prevents Windows XP from starting

Solution 1: Manual steps to recover a corrupted registry that prevents Windows XP from starting

Part 1
    1. Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.
    Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted to do so.

    2. When the "Welcome to Setup" screen appears, press R to start the Recovery Console.

    3. If you have a dual-boot or multiple-boot computer, select the installation that you want to access from the Recovery Console.

    4. When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER.

    5. At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:
    md tmp
    copy c:\windows\system32\config\system c:\windows\tmp\system.bak
    copy c:\windows\system32\config\software c:\windows\tmp\software.bak
    copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
    copy c:\windows\system32\config\security c:\windows\tmp\security.bak
    copy c:\windows\system32\config\default c:\windows\tmp\default.bak

    delete c:\windows\system32\config\system
    delete c:\windows\system32\config\software
    delete c:\windows\system32\config\sam
    delete c:\windows\system32\config\security
    delete c:\windows\system32\config\default

    copy c:\windows\repair\system c:\windows\system32\config\system
    copy c:\windows\repair\software c:\windows\system32\config\software
    copy c:\windows\repair\sam c:\windows\system32\config\sam
    copy c:\windows\repair\security c:\windows\system32\config\security
    copy c:\windows\repair\default c:\windows\system32\config\default
    6. Type exit to quit Recovery Console. Your computer will restart.


    Note This procedure assumes that Windows XP is installed to the C:\Windows folder. Make sure to change C:\Windows to the appropriate windows_folder if it is a different location.

    If you have access to another computer, to save time, you can copy the text in step five, and then create a text file called "Regcopy1.txt" (for example). To use this file, run the following command when you start in Recovery Console:
    batch regcopy1.txt

    With the batch command in Recovery Console, you can process all the commands in a text file sequentially. When you use the batch command, you do not have to manually type as many commands.

Part 2
    1. Start Windows Explorer.

    2. On the Tools menu, click Folder options.

    3. Click the View tab.

    4. Under Hidden files and folders, click to select Show hidden files and folders, and then click to clear the Hide protected operating system files (Recommended) check box.

    5. Click Yes when the dialog box that confirms that you want to display these files appears.

    6. Double-click the drive where you installed Windows XP to display a list of the folders. If is important to click the correct drive.

    7. Open the System Volume Information folder. This folder is unavailable and appears dimmed because it is set as a super-hidden folder.

    Note This folder contains one or more _restore {GUID} folders such as "_restore{87BD3667-3246-476B-923F-F86E30B3E7F8}".

    Note You may receive the following error message:
    C:\System Volume Information is not accessible. Access is denied.

    8. Open a folder that was not created at the current time. You may have to click Details on the View menu to see when these folders were created. There may be one or more folders starting with "RPx under this folder. These are restore points.

    9. Open one of these folders to locate a Snapshot subfolder. The following path is an example of a folder path to the Snapshot folder:
    C:\System Volume Information\_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}\RP1\Snapshot

    10. From the Snapshot folder, copy the following files to the C:\Windows\Tmp folder:
    _REGISTRY_USER_.DEFAULT
    _REGISTRY_MACHINE_SECURITY
    _REGISTRY_MACHINE_SOFTWARE
    _REGISTRY_MACHINE_SYSTEM
    _REGISTRY_MACHINE_SAM


    11. Rename the files in the C:\Windows\Tmp 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 SAM


Part 3
    1. Start Recovery Console.

    2. At the command prompt, type the following lines, pressing ENTER after you type each line:
    del c:\windows\system32\config\sam
    del c:\windows\system32\config\security
    del c:\windows\system32\config\software
    del c:\windows\system32\config\default
    del c:\windows\system32\config\system
    copy c:\windows\tmp\software c:\windows\system32\config\software
    copy c:\windows\tmp\system c:\windows\system32\config\system
    copy c:\windows\tmp\sam c:\windows\system32\config\sam
    copy c:\windows\tmp\security c:\windows\system32\config\security
    copy c:\windows\tmp\default c:\windows\system32\config\default

    Note Some of these command lines may be wrapped for readability.

    3. Type exit to quit Recovery Console. Your computer restarts.

    Note This procedure assumes that Windows XP is installed to the C:\Windows folder. Make sure to change C:\Windows to the appropriate windows_folder if it is a different location.

    If you have access to another computer, to save time, you can copy the text in step two, and then create a text file called "Regcopy2.txt" (for example). To use this file, run the following command when you start in Recovery Console:
    batch regcopy2.txt

Part 4
    1. Click Start, and then click All Programs.
    2. Click Accessories, and then click System Tools.
    3. Click System Restore, and then click Restore to a previous RestorePoint.

Solution 2: Recover a corrupted registry that prevents Windows XP from starting with registry cleaner software automatically

Only edit the registry if you know what you are doing: the consequences of your mistakes could be rather extreme - at its worst, you will need to re-install Windows from scratch.

Registry repair software fixes all your registry problems including all errors and instances of fragmentation. It tunes up and streamlines your computer registry to enhance your computer experience and eliminating related system seizures and crashes. Registry repair software keeps track of all registry entries repairing issues and ensuring your computer to work at peak performance. Using the software regularly allows you to minimise registry related problems.

Take a free scan on your Windows Registry, fix your registry error with 1 click.


Related System Tips

  • Windows could not start because System32 Hal.dll is missing or corrupt

    Windows\System32\Hal.dll is missing or corrupt. Error message in Windows XP SP2: "Windows could not start because the following file is missing or corrupt. Windows\System32\Hal.dll" ...

    Add Time:08.29, 2008    Hits:18,359

  • Fix a fragmented or corrupted SYSTEM hive file with Recovery Console

    Fix a fragmented or corrupted SYSTEM hive file with Recovery Console The Windows 2000 Registry comprises a handful of hive files located in the %systemroot%\System32\Config folder. When...

    Add Time:09.02, 2008    Hits:5,213

  • This device is disabled (Code 22)

    This device is disabled (Code 22) The device is disabled because a user disabled it by using Device Manager. Click Enable Device. This starts the Enable...

    Add Time:08.28, 2008    Hits:4,804

  • Code 12: This device cannot find enough free resources that it can use

    This device cannot find enough free resources that it can use This device cannot find enough free resources that it can use. If you want to use this device, you will need to disable one of the...

    Add Time:08.28, 2008    Hits:4,658

  • How to Scan & Repair Shared DLLs Section in Windows XP

    How to Scan & Repair Shared DLLs Section Shared DLLs This registry key contains references to shared DLLs (Dynamic Link Libraries). DLLs are used to store functions that...

    Add Time:07.21, 2008    Hits:4,060

  • How to edit registry key in Windows Vista

    How to edit registry key in Windows Vista? Editing registry key can be very complicated and highly risky. Please do NOT try this unless you are absolutely positive that you might mess up the...

    Add Time:07.15, 2008    Hits:3,757

  • How to load a remote registry hive file in Windows Vista

    How to load a remote registry hive file in Windows Vista? 1. Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list. 2. Locate and then click...

    Add Time:08.13, 2008    Hits:3,069

  • How to start the System Restore tool at a command prompt in Windows XP

    How to start the System Restore tool at a command prompt in Windows XP? Windows XP includes the System Restore tool, but you cannot start the System Restore tool from a...

    Add Time:08.27, 2008    Hits:2,952

  • Code 19 Your Registry Might Be Corrupted

    Code 19 Your Registry Might Be Corrupted SYMPTOMS The Component Object Model (COM) ports that you created during the installation of a multiple-port serial adapter do not start, and they...

    Add Time:07.15, 2008    Hits:2,665

  • Windows XP Registry

    Windows XP Registry Back up and restore the registry in Windows XP How to back up your entire Windows XP...

    Add Time:01.05, 2009    Hits:2,568





Copyrright (c) 2001~2009 DownloadAtoZ.com We provide 100,000+ software programs for free download. Your best choice of software reviews & downloads.