Windows 10 Automatic Repair Loop: 7 Fixes That Work
In this article
If your Windows 10 PC keeps restarting into the blue "Automatic Repair" screen instead of booting to the desktop, you're stuck in the automatic repair loop. This usually happens when Windows detects a startup problem but fails to fix it, then restarts and repeats the cycle. The good news: you can break the loop by booting to the Windows Recovery Environment (WinRE) and using built-in tools like Startup Repair, Command Prompt, or System Restore. Below are the steps that work for most users, ordered from easiest to most advanced. You'll need a Windows 10 installation USB or recovery drive if the built-in options fail.
What You'll Need
- A working Windows 10 PC to create a bootable USB (optional, but recommended if the automatic repair options don't work).
- A USB flash drive with at least 8GB of space (for the installation media).
- Another computer with internet access to download the Windows 10 Media Creation Tool (if you need to create a USB).
- Your BitLocker recovery key if you use BitLocker encryption (you may be prompted for it during recovery).
Step-by-Step
- Force shutdown and boot to Recovery Environment. Press and hold the power button for 10 seconds to turn off the PC. Turn it on, and as soon as the Windows logo appears, press and hold the power button again to force shutdown. Repeat this 2–3 times. On the next boot, Windows should display "Preparing Automatic Repair" and then take you to the blue recovery screen. If it doesn't, skip to Step 6.
- Choose "Advanced options" on the recovery screen. On the blue screen, click "Advanced options" (not "Restart" or "Shut down").
- Select "Troubleshoot". This opens the advanced troubleshooting menu.
- Click "Advanced options" again. You'll see several tools: Startup Repair, Startup Settings, Command Prompt, System Restore, and more.
- Run Startup Repair. Click "Startup Repair" and select your user account if prompted. Enter your password and click "Continue". Windows will scan for problems and attempt to fix them. This may take 10–30 minutes. If it says "Startup Repair couldn't repair your PC", don't panic—move to the next step.
- If Startup Repair fails, use System Restore. Go back to the same Advanced options menu, click "System Restore", select your account, and choose a restore point from before the loop started. Follow the prompts. This keeps your personal files but removes recently installed apps and driver updates.
- If System Restore isn't available or fails, use Command Prompt. From the Advanced options menu, click "Command Prompt". This opens a black window. Type the following commands one at a time, pressing Enter after each:
bootrec /fixmbrbootrec /fixbootbootrec /scanosbootrec /rebuildbcd
When prompted for "Add installation to boot list?", typeYand press Enter. Then typeexitand press Enter to close. Restart your PC normally. - If the loop persists, create a Windows 10 installation USB. On another PC, go to the official Microsoft software download page, download the Media Creation Tool, and run it. Choose "Create installation media (USB flash drive)" and follow the prompts. Insert the USB into your stuck PC.
- Boot from the USB. Restart the PC and press the boot menu key (usually F12, F10, or Esc, depending on your motherboard—watch for the prompt on screen). Select the USB drive from the boot menu. If you see "Press any key to boot from CD or DVD", press any key.
- Choose "Repair your computer" on the installer screen. After the Windows setup loads, click "Next", then click "Repair your computer" in the bottom-left corner. This takes you to the same Advanced options menu.
- Run Startup Repair again from the USB. This time, Windows can access the recovery tools without relying on the corrupted system files. If it still fails, try the Command Prompt method from Step 7 again, but this time also run
sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealth(these check and repair system files). - As a last resort, reset your PC. In the Advanced options menu, choose "Reset this PC". You can choose "Keep my files" to preserve personal data, but it will remove installed apps and settings. If the loop is severe, you may need "Remove everything". This will reinstall Windows and should break the loop.
Common Mistakes
- Not forcing shutdown properly. If you don't interrupt the boot process 2–3 times, the PC may just boot normally (or keep looping) without showing the recovery screen.
- Skipping Startup Repair. Some users go straight to Command Prompt and miss the simpler fix. Always try Startup Repair first.
- Running commands in the wrong order. The bootrec commands must be run in the order listed. Running them out of order can cause additional boot issues.
- Not having a backup. If you choose "Reset this PC" and select "Remove everything", you'll lose all data on the system drive. Always back up important files before attempting recovery, if possible.
- Using a pirated or unofficial Windows ISO. Only use the official Media Creation Tool from Microsoft. Unofficial downloads may not work with recovery tools.
Tips
- Keep your BitLocker recovery key handy. If you use BitLocker, you'll be asked for the key during any recovery process. Without it, you can't access your drives.
- Create a system repair disc or USB now. Even if you fix the loop, making a recovery drive ahead of time can save you later. Search "Create a recovery drive" in Windows and follow the prompts.
- Unplug external devices. Before starting recovery, remove non-essential USB drives, printers, and external hard drives. They can interfere with the boot process.
- Check your hard drive health. A failing hard drive can cause boot loops. After you recover, run
chkdsk /f /rfrom an admin Command Prompt to check for errors. - Disable automatic restart on failure. If you can get to the Advanced options, go to "Startup Settings" and click "Restart". Then press F8 or the number key for "Disable automatic restart on system failure" to see the actual error code (like INACCESSIBLE_BOOT_DEVICE). This can help you diagnose the root cause.
Troubleshooting
If the steps above don't break the loop, here's what to try next:
- If Startup Repair repeatedly fails: Try running it 2–3 times. Sometimes it needs multiple passes to fix corrupted system files. If it still fails, move to the Command Prompt method and run
sfc /scannowandDISMas described in Step 11. - If System Restore shows no restore points: This can happen if system protection was disabled. In that case, skip to the Command Prompt method or the USB repair.
- If the bootrec commands give errors: For example, "Access is denied" when running
bootrec /fixboot—this is common on UEFI systems. Try runningbootsect /nt60 sysfrom the Command Prompt, then restart. - If the PC still won't boot after all software fixes: The issue may be hardware-related (faulty RAM, failing hard drive, or corrupted SSD). Use the Windows Memory Diagnostic (available in the Advanced options under "Windows Memory Diagnostic") to test RAM. If the hard drive is failing, you may need to replace it.
- If you can't boot from the USB: Check that the USB is formatted correctly (FAT32 for UEFI) and that Secure Boot is disabled in BIOS/UEFI settings. Enter BIOS by pressing Del, F2, or F10 during startup, then look for "Boot Order" or "Boot Priority".
- If Reset this PC fails: You may need to perform a clean install of Windows from the USB. This erases everything on the system drive. Back up what you can first (if possible, by booting from a Linux live USB and copying files to an external drive).
Frequently Asked Questions
Will I lose my files if I run Startup Repair?
No. Startup Repair only attempts to fix boot-related system files. It does not touch your personal files, documents, or photos. However, it's always wise to have a backup in case something goes wrong.
How long does Startup Repair take?
It can take anywhere from 5 to 30 minutes. If it's stuck on the spinning dots for over 30 minutes, you may need to force shutdown and try a different method.
Can I use System Restore if I don't have a restore point?
No. System Restore requires a restore point that was created earlier. If none exist, the option will be greyed out. You'll need to use other recovery methods.
What does "bootrec /rebuildbcd" do?
It scans your system for Windows installations and rebuilds the Boot Configuration Data (BCD) store. This is often the fix for corrupted boot configuration files.
Is the automatic repair loop caused by a virus?
It can be, but more often it's caused by corrupted system files, a failed Windows update, or a faulty driver. Malware can also damage boot files, so after recovery, run a full antivirus scan.
Can I fix the loop without a USB drive?
Yes, if you can access the Advanced options from the recovery screen. The steps for Startup Repair, System Restore, and Command Prompt don't require a USB. Only if those fail do you need a USB to boot from.