Preparing Automatic Repair Loop on Windows 11: How to Fix it

Fix the Windows 11 automatic repair loop by running few commands

Reading time icon 9 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • The Windows 11 automatic repair loop appears in your operating system when it cannot boot properly.
  • This issue affects many brands, including HP, Acer, MSI and others.
  • The problem may also be caused by a virus attack, faulty peripheral devices, and missing drivers.
preparing automatic repair windows 11

Preparing Automatic Repair screen on Windows 11 appears if your PC doesn’t shut down properly.

When there is a problem with Windows, you are likely to receive an alert and your PC will restart. However, sometimes you might get stuck on restart loop in Windows 11.

It will then show a black screen. Automatic repair is a feature on your operating system that helps analyze issues preventing your device from booting correctly. 

What causes the Windows 11 automatic repair loop to occur?

There are a couple of reasons why the Windows 11 automatic repair loop occurs. The main one is because the operating system is unable to boot. This applies to Windows 10 users who are also stuck on an automatic repair loop.

It could also be because a malicious file in your device prevents you from accessing it. Faulty peripheral devices, a virus attack, and missing drivers for updated devices could also contribute to this menace.

However, this should not be a significant concern for you. We have provided detailed methods that will help you overcome this challenge.

Is my device stuck on an automatic repair loop?

There are a couple of tell-tale signs that you can use to tell whether your device is indeed stuck on the automatic repair loop. The error often occurs after a Windows update or when your device shuts down unexpectedly.

Some of the main characteristics include:

  • Your device will be stuck on a black screen displaying the Preparing Automatic Repair or Diagnosing your PC error message.
  • When Windows 11 indicates that it is Preparing Automatic Repair but instead results in a blank screen.
  • A blue screen can also characterize the error with a message indicating that Your PC did not start correctly or Automatic repair couldn’t repair your PC. When you click on the displayed Restart button, your device will reboot and end up in the automatic repair loop.

How do I get past the automatic repair loop?

  1. Remove problematic files
  2. Access the boot menu through the Command Prompt
  3. Boot in Safe Mode
  4. Reset your device
  5. Run the Windows Startup Repair
  6. Restore Windows Registry
  7. System Restore your device
  8. Hard Reboot Windows
  9. Disable Automatic Repair Tool
  10. Reinstall Windows

What can I do if I’m stuck in Preparing Automatic Repair loop on Windows 11?

1. Remove problematic files

  1. Run Command Prompt and type in the following commands:
    cd C:\Windows\System32\LogFiles\Srt SrtTrail.txt
  2. Key in the following commands and press Enter after entering each one:
    cd c:\windows\system32\drivers Delvsock.sys
  3. Then, restart your device and check whether the problem has been resolved.

2. Access the boot menu through the Command Prompt

  1. Press the Windows key + I buttons to open Settings.
  2. Click on Recovery.
  3. Press the Restart now button for Advanced Startup.Advanced startup Restart now Windows 11
  4. Select the Troubleshoot option and then open Advanced options.
  5. Select Command Prompt.
  6. Key in the following commands when the Command Prompt window pops up:
    bootrec.exe /rebuildbcd bootrec.exe /fixmbr bootrec.exe /fixboot

However, users are also advised to use the chkdsk command with bootrec.exe when faced with the automatic repair loop in Windows 11. This command diagnoses the metadata of the hard disk or errors, if any. 

  1. Execute the following commands to run chkdsk:
    chkdsk /r c chkdsk /r d
  2. Finally, restart your device and check whether the issue has been remedied.

4. Boot in Safe Mode

  1. Press the Windows + I keys to open Settings.
  2. Click on Recovery.
  3. Press the Restart now button for Advanced Startup.Advanced startup Restart now Windows 11
  4. Click on Troubleshoot, select the Advanced options, and click on Startup Settings on your Windows 11 PC.
  5. Select the option to Restart.
  6. When your PC restarts, choose the Enable Safe Mode with Networking option from the list. Your Windows 11 computer will start in Safe Mode.
  7. In Safe Mode, you may feel a driver issue in your software. In this case, visit the manufacturer’s website and install the updated driver.
  8. Then, press the Windows key and choose Command Prompt from the start menu, and type in the following command:
    DISM /Online /Cleanup-Image /restorehealth
  9. Windows 11 will begin restoring the health of your PC, which will take some time.
  10. Once this cleanup is done, restart your Windows 11 PC and install the driver you’ve just downloaded.

The System File Checker can only detect and correct the corrupted file system using the Windows 11 recovery image. However, the SFC command cannot diagnose the issue if corrupted files are in the replacement image.

