Startup Repair · Windows 11
Fix a PC stuck in the 'Preparing automatic repair' loop
'Preparing automatic repair' followed by a restart, over and over, means Windows cannot finish starting and its own repair is not clearing the cause. Work inside the recovery environment in order: Startup Repair once, then the last update, then a restore point.
What you need
- The charger plugged in on a laptop. Recovery work interrupted by a flat battery can leave the PC in a worse state than the loop.
- Your account password. The recovery environment often asks for the password of an administrator account before it opens its tools, and a PIN may not be accepted there.
- A second device. Useful for reading these steps while the PC sits on a recovery screen.
Read the problem before you touch it
- Know what the loop means. After two failed starts, Windows loads its recovery environment and offers automatic repair. When the underlying cause survives the repair — a bad update, a damaged system file, a failing drive — the next start fails the same way and the cycle repeats. The loop is a symptom; the job is to remove the cause from inside recovery.
- Note where the cycle stops. Some PCs reach a blue recovery screen with options; others restart before any menu appears. If you get the menu, you have everything you need. If the PC restarts before the menu, use the forced-recovery step below to land on it.
- Think back to the last change. An update installed the night before, a new driver, or a hard power cut during an update are the usual triggers. The order below assumes an update first, because it is the most common and the easiest to reverse.
The simple fixes, in order
- Get to the recovery menu. If no menu appears on its own, turn the PC on and hold the power button to force it off as Windows starts to load; repeat this twice. On the third start Windows should open the recovery environment. Microsoft covers this route in Recovery options in Windows. Choose Troubleshoot > Advanced options.
- Run Startup Repair once. Choose Startup Repair and let it finish. It checks the boot files and startup configuration and fixes the straightforward problems. Run it once only — if it reports it could not repair the PC, repeating it rarely changes the result.
- Uninstall the latest update. Back in Advanced options, choose Uninstall Updates and remove the latest quality update first. If the loop started right after a feature update, uninstall that instead. Your files are not touched, and a loop that began with an update usually ends here.
- Restart and give it a clean start. Choose Continue from the recovery menu, or restart from Advanced options, and let Windows load without touching anything. A first start after an update removal can be slow; give it several minutes before calling it a loop again.
The advanced route
- Use System Restore from recovery. In Advanced options, choose System Restore and pick a restore point dated before the loop began. This returns system files, drivers, and settings to that earlier state and leaves personal files alone. Microsoft lists System Restore among the Recovery options in Windows.
- Try Safe Mode to remove a suspect driver. Choose Startup Settings > Restart, then press the number for Safe Mode. If Windows holds in Safe Mode, the cause is likely a driver or startup item: uninstall the most recently added driver in Device Manager, then restart normally. Microsoft describes the mode in Start your PC in safe mode in Windows.
- Repair the system files from a prompt. In Advanced options, open Command Prompt. The recovery prompt is not running the installed Windows, so repair its image first, then its files: run
DISM /Image:C:\ /Cleanup-Image /RestoreHealth, thensfc /scannow /offbootdir=C:\ /offwindir=C:\Windows, then restart. The drive letter can differ in the recovery environment — if C: does not hold the Windows folder, try D: in both commands. Once Windows loads normally, follow up from an admin terminal withDISM /Online /Cleanup-Image /RestoreHealthand a secondsfc /scannow. Microsoft documents both tools in Using System File Checker in Windows. - Check the drive if the loop returns. A drive that is starting to fail can corrupt the same files repeatedly. From the recovery Command Prompt, run
chkdsk C: /fand read the summary: a growing count of bad sectors means the drive, not Windows, is the problem, and files should be copied off it before anything else.
End state
- The PC reaches the sign-in screen and then the desktop on a normal start, twice in a row.
- No 'Preparing automatic repair' screen appears outside a genuine failed start.
- Windows Update shows a clear status, and the removed update is either reinstalled cleanly or left pending with its error noted.
When it goes wrong
- Startup Repair says it could not repair the PC. Do not run it again. Move to Uninstall Updates, then System Restore — removing the change that broke startup is stronger than repeating the repair.
- There is no restore point. Skip System Restore and lean on the update removal and file repair steps. If none of them hold, a reset that keeps files is the remaining recovery option.
- The loop returns a day or two later. The same update is reinstalling and failing again. Pause updates in Settings once Windows loads, note the update's error code under Troubleshoot problems updating Windows, and deal with that update specifically.
- The drive check reports bad sectors. Stop repairing Windows. Copy personal files off the drive first; a failing drive makes every software fix temporary.
Related fixes
-
Fix a PC stuck in a boot loop
A PC that restarts at the same point every cycle is usually caught by a bad update, a failing drive, or broken boot settings, not a full reset. Separate the three causes in the recovery environment first, then repair the one you find.
-
Fix Windows Update error 0x8024a203 or a stuck 'checking for updates' spinner
Windows Update sitting on checking for updates, or failing with error 0x8024a203, usually means a stuck update service or a damaged download cache rather than a broken update. Restart the services first, clear the cache next, and repair the system files only if the spinner survives both.
-
Fix a feature update stuck at a fixed percentage for a full day
A feature update can legitimately sit at one percentage for hours, but a full day at the same number means the download or the install has stalled, not that it is still working. Read which stage the percentage belongs to first, then restart the update services for a stalled download or clear the way for a stalled install.
-
Fix a PC stuck on 'Getting Windows ready' for hours
A screen that says 'Getting Windows ready' for a short while is normal after an update. The same screen for many hours, with no progress and no disk activity, usually means the update has stalled. Wait the right amount of time first, then use the recovery route instead of guessing.
Sources
- Microsoft Support, Recovery options in Windows — the recovery options, including Startup Repair, System Restore, and advanced startup.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.
- Microsoft Support, Start your PC in safe mode in Windows — what Safe Mode loads, its variants, and the standard ways in and out of it.
- Microsoft Support, Troubleshoot problems updating Windows — the Windows Update troubleshooter and the standard checks for updates that fail to install.