The Infinite Recovery Loop
Windows 11 includes an Automatic Startup Repair feature that detects when the operating system fails to boot properly and automatically launches a recovery environment to attempt fixes. While well-intentioned, this system frequently misfires. A single unexpected shutdown — caused by a power cut, holding down the power button, or a BSOD from a temporary driver conflict — can trigger the Startup Repair process on the next boot. If Startup Repair fails to find or fix the (often non-existent) problem, it reboots and tries again, creating an infinite loop where you can never reach the desktop. Your perfectly functional system is held hostage by a repair tool that cannot repair something that is not broken.
Disabling Automatic Startup Repair
To stop Windows 11 from automatically launching Startup Repair after failed boot attempts and instead boot directly to the desktop (or a manual recovery prompt), you must disable the feature via the command line.
If you can reach the Advanced Startup Options screen (the blue “Choose an option” menu), click on Troubleshoot > Advanced options > Command Prompt. At the command prompt, type bcdedit /set {default} recoveryenabled No and press Enter. This disables automatic recovery for your default boot entry. Type exit and click Continue to attempt a normal boot. If you can access the Windows desktop normally and want to pre-emptively prevent future Startup Repair loops, open an elevated Command Prompt (search for “cmd,” right-click, Run as administrator) and run the same command: bcdedit /set {default} recoveryenabled No. To verify the change, run bcdedit /enum and confirm that recoveryenabled is set to No. If you ever need to re-enable it, run bcdedit /set {default} recoveryenabled Yes.