How to Fix Windows 10 Automatic Repair Loop
When your computer gets stuck displaying "Preparing Automatic Repair" or restarts continuously to the same blue recovery screen, your system is trapped in an automatic repair loop. This issue occurs when Windows detects that something interrupted normal startup but fails to resolve the underlying file, boot configuration, or hardware driver conflict on its own.
Rather than reinstalling your operating system immediately, you can resolve the boot failure using built-in Windows Recovery Environment (WinRE) utilities. Follow these proven diagnostic steps in order, starting with simple peripheral isolations before moving into command-line repairs and restore options.
Disconnect External Peripherals and Perform a Hard Reset
The simplest reason Windows fails to boot is an external device interfering with hardware detection during early initialization. Printers, external storage drives, USB hubs, webcams, and docking stations can cause the system firmware or startup drivers to stall, triggering an unnecessary repair cycle.
To rule this out, shut down your computer completely. Unplug every connected peripheral except your basic wired keyboard, mouse, and primary display monitor. If you are troubleshooting a desktop PC or a laptop with a removable power source, disconnect the power cable or battery, press and hold the physical power button for 30 seconds to drain residual electrical charge from the motherboard, and reconnect only the power cable. Turn the computer back on to see if Windows boots cleanly to the desktop.
Access Windows Recovery Environment (WinRE)
- Turn on your PC by pressing the power button.
- As soon as you see the computer manufacturer logo or the initial Windows loading dots, hold down the power button for 5 to 10 seconds until the system shuts off completely.
- Repeat this process twice. On the third restart, let the machine power up without touching the button.
Windows will display Preparing Automatic Repair followed by Diagnosing your PC, eventually presenting the Choose an option screen. From here, navigate to Troubleshoot > Advanced options to access recovery tools.
Repair Boot Configuration and Master Boot Record via Command Prompt
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
If the command bootrec /fixboot returns an "Access is denied" error, you may need to assign a drive letter to your hidden EFI system partition via diskpart to refresh the boot sector files. When bootrec /rebuildbcd asks if you want to add an identified Windows installation to the boot list, type Y and hit Enter. Close the window and select Continue to test the boot process.
Scan System Files and Disk Integrity with SFC and CHKDSK
dir C: and check if the Windows folder exists. If not, check D:. Assuming your Windows drive is assigned to C:, execute this command to repair bad disk sectors:
chkdsk C: /f /r
Allow the disk check to complete, which can take anywhere from twenty minutes to several hours depending on your storage type and capacity. Once finished, run the System File Checker offline repair by entering:
sfc /scannow /offbootdir=C:\ /offwindir=C:\windows
This command instructs SFC to replace corrupted Windows system files using verified local backup copies without needing active background services.
Disable Early Launch Anti-Malware Protection
- From the recovery menu, select Troubleshoot > Advanced options > Startup Settings.
- Click the Restart button located at the bottom-right corner.
- When your computer restarts, you will see a numbered list of startup choices. Press 8 or F8 on your keyboard to select Disable early launch anti-malware protection.
If your computer boots normally after making this choice, immediately update or temporarily uninstall third-party antivirus utilities and update your chipset and graphics drivers.
Roll Back Recent Updates or Use System Restore
The bottom line
An automatic repair loop in Windows 10 is usually the result of damaged boot pointers, corrupted system libraries, or driver conflicts rather than permanent hardware failure. Working methodically through peripheral disconnection, BCD rebuilding, and disk verification typically restores your computer to operating status without personal data loss. If none of these solutions succeed, creating a bootable USB installer to run a repair in-place or choosing "Reset this PC" with file retention will provide a clean foundation.
Frequently asked questions
What causes the Windows 10 automatic repair loop?
The loop is commonly triggered by corrupted Boot Configuration Data (BCD), bad sectors on the primary drive, incomplete Windows updates, damaged registry hives, or third-party antivirus drivers conflicting with startup processes.
Will fixing the automatic repair loop delete my files?
No. Standard troubleshooting steps like CHKDSK, SFC, bootrec commands, and System Restore keep your personal files intact. Only factory resets or clean partition reinstallations risk data loss.
What should I do if bootrec /fixboot returns 'Access is denied'?
This happens on modern UEFI systems when the EFI partition requires reinitialization. You can resolve it using the diskpart utility in Command Prompt to assign a drive letter to the EFI system volume and running the bcdboot command to regenerate the boot files.
How do I boot into Safe Mode from the automatic repair screen?
From the blue Automatic Repair screen, navigate to Troubleshoot > Advanced options > Startup Settings, click Restart, and press 4 or F4 to enable standard Safe Mode.



