How to Fix the Automatic Repair Loop in Windows 11
The Problem
Windows 11 keeps cycling through Preparing Automatic Repair → Diagnosing your PC → Automatic Repair couldn't repair your PC → restart → repeat. It can't fix itself and never reaches the desktop. The cause is usually corrupt boot configuration, damaged system files, or a bad update/driver.
Seeing a clean blue screen with INACCESSIBLE_BOOT_DEVICE instead? Use that fix. A black screen with no logo? See black screen on boot.
Quick Fixes (Try These First)
Disconnect Peripherals and Boot Once More
Unplug USB drives, external disks, and dongles, then power on. A removable drive in the boot order frequently traps the PC in this loop.
The Fix: Step-by-Step
Step 1: Get to Advanced Options
On the Automatic Repair couldn't repair your PC screen, click Advanced options. (If it never appears, force-shutdown at the logo three times to trigger it.)
Step 2: Uninstall the Latest Update
- Troubleshoot → Advanced options → Uninstall Updates.
- Choose Uninstall latest quality update and reboot.
Step 3: Run Startup Repair
Advanced options → Startup Repair. Let it complete fully even if it takes a while.
Step 4: Rebuild Boot Files and Scan Offline
Open Advanced options → Command Prompt and run:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
If bootrec /fixboot returns Access denied, run bcdboot C:\Windows instead. Then check the system files:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
chkdsk C: /f /r
Step 5: Disable Automatic Repair to Read the Real Error
Turning the loop off lets Windows show what's actually failing.
- In Command Prompt, run:
bcdedit /set {default} recoveryenabled No - Reboot. If Windows now boots (or shows a specific error you can act on), you can re-enable it later with
bcdedit /set {default} recoveryenabled Yes.
Step 6: Boot Safe Mode and Undo the Change
Advanced options → Startup Settings → Restart → press 5 (Safe Mode with Networking). From there, roll back a bad update or use System Restore.
Still Looping?
- If
chkdskreports bad sectors orbootreccan't find Windows, the drive may be failing—check drive health. - Last resort that keeps your files: reinstall Windows without losing data.
Related guides
How to Fix Windows 11 Stuck on the Loading Screen
Windows 11 stuck on the spinning dots or loading screen? Cut power-draining peripherals, disable fast startup, and use Startup Repair to boot again.
How to Fix Clipboard Not Working in Windows 11
Copy and paste broken, Clipboard History empty, or Win+V does nothing? Restart Clipboard, fix Remote Desktop conflicts, and reset clipboard services.
How to Fix Sleep and Hibernation Not Working in Windows 11
PC won't sleep, wakes instantly, or hibernate is missing? Fix power plans, wake timers, fast startup, and drivers that block sleep on Windows 11.
How to Fix Snipping Tool Not Working in Windows 11
Print Screen or Snipping Tool does nothing, screenshots are black, or Win+Shift+S fails? Reset the app, fix keyboard shortcuts, and repair capture permissions.
How to Fix the Microsoft Store Not Working on Windows 11
Microsoft Store won't open, won't download apps, or throws error 0x80131500? Reset the cache, re-register the Store, and fix the services behind it.