How to disable automatic repair on Windows 10
You can prevent Windows 10's self-repair mechanism from running automatically. In this guide, we show you how.

On Windows 10, automatic repair is a handy feature that troubleshoots and fixes common problems that may be preventing your device from loading correctly.
If your computer fails to start two consecutive times, in the third boot the self-repair mechanism will trigger, and during this process, the system will run a number of diagnostic tests to detect and repair common startup problems.
However, if you would rather troubleshoot and fix startup problems manually, or the automatic repair is causing unexpected loops, it's possible to disable the feature on Windows 10.
In this Windows 10 guide, we walk you through the steps to disable automatic diagnose and repair on your device. In addition, if automatic repair was previously disabled, or you want to revert the changes, we also outline the steps to re-enable the feature.
How to disable automatic repair on Windows 10
To disable automatic repair during the third unsuccessful boot of Windows 10, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select Run as administrator.
- Type the following command and press Enter:
bcdedit
- Make note of the reoveryenabled and identifier values under the "Windows Boot Loader" section. The values should be similar to these:
- identifier: {current}
- recoveryenabled: yes
- Type the following command to disable automatic repair and press Enter:
bcdedit /set {current} recoveryenabled no
- In the command, we're using {current} to specify the target OS option in the boot loader and the no value to disable the automatic repair.
Once you complete these steps, the diagnostic and repair feature will no longer run automatically after the third unsuccessful boot of your device.
How to enable automatic repair on Windows 10
If the automatic repair feature is disabled, you can use these steps to re-enable it:
- Open Start.
- Search for Command Prompt, right-click the top result, and select Run as administrator.
- Type the following command and press Enter:
bcdedit
- Make note of the reoveryenabled and identifier values under the "Windows Boot Loader" section. The values should be similar to these:
- identifier: {current}
- recoveryenabled: no
- Type the following command to enable automatic repair and press Enter:
bcdedit /set {current} recoveryenabled yes
- In the command, we're using {current} to specify the target OS option in the boot loader and the yes value to enable automatic repair again.
After completing these steps, if you're having issues starting Windows 10, as you try to boot your device a third time, the system will proceed to diagnose your device, and it'll try to repair common issues that may prevent the OS from loading correctly.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.