Quick Fix Summary: Stuck in "Preparing Automatic Repair" Loop
Your PC won't move past the "Preparing Automatic Repair" screen? Force a shutdown three times in a row. Here's how: Press and hold the power button for about 10 seconds to kill the system. Do this twice more. On the third reboot, Windows should drop you into the Windows Recovery Environment (WinRE), where you can actually fix things instead of staring at a spinning circle.
What's Happening
Seeing "Preparing Automatic Repair" or "Diagnosing your PC"? That means Windows spotted something blocking a normal boot—usually corrupted or missing boot files. This handy feature first appeared in Windows 8 and stuck around in 10 and 11. Think of it as a first-aid kit for your PC. (Unfortunately, sometimes the kit itself breaks, leaving you staring at a blue or black screen of death instead of a working desktop.) Wikipedia
Step-by-Step Solution: Using Windows Installation Media for Repair
When the built-in repair fails, a bootable USB often saves the day. It skips your messed-up system files entirely and drops you into a clean environment where you can actually fix things.
- Grab a working PC and make installation media: Download Microsoft's official Media Creation Tool, then use it to build a bootable USB for your Windows version (10 or 11).
- Power down the broken PC: Completely shut off the computer that's stuck.
- Plug in the USB and boot from it: Insert the USB, power on the PC, and hammer the BIOS/UEFI key right away (usually F2, F11, Delete, or Esc). Try different keys if the first one doesn't work—manufacturers love to mix things up.
- Set the USB as the first boot device: In BIOS/UEFI, find the "Boot" tab. Look for "Boot Order" or "Boot Priority," move your USB to the top, save changes, and exit.
- Start Windows Setup: Your PC should now boot from the USB. Pick your language, time zone, and keyboard layout, then hit "Next."
- Skip installation and go straight to repair: On the setup screen, don't click "Install now." Instead, look for "Repair your computer" in the bottom-left corner.
- Dig into Advanced Options: From the Windows Recovery Environment menu, choose "Troubleshoot" → "Advanced options."
- Run Startup Repair: Select "Startup Repair" and let Windows have a go. On older systems like Windows 7, this might take 15–45 minutes. On Windows 10/11, a full scan can drag on even longer. Microsoft Support
If This Didn't Work
Sometimes the repair tool itself is overwhelmed. These tricks often break the deadlock.
- Turn off the automatic repair loop: If you can reach the Advanced Options menu—either through installation media or the force-shutdown trick—open "Command Prompt." Type
bcdedit /set {default} recoveryenabled Noand hit Enter. This disables automatic repair, which can free you from the loop and let you boot into Windows (if the underlying issue is minor). Restart after running the command. - Run DISM and SFC scans: From the same Command Prompt in Advanced Options, these tools hunt down and fix corrupted system files. First, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. (Expect to wait 15+ minutes—patience pays off.) After it finishes, typesfc /scannowand hit Enter. This scans and repairs Windows system files. They're your best bet for damaged core components. Microsoft Learn - Boot into Safe Mode: If you can squeeze past the repair screen, Safe Mode lets you remove recently installed software or driver conflicts. On older systems like Windows 7, mash F8 before the Windows logo appears. For Windows 10/11, go through Advanced Options: "Troubleshoot" → "Advanced options" → "Startup Settings" → "Restart," then pick Safe Mode from the list. Once inside, uninstall anything suspicious.
Prevention Tips
Good system hygiene beats emergency repairs every time.
- Back up regularly: The best defense isn't preventing the error—it's making sure you can recover if things go sideways. Regular backups protect your files if you ever need to reset or reinstall Windows.
- Update your drivers: Outdated or buggy drivers are a top cause of boot failures. Grab fresh versions directly from the manufacturer's site, especially for graphics, chipset, and storage drivers.
- Check your disk health: Run
chkdsk /f /rfrom an elevated Command Prompt every few months. It scans for bad sectors and fixes them before they crash your boot process. - Avoid hard shutdowns: Yanking the power cord might help troubleshooting, but it wrecks system files over time. Always shut down properly through the Start Menu.
- Run antivirus scans: Malware loves to corrupt boot files. Keep your antivirus updated and run full scans regularly.
Why does my computer keep saying preparing automatic repair?
That's the most common trigger for this loop. If your system can't find the files it needs to start Windows, it flips on automatic repair. Some users rebuild key parts of the system to fix it—here's how.
What do I do if my computer shows automatic repair?
Windows' official fix is simple: at the "Preparing Automatic Repair" window, hold the power button until the PC shuts down. Do this twice more. On the third restart, Windows should drop you into repair options.
How long does automatic repair take on Windows 10?
Don't interrupt it—just wait. After it finishes, type sfc /scannow and let that run to 100%. Both scans are essential for fixing deeper issues.
How long does it take for Windows to attempt repairs?
It's usually quick, but complex issues can stretch it out. If it's still running after 10 minutes, something's likely wrong.
How do I disable automatic repair loop?
bcdedit /set {default} recoveryenabled No, then restart.This single command disables the automatic repair loop. If the problem was minor, you might boot back into Windows afterward.
How do I stop the automatic repair loop in Windows 10?
- Open the Windows boot troubleshooting menu.
- Pick "See advanced repair options" → "Troubleshoot" → "Advanced options" → "Command Prompt."
- Type
bcdeditand press Enter. - Look at the values for
identifierandrecoveryenabled. If recovery is enabled, disable it with the command above.
What does automatic repair mean?
It's handy—until it gets stuck. Sometimes Windows can't fix the issue, leaving you with a blue or black screen instead of a working desktop.
Is there a Windows 11 coming out?
Microsoft staggered the rollout over several months, so not every eligible PC got it at once.
Why does Startup Repair take so long?
On Windows 7, expect 15–45 minutes. If it runs longer, something's broken—either the repair tool is frozen, or your system is too messed up to fix automatically.
How do I go into Safe Mode?
On Windows 10/11, you'll usually go through Advanced Options: "Troubleshoot" → "Advanced options" → "Startup Settings" → "Restart," then pick Safe Mode from the list. Release the key once the menu appears, then use arrow keys to select your Safe Mode option.
