Repair
Windows 11 stuck in an Automatic Repair loop: how to fix it
"Preparing Automatic Repair", restart, repeat. Why it happens (often a dead battery mid-update), how to save your files, and the commands that fix it.
You turn the laptop on and get "Preparing Automatic Repair", then "Diagnosing your PC", then a restart, then the same thing again. Windows 11 is stuck in the Automatic Repair loop.
We fixed exactly this on a student's laptop this month. Windows was restarting to finish installing a program, the battery died halfway through, and from then on it would never start again.
Why it happens
When Windows installs updates or programs, it rewrites system and boot files. If power is cut in the middle, those files are left half-written. On the next boot Windows sees the damage, tries to fix it automatically, fails, and tries again on every boot.
Common triggers:
- Battery died or the power went off during an update or install (the most common one we see)
- A forced shutdown while it says "Working on updates"
- A failing SSD or hard drive
- A bad driver or update
First: protect your files
Don't reset or reinstall yet. Your files are usually still on the drive. Take them off first. You can copy them to a USB drive from the recovery screen itself:
- Plug in a USB drive.
- Go to Advanced options → Troubleshoot → Advanced options → Command Prompt.
- Type
notepadand press Enter. - In Notepad, open File → Open, set Files of type to All Files, and browse your drive. Right-click files or folders and Copy, then paste them onto the USB drive.
If the drive is badly damaged, the copy can fail or freeze. That's a sign to stop and get help before trying anything else.
1. Try the built-in repair tools
On the blue recovery screen, go to Advanced options → Troubleshoot → Advanced options and try these in order:
- Startup Repair: lets Windows try once more, from the menu
- Uninstall Updates: remove the latest quality update, then the latest feature update
- System Restore: go back to a restore point from before the problem started
Restart after each one and see if Windows boots.
2. Repair from the Command Prompt
Open Command Prompt from the same menu. In recovery, your Windows drive isn't always C:, so check first:
diskpart
list volume
exit
Look for the volume that has your Windows files, usually the largest NTFS one. The commands below assume it's C:. Swap in the right letter if it isn't.
chkdsk C: /f
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
DISM /Image:C:\ /Cleanup-Image /RestoreHealth
chkdskchecks the disk for errors and fixes themsfcreplaces corrupted system filesDISMrepairs the Windows image thatsfccopies from
If Windows still won't start, rebuild the boot files:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
On newer UEFI laptops, bootrec /fixboot can say Access is denied. In that case use this instead:
bcdboot C:\Windows
3. Last resort: clean install
If the loop keeps coming back after all of that, the damage is too deep to patch. On the student's laptop, the loop came back even after the repairs, so with their go-ahead we wiped the drive and did a clean install of Windows 11 from a bootable USB, then installed drivers and updates.
A clean install erases everything on the drive. Only do it once your files are safe, or you've accepted that they can't be saved.
You'll need a Windows 11 installer USB of at least 8 GB, made with Microsoft's Media Creation Tool. Or use our ready-made Bootable Installer Drive.
How to avoid it next time
- Keep the charger plugged in during updates and big installs.
- Never force a shutdown while it says "Working on updates", even if it looks stuck.
- Back up important files to Google Drive, OneDrive or an external drive.
- Make a recovery USB now, while Windows works: search "Create a recovery drive" in Start.
Getting a blue screen instead of the loop? See CRITICAL_PROCESS_DIED: what it means and how to fix it.
Want it fixed, or want to learn it?
If you'd rather not risk your files, send us a photo and the story and we'll give you a clear quote before touching anything.
IT student? Book a Tech Tutoring session or add a learn-along to your repair, and we'll walk you through every step on your own machine.