feat: Disable Shutdown Tracker on Windows Server (#2170)

This commit is contained in:
Kroese
2026-08-21 15:38:29 +02:00
committed by GitHub
parent 09627c4e51
commit 37f4908f22
7 changed files with 21 additions and 0 deletions
+3
View File
@@ -15,6 +15,9 @@ if exist "%SETUP_COMPLETE%" exit /b 0
type nul > "%SETUP_STARTED%"
rem Disable Shutdown Event Tracker.
reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f
rem Allow guest access to network shares.
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f