How to Fix Windows Stuck in an Automatic Repair Loop
Published 2026-10-16 · Marion Remote Fix
Your Windows computer is stuck in a loop — it shows Preparing Automatic Repair or Attempting Repairs, then restarts and does the same thing again endlessly. You never reach the desktop. The screen may say Automatic Repair could not repair your PC or Your PC did not start correctly, but clicking Restart just puts you back in the loop. This is one of the most frustrating Windows problems because you cannot access your files or settings. Here is how to break out of the loop and get back to your desktop.
Wait for the repair to complete
Before trying any fix, make sure the repair is actually stuck and not just running slowly:
- Automatic Repair can legitimately take 15 to 30 minutes, especially on slower drives (HDD vs SSD). If you see a spinning animation or progress indicators, the repair may still be working
- Watch the hard drive activity light on your computer (usually a small LED on the front of desktops or the edge of laptops). If it is flickering, the repair is still reading and writing data — let it finish
- If the screen has said Preparing Automatic Repair for more than an hour with no drive activity, or if the computer has restarted into the repair screen three or more times, it is genuinely stuck. Proceed with the fixes below
Force a hard restart to reach the recovery menu
The first goal is to get to the Advanced options recovery menu instead of just looping:
- When you see the Preparing Automatic Repair or spinning dots screen, hold the power button for 10 seconds to force the computer off
- Turn it back on. When it starts to boot and you see the manufacturer logo or the spinning dots, hold the power button again for 10 seconds to force it off
- Repeat this three times. On the third forced shutdown, Windows should enter the Windows Recovery Environment (WinRE) and show a blue screen with Choose an option: Continue, Troubleshoot, or Turn off your PC
- Click Troubleshoot → Advanced options. This is where most of the fixes below start
Boot into Safe Mode
Safe Mode loads Windows with only essential drivers and services. If the repair loop is caused by a bad driver, a recently installed program, or a Windows update, Safe Mode often bypasses the problem:
- From Advanced options → Startup Settings → Restart
- After the restart, press 4 for Safe Mode or 5 for Safe Mode with Networking (choose 5 if you might need internet access to download drivers or updates)
- If Windows boots into Safe Mode successfully, the problem is likely a driver, software, or update conflict. From Safe Mode you can:
- Uninstall recently installed programs: Settings → Apps → sort by install date → uninstall the most recent ones
- Uninstall recent Windows updates: Settings → Windows Update → Update history → Uninstall updates → remove the most recent update
- Roll back a driver: Device Manager → right-click the suspect device → Properties → Driver → Roll Back Driver. Display and storage drivers are the most common culprits
- Disable startup programs: Task Manager → Startup tab → disable recently added entries
- After making changes in Safe Mode, restart normally. If Windows boots to the desktop, you have fixed the issue
- If Safe Mode itself does not load (the computer restarts or blue-screens before reaching it), the problem is deeper — continue with the command-line fixes below
Run Startup Repair from Advanced options
The manual Startup Repair sometimes works even when the automatic version loops:
- From Advanced options → Startup Repair
- Select your Windows installation if prompted. Let the repair run — it may take 15 to 20 minutes
- If it says Startup Repair could not repair your PC, click Advanced options to go back to the menu and try the next fix. The repair log is saved at
C:\Windows\System32\LogFiles\Srt\SrtTrail.txtand can reveal what specifically failed, but you need command-line access to read it
Repair the boot configuration with Command Prompt
Corrupted boot files are a common cause of the repair loop. You can rebuild them from the command line:
- From Advanced options → Command Prompt
- Run these commands one at a time:
bootrec /fixmbr— writes a new Master Boot Record to the system partitionbootrec /fixboot— writes a new boot sector. If this command returns Access is denied, runbootsect /nt60 sysfirst, then try againbootrec /rebuildbcd— scans for Windows installations and rebuilds the Boot Configuration Data. If it finds a Windows installation and asks Add installation to boot list?, type Y and press Enter
- After all three commands complete, type
exitand restart the computer - If rebuildbcd says Total identified Windows installations: 0, the Windows installation itself may be damaged. Try the system file repair commands in the next section
Repair system files from Command Prompt
Corrupted Windows system files can prevent normal booting:
- From Advanced options → Command Prompt
- First, identify your Windows drive letter. In the recovery environment, it may not be C:. Type
dir C:\Windows— if you see the Windows folder, your system drive is C:. If not, trydir D:\Windowsanddir E:\Windowsuntil you find it - Run
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows(replace C: with the correct drive letter if different). This scans and repairs system files offline - If sfc cannot repair everything, run
DISM /Image:C:\ /Cleanup-Image /RestoreHealth. Note: this offline DISM command requires the recovery environment to have internet access or a Windows installation media. If it fails, skip to the System Restore option - After repairs complete, type
exitand restart
Use System Restore
If a recent change caused the repair loop, System Restore can revert Windows to a working state:
- From Advanced options → System Restore
- Select a restore point from before the problem started. If you are not sure when the problem began, choose the oldest available restore point
- System Restore does not delete personal files (documents, photos, music) but it does uninstall programs and drivers that were added after the restore point was created
- If no restore points are available, System Restore was not enabled on this computer before the problem started. Skip to the next fix
Disable Automatic Repair
If Windows keeps entering the repair loop and the repair never succeeds, you can disable automatic repair to let Windows attempt a normal boot instead:
- From Advanced options → Command Prompt
- Run
bcdedit /set {default} recoveryenabled No - Type
exitand restart. Windows will now attempt to boot normally instead of entering the repair loop - If Windows boots successfully to the desktop, the underlying problem may have already been fixed but Automatic Repair was retriggering from an old error state
- If Windows still does not boot (blue screen, black screen, or freezing), the problem is real and not just a repair loop. Re-enable automatic repair by booting to Command Prompt again and running
bcdedit /set {default} recoveryenabled Yes
Uninstall the last Windows update
A bad Windows update is one of the most common triggers for the repair loop:
- From Advanced options → Uninstall Updates
- Choose Uninstall latest quality update first (these are monthly patches). If that does not fix it, try Uninstall latest feature update (these are major version updates that occur once or twice a year)
- The uninstall process takes 10 to 20 minutes and will restart the computer automatically
Check your drive health
A failing SSD or HDD can cause boot corruption that triggers the repair loop:
- From Advanced options → Command Prompt
- Run
chkdsk C: /f /r(use the correct drive letter). This checks for and repairs disk errors. On a large drive this can take an hour or more - After chkdsk completes, restart and see if Windows boots normally
- If chkdsk reports bad sectors or hardware errors, the drive is failing. Back up your data as soon as possible (you can access files from the Command Prompt using copy commands, or connect the drive to another computer) and replace the drive
Reset Windows as a last resort
If nothing else works, you can reset Windows while keeping your personal files:
- From Advanced options → go back to Troubleshoot → Reset this PC
- Choose Keep my files. This reinstalls Windows but preserves your documents, photos, and other personal files. All installed programs will be removed and settings will be reset to defaults
- If Keep my files fails, you may need to choose Remove everything — but first try to back up your files using the Command Prompt (copy them to a USB drive) so you do not lose them
- The reset process takes 30 to 90 minutes depending on your hardware. Do not turn off the computer during the reset
Remote startup repair help
If your computer is stuck in an Automatic Repair loop and you cannot resolve it, Marion Remote Fix can help once the computer is accessible — diagnosing boot configuration, repairing system files, and recovering data through a secure remote session.