Table of Contents
In Windows 10, Automatic Repair is a handy feature that can help you find and solve common problems that may prevent your device from charging properly.
If your computer does not boot twice in a row, the third time the auto repair mechanism is triggered and, during this process, the system performs a series of diagnostic tests to find and resolve common boot problems.
However, if you prefer to find and resolve boot problems manually, or if the automatic repair causes unexpected loops, you can disable the feature in Windows 10.
In this Windows 10 guide, we walk you through the steps to disable automatic diagnosis and repair of your device. If Auto Repair was previously disabled or if you want to undo changes, we will also guide you through the steps to enable it again.
How to Enable or Disable Automatic Repair in Command Prompt at Boot
Open a command prompt at startup.
At startup, type bcdedit at the command prompt and press Enter. (see screenshot below)
A) In the Windows Boot Loader section, find your Windows 10 (description) and note its identification (for example: “{default}”).
B) In the same section, note whether recoveryabled is currently set to Yes (enabled) or No (disabled).
Type the desired command at the bottom of the boot prompt and press Enter. (see screenshot above)
(activate automatic repair – DEFAULT)
bcdedit /set {identifier} recoveryenabled Yes
OR
(Disabling automatic repair)
bcdedit /set {identifier} recoveryenabled No
Replace the identifier in the command above with the actual identifier (for example: “{default}”) from step 2 above for Windows 10.
For example: bcdedit /set {default} recoveryenabled No
When you are finished, close the command prompt at startup.
Click/tap Continue to complete the recovery and start Windows 10.
Conclusion
When you see the auto repair screen, you must let it run for a while. The repair can be done in seconds and can sometimes take hours. Just because you’ve looked at the screen for ten or twenty minutes doesn’t mean your system is trapped in a loop. Some repairs take a long time. If you don’t have time to complete the repair, you can force the system to shut down and then try booting up on your desktop. This is not without risk; you could lose the repairs you have done so far, and you may not be able to access your desktop. It is best to give Windows 10 enough time to complete the repair.
https://www.technology.org/2017/11/14/7-ways-fix-stuck-in-windows-automatic-repair-loop/