The Automatic Repair loop is Windows trying to be helpful and failing at it: something prevents booting, the repair tool runs, it can’t fix the problem, the laptop reboots, and the whole cycle repeats. It’s alarming, but your files are usually untouched — this is a boot plumbing problem, not a dead drive.
Every fix below runs from the blue Advanced options screen that the loop eventually shows you (or that you reach by interrupting startup three times).
Why this happens
- Corrupted Boot Configuration Data (BCD). The bootloader’s instructions are damaged, so Windows can’t find itself.
- Failed or interrupted Windows update. A half-applied update leaves boot files in an inconsistent state.
- Disk errors on the system partition. Bad sectors in critical boot areas defeat both booting and repair.
- Corrupted system files. Damage to core Windows files that the automated repair can’t replace on its own.
- New hardware or BIOS changes. Storage mode switches or new drives confuse the boot sequence.
- Malware damage to the boot sector. Less common now, but boot-sector infections still cause this on unprotected systems.
How to fix it
Work through these in order — start with Fix 1 and stop when Windows boots.
Fix 1: Break the loop and boot into Safe Mode
First, get control back.
- On the Automatic Repair screen, click Advanced options > Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 for Safe Mode (or 5 for Safe Mode with Networking).
- If Windows boots in Safe Mode, the core system is intact — a driver or startup program is likely the trigger.
- In Safe Mode, open Device Manager and roll back any recently updated driver, then restart normally.
- If Safe Mode also fails, continue with the repair steps below.
Fix 2: Run Startup Repair properly once
Give the automated tool one clean shot before going manual.
- Go to Troubleshoot > Advanced options > Startup Repair.
- Let it run to completion without interrupting — it can take 15+ minutes.
- If it reports it couldn’t repair, click Advanced options (not Shut down) to stay in the recovery environment.
- Note any log file mentioned (often
SrtTrail.txt) — it confirms the automated path is exhausted. - Move on to manual boot repair.
Fix 3: Rebuild the BCD and boot records
This fixes the majority of repair loops.
- Open Troubleshoot > Advanced options > Command Prompt.
- Run these commands in order:
bootrec /fixmbrbootrec /fixbootbootrec /scanosbootrec /rebuildbcd - If
fixbootreturns “Access denied,” run these instead:diskpart, thenlist volume, note the EFI partition,select volume N,assign letter=Z:,exit, thenbcdboot C:\Windows /s Z: /f UEFI. - Type
exitand choose Continue to restart. - If Windows boots, immediately run Windows Update and a full
sfc /scannowto stabilize things.
Fix 4: Run CHKDSK on the system drive
Disk errors defeat both booting and repair — fix the disk first.
- In the recovery Command Prompt, identify your Windows drive letter with
diskpart>list volume>exit(it’s often D: or E: in WinRE). - Run
chkdsk D: /f /r(using the correct letter) and let it finish — this can take over an hour on large drives. - If it finds and repairs many bad sectors, the drive may be failing — plan a replacement even if Windows boots.
- After CHKDSK, run
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows. - Restart and test. Brand-specific variants of this loop are covered for Lenovo , ASUS , and Dell laptops.
Fix 5: Uninstall the latest update
If the loop started after an update, remove it.
- Go to Troubleshoot > Advanced options > Uninstall Updates.
- Try Uninstall latest quality update first, then restart.
- If the loop persists, return and Uninstall latest feature update.
- Once booted, pause updates for a couple of weeks via Settings > Windows Update.
- Update your storage and chipset drivers from the manufacturer’s support page before unpausing.
Fix 6: Disable Automatic Repair and early-launch anti-malware
Stop the loop mechanism to see the real error underneath.
- In the recovery Command Prompt, run
bcdedit /set {default} recoveryenabled No. - Also try disabling early-launch protection:
bcdedit /set {default} disableelamdrivers yes. - Restart — Windows will now either boot or show the actual blue screen error instead of looping.
- If a specific stop code appears, troubleshoot that directly (for example, INACCESSIBLE_BOOT_DEVICE has its own fix path).
- Re-enable recovery later with
bcdedit /set {default} recoveryenabled Yesonce stable.
Fix 7: System Restore from the recovery environment
Roll back to before the problem started.
- Go to Troubleshoot > Advanced options > System Restore.
- Pick a restore point dated before the loop began.
- Let it complete — this affects system files and settings, not your personal files.
- Restart and test the boot.
- If no restore points exist, enable System Protection afterward (System Properties > System Protection) so you have this safety net next time.
Fix 8: Reset or clean-install Windows
The last resort when boot damage is beyond repair.
- First, back up files: in the recovery Command Prompt, use
robocopy D:\Users\YourName E:\Backup /E(adjust letters) to copy data to a USB drive. - Go to Troubleshoot > Reset this PC and try Keep my files first.
- If the reset fails, do a clean install from Windows 11 installation media created on another PC.
- During setup, delete the old system partitions only if you’re sure backups are complete.
- After installing, get drivers from the manufacturer before letting Windows Update run wild — guidance is on Microsoft’s Windows support hub .
Closing
The Automatic Repair loop looks like a dead laptop, but it’s usually a fixable boot-record or disk problem — Fixes 3 and 4 resolve most cases with files intact. The key discipline is working in order and backing up before the destructive steps. Once you’re booting again, turn on System Protection and keep a recovery USB handy; the next loop (if there ever is one) will be a ten-minute fix instead of a panic.
