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
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.

Was this answer helpful?

200+ people found this answer helpful.
0 comments No comments

88 additional answers

Sort by: Newest
  1. Anonymous
    2016-11-14T14:02:22+00:00

    After clicking safe mode command prompt, im taken to the startup repairand runs again to give me the same errors.  Ive already posted my issue iwth the errors i am getting. I ask here since your explanations are clearer to me than most and hoping you can run by my post and perhaps suggest something. 

    Thanks!!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-11-27T17:03:55+00:00

    Your extra info worked pretty fine to me, thank you very much, I was so afraid of loosing all my info.

    I had the problem of not being able to "copy /y software  ..", Tte system couldn't find the files when following the exact steps from the first reply, but following your extra steps it worked perfectly when I did the "after this section continue with the copy commands give by the author." and restarted

    My problem was on a Lenovo Thinkpad E430 laptop, windows 7 ulti 64 bits, 4Gb RAM.

    Some days ago first something seems to smell bad when multiple blue screens started to pop up when opening certain softwares.

    Finally the restart loop appears, and the Problem had this description:

    Signature 01: 6.1.7600.16385

    Signature 02: // (equal above)

    Signature 03: Unknown

    Signature 04: -1

    Signature 05: Auto failover

    Signature 06: 20

    Signature 07: Corrupt registry

    Last days I made some registry clean ups with ccleaner for fixing BlueStacks and Avira problems, maybe I messed up something doing that.

    Thanks you so much!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-09-22T06:18:23+00:00

    Since the first part to login with Safe Mode to Command Prompt did not success, I read carefully all steps to understand that you can manually replace the defected registry with last known good settings, which was backed up by windows OS.

    What you actually need to do is to replace 3 files from Q:\windows\System32\config\RegBack.

    So I have another PC which is working good, I plugged the hard disk with the corrupted registry and replace these registry files easily from my computer (you must be a administrator on the healthy PC to get access to any folder).

    So after you access the disk you need to:

    1. Backup all your registry folder C:\windows\System32\config to new location as Q:\RegBack\ (If this solution don't work you could reverse these actions)
    2. Return to C:\windows\System32\config\ and look for RegBack folder
    3. From Q:\windows\System32\config\RegBack select 3 files named: software; System; Sam
    4. Copy these 3 files to Q:\windows\System32\config\

    Now you can shutdown all PCs and return the hard disk to it's original PC.

    Windows recovery now should found a solution and suggest to attempt system restore (which may take a while).

    This work good for me! Good luck for you to

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-09-14T14:07:53+00:00

    I am afraid that the Author has not included other fixes and keeps cutting and pasting the same info again and again to the following pages.

    On my Acer window 7 32 bit ultimate computer on 14/09/2015 I had a very similar problem

    with a corrupt registry and the hard disk would not start up or windows would not start the system kept going into the system repair screen, if you are quick you can turn this repair screen off by clicking on cancel several times over and then move onto opening a command prompt.

    I kept reading online that registry cleaners seem to do this damage so I have unticked the Reg cleaner box in all programs after my fix that scan my system in future.

    If you follow this you should be ok and get your pc running again hopefully.

    Run the system repair programme and close the repair utility then move to the section where you can open a command prompt at the bottom of the list.

    After you follow the given instructions to find the windows folder and you know which folder that is, Mine was C:

     lets continue to use the letter Q as the Drive letter yours may be a different letter.

    Type this command as directed.

    cd /d Q:\windows\system32\config and then press return.

    Then type this observing all the spaces as above.

    xcopy *.* Q:\regback\  then press the return button.

    then type

    cd regback  and press return button

    then type

    dir        and press return button

    now following the instructions in section 8 observe the SAM files and see the  date is before the problem occurred or afterwards if it is before continue with the instructions as given. if it does not work do not worry there is another step that has been missed. it is not obvious as many may reach the end of the problem at this stage but many may not so here we go.

    type in the first four commands above, on seperate lines hitting the return button each time the final one is 

    dir then press return

    this time you should see a dialogue pop up that says something similar to delete all

    files in this section and in brackets ( yes/no/all )

    there will be a number of questions like this 12 in all you will need to answer them  by typing a for all.

    after this section continue with the copy commands give by the author.

    restart the computer don't worry if it doesn't work there is another option yet, that might get your computer running.

    and this one fixed mine.

    as the computer starts up it should give you the option to enter the set up Utility by either pushing delete or F8 usually delete is the one tap it twice every second as the computer starts up.  some laptops require that you tap F2 it might be advisable to Google this question for your particular laptop: "Access setup screen on your computer name here". on a working computer phone etc.

    Once the setup utility screen appears it can be white writing on a blue screen or yellow writing on a blue screen, you will only be able to navigate these screens with the keyboard from here on in. mouse control will come back with windows so don't worry.

    Now move the direction arrows on your keyboard either to the right to select from a top menu or down one push at a time to highlight "integrated peripherals"

    and press the return button.

    use the red curser and the arrow buttons to select SATA Operation Mode.

    it could be that the default setting is Sata and on some computers, if this section is set

    to ide. registry errors can restore the original settings to SATA Mode which stops the

    Hard disk from being booted up. This may certainly be the case for older computers which may have older motherboards 5 years or more. particularly 32 bit systems.

    once you have highlighted sata operation mode press return and if it is set to sata mode  select "IDE" instead

    in the drop down box.  press return to save this then press escape or ESC button to return to the previous screen.

    press the right direction button to highlight save and exit setup press return select Y for yes and press return again.

    hopefully your computer will start up on its own.

    I'd love to know of anyone has had any success with this beyond the original authors posting.  I hope it works for you.

    it has taught me to always back up those important files just in case.

    That sinking feeling is not very nice at all. but I am pleased to be able to share a positive experience with you and it would not have been possible without the help of the original author in what was typed up on this website.

    Good Luck.

    Was this answer helpful?

    0 comments No comments