This Script will disable Startup Repair from running as a result of a power failure or any other error. I my Experience this can cause many issues such as loss of trust between the domain and the computer. This uses the Bcdedit command to set the boot up proccess to ignore any errors.

Please Rate if this is helpful and also comment if you have suggestions to improve this Script

Below are the Commands used in this batch file

Bash/shellrepai
Edit|Remove
bcdedit /set {default} recoveryenabled No 
bcdedit /set {default} bootstatuspolicy ignoreallfailures