From 347dcaedee24489e2095d5049a13a6ef8e01ca41 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 6 Sep 2026 20:04:56 +0200 Subject: [PATCH] Update win2008r2.cmd --- assets/win2008r2.cmd | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/assets/win2008r2.cmd b/assets/win2008r2.cmd index bddeaf8a..108b67f2 100644 --- a/assets/win2008r2.cmd +++ b/assets/win2008r2.cmd @@ -25,6 +25,15 @@ if exist "%SETUP_COMPLETE%" exit /b 0 type nul > "%SETUP_STARTED%" +rem Ignore unclean shutdowns when deciding whether to enter recovery. +bcdedit.exe /set {current} bootstatuspolicy IgnoreShutdownFailures + +rem Keep the blue screen visible after a system crash. +bcdedit.exe /set {current} nocrashautoreboot on + +rem Boot the default entry immediately without waiting at the boot menu. +bcdedit.exe /timeout 0 + rem Disable Shutdown Event Tracker. reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f