bootrec /scanos
bootrec /rebuildbcd
bootrec /fixmbr
Type Y when prompted to add the Windows installation. Reboot. If the loop started right after a Windows Update, choose Uninstall Updates from Advanced options instead.
If the screen says “Automatic Repair couldn’t repair your PC,” click Advanced options — you are already in the Windows Recovery Environment. If the screen is stuck on the black “Preparing Automatic Repair” or “Diagnosing your PC” text and never reaches the blue screen, hold the power button to force off, power on again, and repeat up to three times; Windows should eventually show the blue recovery screen. If it never does, boot from a Windows 10/11 install USB and choose Repair your computer, then Troubleshoot → Advanced options.
In Advanced options, choose Startup Repair. Windows will attempt to detect and fix boot problems automatically. If it succeeds, the machine reboots to the desktop. If it reports “Startup Repair couldn’t repair your PC,” continue to the next step.
If the loop started after a Windows Update, go back to Advanced options and choose Uninstall Updates → Uninstall latest quality update. This reverses the most recent cumulative update without touching your files. Reboot and test before doing anything else.
In Advanced options → Command Prompt, run these in order:
bootrec /scanos
bootrec /rebuildbcd
bootrec /fixmbr
When bootrec /rebuildbcd finds a Windows installation, type Y to add it. Reboot and test.
UEFI/GPT note: some guides suggest bootrec /fixboot here, but on modern UEFI systems it returns “Access is denied” — that is normal. If the BCD rebuild alone doesn’t fix it on a UEFI machine, see the bcdboot procedure instead.
Still looping? Repair Windows system files offline and scan for disk errors. Confirm the Windows drive letter first — in WinRE it is often C: but can differ (run diskpart then list vol to verify):
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
chkdsk C: /f /r
Replace C: with the actual Windows drive letter if different. Reboot and test.
If a bad driver or recently installed software caused the loop, Safe Mode can break the cycle. From Advanced options, choose Startup Settings → Restart, then press 4 or F4 for Safe Mode. Once at the desktop, open Device Manager and roll back or uninstall any recently updated driver. You can also uninstall recently added software from Settings → Apps. Restart normally and test.
chkdsk /r stresses every sector — on a drive that is already failing, that stress can push weak sectors from readable to gone. Take a full sector image to a known-good external disk first, and never run repairs on the only copy of irreplaceable data.
Yes. The repair runs entirely inside Windows Recovery (WinRE), which lives on the broken PC itself — the “Automatic Repair” screen is WinRE. Click Advanced options to reach Command Prompt, Startup Repair, and the other tools. If the screen never gets past “Preparing Automatic Repair,” a Windows install USB lets you reach the same tools, but you don’t need a second computer to run the repair. (GRAM runs inside Windows rather than from boot media — use it once the machine boots to verify disk health and confirm the root cause.)
Force the machine off by holding the power button, then power on again. Repeat two or three times — Windows should eventually reach the blue recovery screen. If it never does, the disk may be too damaged to load WinRE. Boot from a Windows 10/11 install USB and choose Repair your computer to get the same Advanced options menu.
No. bootrec rewrites only the boot configuration, not your data. sfc replaces corrupted Windows system files from its own cache. chkdsk /f /r repairs the file system and can occasionally move damaged file fragments to FOUND.000 folders, but it does not wipe the drive. Uninstalling the latest update removes only the update itself. If the data is irreplaceable, image the drive first anyway.
That is common — Startup Repair fixes only a narrow set of problems. Move on to the manual steps: uninstall the latest update if one triggered the loop, then rebuild the BCD with bootrec, then repair system files with sfc and check the disk with chkdsk. If nothing works, try System Restore from Advanced options (if a restore point exists) or Safe Mode to isolate a bad driver.
Related: CRITICAL_PROCESS_DIED (0x000000EF) · UNMOUNTABLE_BOOT_VOLUME (0x000000ED) · All Windows boot error codes