Saturday 27 April 2019

boot - How do I tell Windows 7 to never Launch Startup Repair


I have a Windows 7 (64-bit) virtual machine that I primarily remote desktop into. Sometimes on boot something goes wrong and it displays the following DOS screen:


                             Windows Error Recovery
Windows Failed to start. A recent hardware of software change might be the cause.

If Windows files have been damaged or configured incorrectly, Startup Repair can help diagnose and fix the problem. If power was interrupted during startup, choose Start Windows Normally.
(Use the arrow keys to highlight your choice.)

* Launch Startup Repair (recommended)
* Start Windows Normally

The default option is Launch Startup Repair (which happens automatically after 30 seconds). How can I set it so that this never happens, and it always tries to Start Windows Normally?



Answer



Do this command:



bcdedit /set {current} bootstatuspolicy ignoreallfailures



Similar is



bcdedit /set {default} bootstatuspolicy ignoreallfailures



They can be the same if you are booted into the default load, so default would equal current.


For more information, the relevant Google search is "disable Windows Error Recovery" (minus the quotes).


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...