阻止Windows失败启动后进入恢复模式

bcdedit /set bootstatuspolicy ignoreallfailures
bcdedit /set {default} bootstatuspolicy ignoreallfailures