sodcalculator

10 Tech How-To

Fix Automatic Repair Loop Windows 10: Step-by-Step

Guide 10-42665 · Updated · Step by step

If your Windows 10 PC is stuck in the Automatic Repair loop, the fix usually involves booting into the Windows Recovery Environment and using command-line tools to repair the boot configuration or system files. This article explains exactly how to break the cycle, what causes it, and what to do when the standard fixes don’t work.

What Is the Automatic Repair Loop?

Automatic Repair is a Windows 10 startup feature that triggers after the system fails to boot normally two or three times. It attempts to diagnose and fix common startup problems, such as corrupted system files, bad drivers, or a damaged boot sector. When the repair itself fails, Windows restarts and tries again, creating an endless loop that prevents you from reaching the desktop.

The loop is distinct from a single failed repair. In a loop, you see the blue “Preparing Automatic Repairs” screen, then the “Diagnosing your PC” message, followed by either a successful repair or the “Automatic Repair couldn’t repair your PC” screen with options like Advanced options or Shut down. If you choose to restart, the cycle repeats.

Why Does the Loop Happen?

Several underlying issues can cause the loop, and knowing the cause helps you pick the right fix:

  • Corrupted or missing boot configuration data (BCD) – the file that tells Windows how to start.
  • Damaged system files – often from a failed update, improper shutdown, or disk errors.
  • Recently installed drivers or software – incompatible or buggy drivers can crash the boot process.
  • Faulty hardware – failing hard drive, bad RAM, or a dying SSD can prevent Windows from loading.
  • Malware or virus infection – some malware attacks the boot sector.
  • Pending Windows updates – a partially installed update can leave the system in an inconsistent state.

Step-by-Step: How to Break the Loop

Follow these steps in order. Most users will find a fix at step 3 or 4. If a step doesn’t work, move to the next one.

  1. Force a full shutdown. Press and hold the power button for 10 seconds until the PC turns off. Turn it back on. If it boots normally, the loop was temporary. If not, continue.
  2. Access the Recovery Environment. When the Automatic Repair screen appears, click Advanced options → Troubleshoot → Advanced options. If you don’t see the screen, you can force it by turning the PC off and on three times, letting it fail at the Windows logo each time.
  3. Run Startup Repair. In the Advanced options menu, select Startup Repair. Windows will scan and attempt to fix boot issues. This takes 5–15 minutes. If it reports that it couldn’t repair, go back to Advanced options.
  4. Use System Restore. From Advanced options, choose System Restore. Pick a restore point from before the problem started. This reverts system files and settings without touching your personal files. If no restore points exist, move on.
  5. Run Command Prompt fixes. Select Command Prompt from Advanced options. Then type the following commands one by one, pressing Enter after each:
    bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
    If you get an “Access is denied” error on /fixboot, type bootsect /nt60 sys and try again. After all commands complete, type exit and restart.
  6. Check disk and system files. In the same Command Prompt, run chkdsk /f /r C: (replace C: with your Windows drive letter if different). This scans for disk errors and can take a long time. Then run sfc /scannow to repair system files. Both commands require the drive to be accessible; if they fail, you may need to boot from a Windows installation USB.
  7. Disable Automatic Repair. If you can boot into Safe Mode (hold Shift while clicking Restart, or use the Advanced options → Startup Settings), open Command Prompt as administrator and type bcdedit /set recoveryenabled no. This prevents the repair from triggering, but it doesn’t fix the underlying issue—use it only as a temporary workaround.

What to Do If the Standard Fixes Fail

If you’ve tried all the above and still can’t boot, the problem is likely deeper—hardware failure or a severely corrupted system. Your options:

  • Create a Windows 10 installation USB on another computer using Microsoft’s Media Creation Tool. Boot from it and choose Repair your computer instead of Install. Then you can access the same Advanced options, but with a fresh copy of the boot files.
  • Reset this PC – from the installation USB, select Troubleshoot → Reset this PC. Choose Keep my files to reinstall Windows while preserving personal data (though installed apps will be removed). This often fixes the loop but takes time.
  • Test your hardware – if you suspect a failing drive, use the manufacturer’s diagnostic tool or try swapping RAM sticks. A failing SSD or HDD often causes boot loops that no software fix can resolve.

Common Mistakes and Misconceptions

One frequent misconception is that the loop means your hard drive is dead. In reality, many loops are caused by a simple BCD corruption that the bootrec /rebuildbcd command can fix. Another mistake is skipping the disk check (chkdsk)—a bad sector can cause the boot files to be unreadable, and without fixing the disk, the loop will return.

Another error is running sfc /scannow from the recovery environment without first mounting the system drive properly. The command may say it can’t find the system files. In that case, run sfc /scannow /offbootdir=C:" /offwindir=C:"Windows (adjusting paths as needed). Also, be careful when using bootrec /fixboot on UEFI systems—it sometimes fails, but the bootsect command above usually works.

How to Prevent Future Loops

Once you’ve fixed the loop, take steps to avoid a repeat:

  • Always shut down properly – avoid holding the power button unless necessary.
  • Keep Windows updated – but if an update causes the loop, uninstall it via Safe Mode.
  • Create regular restore points – so you can roll back system changes.
  • Back up your data – use File History or a third-party tool. A boot loop is often recoverable, but a dead drive is not.
  • Run disk health checks periodically – tools like CrystalDiskInfo (free) can warn you about a failing drive.

Frequently Asked Questions

Will I lose my files if I use System Restore?

No. System Restore only reverts system files, registry settings, and installed programs. Your personal documents, photos, and other files in user folders remain untouched. However, any programs installed after the restore point will be removed.

Why does Automatic Repair keep running even after I select “Restart”?

Because Windows detects that the previous boot failed, it automatically launches Automatic Repair again. This is by design. To break the loop, you must use one of the fixes above, or disable Automatic Repair temporarily with bcdedit /set recoveryenabled no.

Can I boot into Safe Mode from the Automatic Repair screen?

Yes. Click Advanced options → Troubleshoot → Advanced options → Startup Settings → Restart. After the PC restarts, press 4 or F4 to enter Safe Mode. From there, you can uninstall recent drivers or run system restore.

What if I don’t have a restore point?

If System Protection was disabled, no restore points exist. In that case, try the Command Prompt fixes, or use the Reset this PC option with “Keep my files.” If that fails, you may need to reinstall Windows from a USB drive, which will erase your installed programs but can keep personal files if you choose the right option.

Is the loop caused by a virus?

It’s possible, but not common. Boot-sector viruses are rare on modern Windows 10 systems. More often, the loop comes from a failed update or a corrupted driver. If you suspect malware, after you regain access, run a full antivirus scan with Windows Defender or a reputable third-party tool.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →