FixStartup and boot
Stuck in an Automatic Repair loop
- Applies to
- Windows 11 and Windows 10
- Difficulty
- Advanced
- Time
- About 90 min
- Risk
- Can remove data
- Reviewed
Quick answer
Unplug every accessory and let the PC start once more. If the loop continues, select Advanced options and try Startup Repair, Safe Mode, Uninstall Updates and System Restore, in that order, before you consider a reset.
Automatic Repair starts by itself after Windows fails to start properly a couple of times. A loop means it can't find or fix the cause on its own. Every fix below runs from the same recovery screen, so Windows doesn't need to start for you to try them. To reach the tools, select Advanced options on the Automatic Repair screen, then Troubleshoot.
Fix 1Unplug accessories and give it one clean start
A USB drive, memory card, dock or new device can confuse startup. A single interrupted start, such as a power cut, can also trigger Automatic Repair when nothing is really wrong. One clean start with nothing extra plugged in rules both out.
- Turn the PC off. On the Automatic Repair screen, select Shut down if you see it. Otherwise select Advanced options, then Turn off your PC.
- Unplug everything except the keyboard, mouse, main screen and power.
- Turn the PC on and wait. Diagnosing your PC can take a while, so let it finish rather than switching off.
Fixed? You can stop here. Still happening: go to Fix 2
Fix 2Run Startup Repair yourself
Running Startup Repair from the menu gives it a fresh attempt. It checks for damaged system files, incompatible drivers and a broken boot configuration (the small record that tells the PC where Windows is), and repairs what it can. It doesn't change your personal files.
- Select Advanced options, then Troubleshoot then
Advanced options then .Startup Repair - Choose your account and enter its password if asked.
- Wait for it to finish. If it says it couldn't repair your PC, continue with the next fix.
Fixed? You can stop here. Still happening: go to Fix 3
Fix 3Start in Safe Mode and remove what changed
Safe Mode starts Windows with only basic drivers and no startup apps. If it starts, Windows itself is working, and something added recently, such as a driver, security app or system utility, is the likely cause. Safe Mode lets you remove it.
- Go to Troubleshoot then
Advanced options then and select Restart.Startup Settings - When the list of options appears, press 4 or F4 for Safe Mode.
- If a driver was updated recently, right-click Start, select Device Manager (the list of every part Windows knows about), right-click that device, select Properties, open the Driver tab and select Roll Back Driver.
- If you installed an app just before the loop began, remove it from Settings then
Apps then (on Windows 10, Settings thenInstalled apps Apps then ).Apps & features - Restart normally from Start then
Power then .Restart
Some apps can't be uninstalled in Safe Mode. If that happens, use System Restore below instead. The Safe Mode guide has more detail.
Fixed? You can stop here. Still happening: go to Fix 4
Fix 4Uninstall the latest update
If the loop started right after Windows installed updates, removing the newest one often lets Windows start again. Your personal files aren't affected.
- Go to Troubleshoot then
Advanced options then .Uninstall Updates - Select Uninstall latest quality update (the regular monthly update). If the loop began after a big yearly upgrade, choose Uninstall latest feature update instead.
- Sign in if asked, confirm, and restart when it's done.
If this works, see uninstall an update that caused problems for what to do when Windows offers the update again.
Fixed? You can stop here. Still happening: go to Fix 5
Fix 5Check the drive and system files from Command Prompt
File system errors on the drive and damaged Windows system files are common reasons Automatic Repair gives up. Check Disk (chkdsk) finds and repairs file system errors, and System File Checker (sfc) replaces damaged Windows files with good copies. Both work from the recovery screen.
- Go to Troubleshoot then
Advanced options then . Choose your account and sign in, or enter your recovery key if asked.Command Prompt - On the recovery screen, Windows isn't always on drive C:. To check, type this and press Enter:
If the list includes Program Files, Users and Windows, C: is the right drive. If not, try
dir C:\How do I open Command Prompt?
Select Start, type cmd, then select Command Prompt.
dir D:\and use that letter in the next two commands. - Check and repair the file system. This can take from a few minutes to over an hour:
A good result ends with "Windows has scanned the file system and found no problems" or "Windows has made corrections to the file system".
chkdsk C: /f - Repair Windows system files:
A good result is "Windows Resource Protection did not find any integrity violations" or "Windows Resource Protection found corrupt files and successfully repaired them".
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows - Close the window and select Continue to try starting Windows.
Fixed? You can stop here. Still happening: go to Fix 6
Fix 6Go back with System Restore
A restore point is a snapshot of Windows' system files, settings, drivers and installed apps. Restoring one from before the loop began undoes whatever broke startup without touching your documents, photos or other personal files. It only helps if your PC was making restore points.
- Go to Troubleshoot then
Advanced options then and sign in if asked.System Restore - Select Next, pick a restore point from before the problem (select Show more restore points for older ones), then select Next and Finish.
- Leave the PC alone until it restarts. If the list is empty, skip to the last fix.
Fixed? You can stop here. Still happening: go to Fix 7
Fix 7Reset this PC and keep your files
If nothing else works, reinstalling Windows replaces every system file and the whole startup setup. Keep my files keeps the personal files in your user folders but removes your apps and settings.
- Select Troubleshoot then
Reset this PC then .Keep my files - Choose Cloud download (a fresh copy from Microsoft; needs internet) or Local reinstall (uses files already on the PC).
- Check the summary, select Reset, and keep the PC plugged in until you reach the sign-in screen.
See the Reset this PC guide for what to expect afterward.
Fixed? You can stop here. Still happening: what to do next
If none of these worked
Stop here rather than trying riskier changes. These are the right places to go next:
- Microsoft SupportOfficial help for Windows, including the Get Help app built into Windows.
- Your PC maker's support siteFor hardware faults, drivers and warranty repairs. Find your model in Settings then
System then , then type the maker's web address yourself.About - A local repair shop you can visitFor hardware faults such as a failing drive, screen or battery.
Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam
Sources and review
Checked against Microsoft's own documentation:
- Microsoft Support: Windows Recovery Environment
- Microsoft Support: Startup Repair
- Microsoft Support: System Restore
Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.