If Windows 10 or 11 is stuck in an Automatic Repair loop, the fastest fix is to boot from a USB recovery drive and run Startup Repair from the command prompt, or use the sfc /scannow and DISM commands to repair corrupted system files. This usually resolves the issue in 10–20 minutes without reinstalling Windows. Below are the exact steps, plus what to try if the first fix doesn’t work.
Why the Loop Happens
The Automatic Repair loop occurs when Windows fails to boot normally three times in a row. The system then enters the Windows Recovery Environment (WinRE) and attempts to diagnose and fix the problem automatically. If the underlying issue isn’t something Startup Repair can handle—like a corrupted boot configuration, a failed driver update, or a damaged system file—the repair process itself fails, and the PC restarts back into the same loop.
Common triggers include:
- Interrupted Windows updates (power loss or forced shutdown during installation)
- Corrupted system files from a crash or malware
- Bad sectors on the hard drive or SSD
- A recently installed driver or app that conflicts with boot
- Incorrect boot order or a disconnected drive
Understanding the cause matters because the fix that works for one person may not work for another. The steps below go from least invasive to more thorough, so you can stop as soon as your PC boots again.
Before You Start: Prepare a Recovery Drive
If your PC is stuck in the loop, you’ll likely need a way to access the Advanced Startup Options menu. If you can still get to the blue “Automatic Repair” screen, you can click Advanced options and then Troubleshoot. If not, you’ll need a bootable USB drive with Windows installation media.
- On another working PC, go to Microsoft’s software download page and download the Media Creation Tool.
- Run the tool, choose “Create installation media for another PC,” and select a USB drive with at least 8 GB of space.
- Insert the USB into the stuck PC and boot from it (press F12, Esc, F2, or Del during startup to choose the boot device).
- On the first screen, select your language, then click Repair your computer at the bottom-left instead of “Install now.”
This gives you full access to the Troubleshoot menu, which is where all the fixes below live.
Fix 1: Run Startup Repair (Quickest)
Startup Repair is Windows’ built-in tool for fixing boot problems. It scans for common issues like missing boot files or a corrupted Boot Configuration Data (BCD).
- From the Troubleshoot screen, go to Advanced options → Startup Repair.
- Select your user account and enter the password if prompted.
- Windows will run diagnostics and attempt to fix the problem automatically. This can take 5–15 minutes.
- If it says it couldn’t repair your PC, click Advanced options again and try the next fix.
Startup Repair works best for missing or corrupted boot files. If the issue is deeper—like a corrupted system file that isn’t part of the boot process—it may not help.
Fix 2: Use Command Prompt to Repair System Files
If Startup Repair fails, the most effective method is to manually run the System File Checker (SFC) and Deployment Imaging Service and Management Tool (DISM) from the command prompt. These tools scan and restore corrupted Windows files.
- From the Troubleshoot screen, go to Advanced options → Command Prompt.
- Type
sfc /scannowand press Enter. Wait for the scan to complete (it can take 20–30 minutes). - If SFC finds errors but can’t fix them, run
DISM /Online /Cleanup-Image /RestoreHealth. This uses Windows Update to download healthy files. If you don’t have internet, useDISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess(you’ll need a Windows ISO or recovery drive as the source). - After DISM finishes, run
sfc /scannowagain to fix any remaining files. - Type
exitand restart your PC.
This two-step process resolves the vast majority of loop issues caused by file corruption. It’s the same repair that Microsoft Support uses for these cases.
Fix 3: Rebuild the Boot Configuration Data (BCD)
If the BCD (which tells Windows how to start) is corrupted, neither SFC nor Startup Repair may fix it. Rebuilding it manually is more advanced but very effective.
- Open Command Prompt as above.
- Type
bootrec /fixmbrand press Enter. - Type
bootrec /fixbootand press Enter. If you get an “Access denied” error, skip to step 5. - Type
bootrec /scanosand press Enter. - Type
bootrec /rebuildbcdand press Enter. When prompted to add the installation, typeYand press Enter. - Exit and restart.
If bootrec /fixboot fails, you may need to format the system partition first. Type diskpart, then list volume to find the partition labeled “System” (usually 100–500 MB). Note its drive letter (e.g., E:). Type exit, then run format E: /FS:NTFS (replace E: with your actual letter). Then run bootrec /fixboot again.
Fix 4: Disable Automatic Repair (Temporary)
Sometimes the loop is triggered by a minor issue that Windows could boot past if it didn’t keep trying to repair. You can disable Automatic Repair to force a normal boot, which can break the cycle.
- Open Command Prompt from Advanced options.
- Type
bcdedit /set recoveryenabled Noand press Enter. - Type
bcdedit /set {current} bootstatuspolicy ignoreallfailuresand press Enter. - Exit and restart.
If Windows boots normally, you can re-enable Automatic Repair later with bcdedit /set recoveryenabled Yes. This is a workaround, not a permanent fix—if the underlying issue persists, the loop may return after the next failed boot.
Fix 5: System Restore or Reset
If none of the above works, you can try System Restore (which rolls back recent system changes) or a full reset (which reinstalls Windows while keeping or removing your files).
- System Restore: From Troubleshoot → Advanced options → System Restore. Choose a restore point from before the problem started. This works if you have restore points enabled.
- Reset this PC: From Troubleshoot → Reset this PC. Choose “Keep my files” to preserve personal data (but it removes installed apps) or “Remove everything” for a clean slate. This is the most thorough fix and almost always resolves the loop, but it takes 30–60 minutes.
If you have important files and haven’t backed them up, try “Keep my files” first. You can also boot from a Linux live USB to copy files off the drive before resetting.
Frequently Asked Questions
Will I lose my files if I run these fixes?
Startup Repair, SFC, DISM, and BCD rebuild do not touch your personal files. System Restore also preserves your files. Only “Reset this PC” with “Remove everything” deletes files, so back up first if you choose that option.
Why does Windows keep saying “Automatic Repair couldn’t repair your PC”?
This message appears when Startup Repair can’t identify or fix the issue automatically. It’s not a dead end—it just means you need to use the manual methods (SFC/DISM or BCD rebuild) described above.
Can a hardware problem cause the loop?
Yes. A failing hard drive or SSD, faulty RAM, or a loose cable can cause boot failures that trigger Automatic Repair. If software fixes don’t work, run a hardware diagnostic (most PCs have built-in tests accessible via F12 or Esc at startup) or test the drive on another computer.
How long does each fix take?
Startup Repair takes 5–15 minutes. SFC/DISM can take 20–40 minutes. BCD rebuild takes under 10 minutes. Reset takes 30–60 minutes. The total time depends on which fix actually works.
Is it safe to disable Automatic Repair?
Yes, it’s safe temporarily. It only stops Windows from automatically entering the repair screen after a failed boot. You can re-enable it with a single command. However, if you disable it and the PC still won’t boot, you’ll see a black screen with errors instead of the repair menu—so only do this if you have a recovery USB ready.
What if I don’t have a recovery USB?
You can create one from another PC using the Media Creation Tool. If you don’t have access to another PC, try pressing F11 or Shift+Restart (if you can get to the login screen) to enter WinRE. Some PCs also have a hidden recovery partition that can be accessed via a specific key at startup (check your manufacturer’s manual).
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
- Custom Alphanumeric Passcode iPhone: How to Set
- HomePod Software Update: How to Install
- How to Shuffle Photos in Slideshow on iPhone
- Quick Look Not Working on Mac? Fixes That Work
- How to See Deleted WhatsApp Messages on iPhone
- QUIC Protocol Error in Windows 10: Fixes