How To Disable Automatic Diagnose and Repair on Windows 10

Windows goes to automatic diagnose and repair mode after three consecutive failed reboot attempts. It’s a designed feature that’s enabled by default on every Windows 10 installation.

The feature is helpful in some way that not only attempts to fix the rebooting issue but offers Advanced boot options as well. But it’s also quite common that it does little to help bring the computer back. So, disabling this automatic repair may save you some time going through the diagnosing process. Thanks to Kapil for the tip.

If you can still access to your Windows 10 desktop, open an elevated Command Prompt window and run the following command.

bcdedit /set {current} recoveryenabled no

This is how it looks like when the command is run afterward.

However, if you are already in an automatic repair mode and can’t get access to your Windows 10 desktop, you will need to boot in WinPE and run the following command instead.

bcdedit /set {default} recoveryenabled no

If you only have a Windows 10 bootable USB to work with, choose Repair your computer option and then click Troubleshoot > Advanced options and select Command Prompt option.

Source