From 79cc738ade3a273e2e9311280a3d2f5cc1ca3223 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 12 Sep 2026 11:58:33 +0200 Subject: [PATCH] Update win2022.cmd --- assets/win2022.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/win2022.cmd b/assets/win2022.cmd index f987429a..11019129 100644 --- a/assets/win2022.cmd +++ b/assets/win2022.cmd @@ -37,6 +37,9 @@ bcdedit.exe /set {current} nocrashautoreboot on rem Boot the default entry immediately without waiting at the boot menu. bcdedit.exe /timeout 0 +rem Disable automatic reboot after BSOD +reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "AutoReboot" /t REG_DWORD /d 0 /f + rem Disable Shutdown Event Tracker. reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f