Share via

Corrupt Registry: Root Cause in Startup Repair.

Anonymous
2010-02-15T17:13:26+00:00

Toshiba Satellite L505D-S5965.  Originally loaded with Vista Home, upgraded to Windows 7 with the option that came with the laptop when purchased on September 09.  Upgrade to Win 7 was flawless.

Today the computer shutdown and restarted running the Startup Repair console.  After scanning the system for problem it came back with the following report and log file.  

View Problem Details showed the entry below.

Problem Signature

Problem Event Name:    StartupRepairOffline

Problem Signature 01: 6.1.7600.16385

Problem Signature 02: 6.1.7600.16385

Problem Signature 03: unknown

Problem Signature 04: 21201049

Problem Signature 05: AutoFailover

Problem Signature 06: 7

Problem Signature 07: CorruptRegistry

OS Version: 6.1.7600.2.0.0.256.1

Locale ID: 1033

View diagnostic and repair details showed this log entry:

Multiple tests are run and all return an error code of 0x0 until the last line in the log file which reads:

Root cause found:


Registry is corrupt:

Repair action: Registry roll back

Result: Completed successfully.  Error code =0x0

Time taken =7722 ms

I tried booting into Safe Mode at Windows startup with the F8 key.

Safe Mode would not start, the Startup Repair console started again.

Tried to start up with Last Known Good Configuration.  Same result.

Tried to run the System Restore from the advanced system recovery and support tools available from within the startup repair console.  There were no restore points created on the system drive.

From the Command Prompt I tried to run c:\bootrec /fixmbr.  It ran successfully but did not solve the problem.

I created new recovery disks after I successfully upgraded to Windows 7, but I am afraid they are identical to the original recovery disks I created when the system was brand new, so I am reluctant to use the System Image Recovery tool available in the System Recovery Options because I believe it will take the computer back to the factory image of Vista.  Not to mention losing all the data and having to reinstall the upgrade to Windows 7.

If anyone has any solid solutions to repairing a Corrupt Registry in Windows 7, I would be very grateful for a solution.

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2010-02-15T22:07:25+00:00

    You can restore your registry files manually to an earlier point by going through the steps outlined below. The process is involved and requires some careful typing. Ask a computer-savvy friend to assist you if you lack experience in this area.

    1. Keep tapping F8 during the early boot phase.
    2. Select Safe Mode Command Prompt from the menu.
    3. Log on as Administrator if prompted.
    4. Select Repair when prompted.
    5. Select the Command Prompt.
    6. Identify the correct drive letter for your Windows installation. It could be drive E: or F:. You do it by typing the commands

        dir C:\Win*

        dir D:\Win*

        dir E:\Win*

        until you find the Windows folder.

        I will call that drive "Q:".

    1. Type these commands:

        cd /d Q:\windows\System32\config

        xcopy *.* Q:\RegBack\

        cd RegBack

        dir

    1. Examine the dates of the Software, System and SAM files. Were the files created before or after your problem became apparent?
    2. If they were made before the problem became apparent then you can type these commands:

        copy /y software  ..

        copy /y System  ..

        copy /y Sam ..

        (the two dots are part of each command)

    1. Reboot normally. If things do not work out then you can backtrack by copying the original registry files from Q:\Regback to Q:\Windows\System32\config.
    200+ people found this answer helpful.
    0 comments No comments

88 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-12-24T03:36:57+00:00

    You can restore your registry files manually to an earlier point by going through the steps outlined below. The process is involved and requires some careful typing. Ask a computer-savvy friend to assist you if you lack experience in this area.

    1. Keep tapping F8 during the early boot phase.
    2. Select Safe Mode Command Prompt from the menu.
    3. Log on as Administrator if prompted.
    4. Select Repair when prompted.
    5. Select the Command Prompt.
    6. Identify the correct drive letter for your Windows installation. It could be drive E: or F:. You do it by typing the commands

        dir C:\Win*

        dir D:\Win*

        dir E:\Win*

        until you find the Windows folder.

        I will call that drive "Q:".

    1. Type these commands:

        cd /d Q:\windows\System32\config

        xcopy *.* Q:\RegBack\

        cd RegBack

        dir

    1. Examine the dates of the Software, System and SAM files. Were the files created before or after your problem became apparent?
    2. If they were made before the problem became apparent then you can type these commands:

        copy /y software  ..

        copy /y System  ..

        copy /y Sam ..

        (the two dots are part of each command)

    1. Reboot normally. If things do not work out then you can backtrack by copying the original registry files from Q:\Regback to Q:\Windows\System32\config.

    _________________________

    ID#0215. If this response was helpful, please vote by clicking the green triangle. If it solves the issue, click "Propose as answer". Thanks.

    Worked like a charm. Thanks a bunch. Daughter's computer had a corrupt registry and a lot of info I didn't want to disappear. I was going to slave the drives and retrieve the info, but that is a lot of work.

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-01-20T01:51:05+00:00

    That's very helpful. Thank you!

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-06-23T14:27:49+00:00

    HI, i've the tried to run the method displayed above but the start up repair console keeps starting even when i select safe mode with command prompt. 

    What do I do??

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2010-02-16T23:39:07+00:00

    I failed to mention in the original post that I has already tried renaming the Software, Default, SAM, System file in c:\windows\system32\config and then copying the same files from \regback.  Unfortunately, I believe system repair may have tried this with a rollback attempt, because the file date and time stamps were the same in each directory.  So your method was tried but it did not work.

    I am restoring the computer back to the original out of box condition with the restoring disk images I created.  This should bring the computer back to the Vista Home Premium state and then I will upgrade it back to Windows 7.

    1 person found this answer helpful.
    0 comments No comments