In Windows Search, type msconfig and right-click System Configuration, then select Run as Administrator. In the General tab, select Diagnostic startup. To disable the setting, go back to System Configuration and select Normal startup.