Windows Automatic Repair Not Working – Fix It Quickly
In this article
Yes, you can fix Windows Automatic Repair when it fails by using built‑in recovery tools and command‑line utilities.
What You'll Need
- A Windows 10 or Windows 11 PC that can boot to the sign‑in screen or to the recovery environment.
- Access to a second computer to download the Windows Media Creation Tool (optional but helpful).
- A USB flash drive (at least 8 GB) if you need to create bootable installation media.
- Basic familiarity with the keyboard shortcuts Win + X, Ctrl + Shift + Esc, and the Command Prompt.
- Patience – some steps involve waiting for scans or restarts.
Step‑by‑Step
- Force a full shutdown. Hold the power button for 10 seconds until the PC powers off completely. This clears any temporary state that might be keeping Automatic Repair stuck.
- Enter the Windows Recovery Environment (WinRE). Turn the PC on and as soon as Windows starts loading (you see the spinning dots), press and hold the power button again to force another shutdown. Repeat this process two‑to‑three times. Windows will detect the repeated failures and automatically launch WinRE.
- Select "Troubleshoot". In the blue WinRE screen click Troubleshoot. The wording may vary slightly between Windows 10 and 11 but the icon looks like a gear.
- Choose "Advanced options". From the list pick Advanced options. This opens a submenu with several repair utilities.
- Run "Startup Repair" again. Click Startup Repair. If the tool still reports that it cannot fix the problem, proceed to the next steps – the failure indicates deeper corruption.
- Open Command Prompt. In the Advanced options menu select Command Prompt. The system will restart and present a black command window.
- Run
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows. This scans the offline Windows image for corrupted system files and attempts to replace them. - After SFC finishes, run
DISM /Image:C:\ /Cleanup-Image /RestoreHealth. DISM repairs the component store that SFC relies on. - If both scans complete without error, type
exitand press Enter to return to the Advanced options menu.
- Run
- Try "System Restore". Back in Advanced options, select System Restore. Choose a restore point dated before the issue began. Follow the prompts; the PC will restart automatically.
- If no restore points exist, skip this step.
- Disable Automatic Repair loop (optional). If the PC still boots directly into the Automatic Repair screen, you can stop the loop by editing the registry offline:
- From the Command Prompt, type
reg load HKLM\Temp C:\Windows\System32\config\SYSTEMand press Enter. - Then type
reg add "HKLM\Temp\ControlSet001\Control\CrashControl" /v AutoRepair /t REG_DWORD /d 0 /f. - Finally unload the hive with
reg unload HKLM\Tempand reboot.
- From the Command Prompt, type
- Boot from Windows installation media. If WinRE cannot be accessed or the above steps fail, insert a bootable USB created with the Media Creation Tool, restart, and press the appropriate key (often F12, Esc, or Del) to open the boot menu. Choose the USB drive.
- Select your language preferences and click Repair your computer on the lower‑left corner.
- Repeat steps 3‑8 from the WinRE menu using the installation media’s recovery options.
- Perform a clean installation as a last resort. If none of the repair utilities succeed, back up your data using a live Linux USB or by connecting the drive to another computer, then reinstall Windows from the bootable media. Choose "Custom: Install Windows only (advanced)" and format the primary partition.
- Be aware this will erase all programs and personal files on that partition.
Common Mistakes
Many users attempt to click "Restart" repeatedly without first forcing a shutdown, which only prolongs the Automatic Repair loop. Another frequent error is running sfc /scannow from a normal Windows session when the system files are already in use; the offline version shown in step 6a is required. Some people edit the wrong registry hive – always load the SYSTEM hive under a temporary name (as shown) to avoid corrupting the live registry. Finally, forgetting to disconnect external peripherals (USB drives, printers, docking stations) can cause the boot process to hang, making it look like Automatic Repair has failed.
Tips
- Write down any error codes displayed on the Automatic Repair screen before you begin; they can guide later searches.
- If you have a recent system image created with Windows Backup, you can restore that image from the "System Image Recovery" option in Advanced options.
- Keep the Media Creation Tool handy on a separate USB; it doubles as a rescue drive and as a source for fresh installation files.
- When using DISM, adding the
/LogPathparameter (e.g.,/LogPath:C:\DISM.log) helps you review detailed error messages later. - After a successful repair, run
winverto confirm you are on the latest cumulative update. Out‑of‑date builds sometimes trigger the repair loop.
Troubleshooting
If the PC still boots to the Automatic Repair screen after completing all steps, follow this escalation path:
- Check hardware connections. Reseat the RAM modules and ensure the SSD/HDD cables are firmly attached. Faulty memory often causes boot failures that masquerade as software problems.
- Run a memory diagnostic. From WinRE, choose Command Prompt and type
mdsched.exe. Choose to restart and test for memory errors. - Verify BIOS/UEFI settings. Ensure the boot mode (UEFI vs Legacy) matches the way Windows was installed. Incorrect mode can prevent the OS loader from running.
- Inspect the drive for errors. In Command Prompt, run
chkdsk C: /f /r. This may take a long time but will fix bad sectors that stop Windows from loading. - Use the "Reset this PC" option. In Advanced options select Reset this PC. Choose "Keep my files" to preserve personal data while reinstalling Windows components.
- Consider a hardware failure. If the drive fails the CHKDSK scan or SMART data (viewable with
wmic diskdrive get status) reports a problem, replace the drive before attempting another OS install.
Frequently Asked Questions
Why does Windows keep looping back to Automatic Repair?
The loop occurs when Windows detects a critical startup error repeatedly. Common causes are corrupted system files, a failing boot sector, or hardware that prevents the OS from loading.
Can I stop Automatic Repair without fixing the underlying issue?
Yes, disabling the AutoRepair registry value (step 8) prevents the loop, but the PC will still fail to start normally until the root cause is addressed.
Do I need a product key to run the repair tools?
No. Repair utilities, SFC, DISM, and System Restore work without requiring a Windows license key. A key is only needed for a clean install.
Will running SFC or DISM delete my personal files?
No. These tools only replace or repair system files. Your documents, pictures, and other personal data remain untouched.
What if my PC has a dual‑boot setup with Linux?
The repair steps focus on the Windows partition. Ensure you select the correct drive letter (often D: when Linux occupies the first partition) when running offline scans.
Is it safe to use third‑party boot repair utilities?
Official Windows tools are recommended because they are guaranteed to work with the OS version. Third‑party utilities may cause further damage if they modify the boot configuration incorrectly.