How to Recover from an Infinitely Looping Startup Repair..

If you’ve ever experienced a Startup Repair that continuously loops and fails to fix the problem of not being able to load windows, even in safe mode, then you’ll know that usually the only way to recover from this when System Restore does not work is to do a clean install of Windows.

Until now…..

This tutorial will show you how to use the System Recovery Options provided by Windows to recover your system to a working state so that you don’t have to risk losing data by performing a clean install.

Warning

The instructions presented within this tutorial must be followed correctly, or you can damage your Windows installation even further. This tutorial is designed to help recover from a bad registry that is causing the startup repair loop. You should note that there may still be some issues remaining that cannot be fixed by manually restoring the registry. This solution is not a ‘catch all’ and must be considered a such.

Recovering Your System

  1. Boot to the System Recovery Options screen.
    1. If Windows automatically opens Startup Repair, and subsequently fails to fix a problem, you can skip ahead to step 4 below. 
  2. In the System Recovery Options screen, click Startup Repair:

  3. Windows will search for an attempt to repair startup problems:

  4. If startup problems could not be repaired, you will receive the message Windows cannot repair this computer automatically. Click View advanced options for system recovery and support:

  5. Click View advanced options for system recovery and support, which which bring you back to the main System Recovery Options screen. 
  6. Click Command Prompt:

  7. Command Prompt should open to X:, which is an internal ram disk use by System Repair:

  8. Now you need to find your system drive. Depending on how your system is setup, this could be either C:, D: or E: and so on..
    1. Type C: and press <ENTER>.
    2. Verify that this is your system drive by typing
      DIR

      and pressing <ENTER>. If you see the Program Files, Users and Windows folders, then you have found your system drive, and can continue to step 9 below.

    3. If the drive is not your system drive, repeat steps I and II above, changing the drive letter to D, E or some other letter until the system drive is located.
  9. When you have located your Windows system drive, type
    CD \windows\system32\config

    and press <ENTER>:

     

  10. Type
    DIR

    and press <ENTER>, and verify that the following files and folders exist in the config folder:

    1. RegBack (which is a folder)
    2. DEFAULT
    3. SAM
    4. SECURITY
    5. SOFTWARE
    6. SYSTEM
  11. Type
    MD mybackup

    and press <ENTER> to create a backup folder that you can use incase this procedure does not work as expected.

     

  12. Type
    copy *.* mybackup

    and press <ENTER>.

    1. If you are prompted to overwrite existing files, press
      A

      to allow all backups to be overwritten.

       

  13. Now you need to check if you can use the automatic Windows backups to restore your registry:
    1. Type
      CD RegBack

      and press <ENTER> to go to the RegBack folder.

    2. Type
      DIR

      and press <ENTER> to view the contents of the folder. All the following files must exist:

      • The DEFAULT, SAM and SECURITY files should each be about 262,000 bytes in size.
      • The SOFTWARE file should be about 26,000,000 bytes.
      • The SYSTEM file should be about 9,900,000 bytes.
      • The file sizes presented here are approximate estimations, and may vary depending on your system. If any one of them are 0 bytes, then you should stop what you’re doing now and seek an alternative method of recovering your system, because Windows cannot function with a 0-byte size registry hive.
    3. If the hive files listed in RegBack are ok, then proceed to step 14 of the tutorial.

  14. Type
    copy *.* ..

    and press <ENTER> to copy the backup hive files to \Windows\System32\config.

    1. If you are prompted to overwrite existing files, press
      A

      to allow all file to be overwritten.

       

  15. Type
    exit

    and press <ENTER> to close the command prompt.

  16. Click the Restart button to reboot your computer. If all goes well, your system will boot normally.

Post navigation