In such a situation, you will need to use Deployment Image Servicing and Management to fix the Preparing Automatic Repair message on Windows 11.

5. Reset your device

  1. Use the Troubleshoot menu, and select Reset your PC displayed from the available options.
  2. This will automatically initiate the resetting process.
  3. Give the process some time, restart your device and check whether the problem is still there.

If the automatic repair loop constantly appears on your device, you might need to reset it. This helps you remove unwanted files from your drive.

3. Run the Windows Startup Repair

  1. Navigate to the Advanced option from the blue screen and press the Enter key.
  2. Press the Troubleshoot button and choose Advanced options.
  3. Choose the Startup Repair option.
  4. Wait for some time until the diagnosing process is complete.
  5. Restart the PC and try again.

However, this is an important step for your Windows system, thus, besides the above action, we strongly suggest a powerful repair tool.

6. Restore Windows Registry 

  1. Press the Windows key + I combination to open Settings.
  2. Select Update & Security.
  3. Click on the Recovery option, and under the Advanced startup section, select Restart now.
  4. Select Troubleshoot after the machine reboots, then Advanced options.
  5. Choose Command Prompt.
  6. In Command Prompt, enter your Windows drive letter, then hit Enter.
  7. Confirm that you’re in the correct drive:
    dir
  8. If the letter you entered in step 7 was incorrect, return to this step and correct it.
  9. Type the script below, then hit Enter to go to the System32 folder.
    cd d:\windows\system32
  10. Type the script below, then hit Enter to create a backup folder called configBak.
    mkdir configBak
  11. Copy and paste the script below, then hit Enter to back up the config folder.
    copy config configBak
  12. Type the script below, then hit Enter to enter the RegBack folder.
    cd config\RegBack
  13. Type the script below, then hit Enter to copy the data RegBack to config.
    copy *...*
  14. Confirm every operation by pressing Y and Enter.
  15. Close the Command Prompt window.

7. System Restore your device

  1. Click on Advanced options.
  2. Select the System Restore option from the menu.
  3. Follow the on-screen instruction and begin the Windows installation process.
  4. Now restart your PC and check whether the issue has been resolved.

If you are unable to boot Windows 11 on your device, it is recommended to boot your PC through the Windows installer DVD or USB drive. 

If you’re getting a blue screen on startup, you might be able to fix the problem by performing a System Restore.

Here’s what to do if System Restore did not complete successfully in Windows. Despite the guide touching Windows 10 devices, it also works on the latest OS.

8. Hard Reboot Windows

  1. Press and hold the computer’s Power button for a couple of seconds; your device will go off automatically.
  2. Unplug the power cable from the charging port or the central processing unit (CPU) if some lights are still on.
  3. Wait a minute and use the Power button to switch on the computer again.

This is one of the easiest and simplest methods that you can use to try and resolve the automatic repair loop issue on Windows 11. It is switching your device off and turning it back on again.

9. Disable the Automatic Repair Tool

  1. Open the Windows boot troubleshooting menu.
  2. Select Advanced repair options and choose Troubleshoot.
  3. Click on Advanced options and select the Command Prompt.
  4. Type the following command and press Enter: bcdedit
  5. Check the values for identifier and recoveryenabled. The identifier value should be set to default and recoveryenabled should be Yes.
  6. Then, key in the following command and press Enter:
    bcdedit /set {default} recoveryenabled no
  7. This will disable the automatic boot repair. If the command doesn’t work, try using this command as an alternative and press Enter
    bcdedit /set {current} recoveryenabled no
  8. Restart your device and check whether the problem has been resolved. 

This method can only work for you if your Windows is functioning correctly. Disabling allows you to boot your device without the automatic loop in Windows 11. 

You can also use this method to determine whether your Windows 11 has any problems.

10. Reinstall Windows

If the above methods have not worked, you will have to reinstall Windows 11 on your device. You can opt to reinstall it through the operating system. 

In this case, please select the option to reinstall Windows 11 from cloud download or restore it locally.

As you can see, there are a couple of plausible methods available that you can use to fix the automatic repair loop issue on your device.

Is it possible to disable Automatic Repair on Windows 11?

Solution 9 in this guide gives you the steps to disable the Automatic Repair tool on your Windows 11 PC.

Instead of fixing, the automatic repair tool puts your PC in a boot loop. So, when you disable it, you can check if the Repair tool was the culprit or not.

We have presented you with basic methods to accomplish more complex ones that could threaten your operating system. 

Which of the above fixes helped you bypass the automatic repair loop? Please share your thoughts with us in the comment section below.

More about the topics: Windows 11

User forum

1 messages