summaryrefslogtreecommitdiffstats
path: root/win10-prep.bat
diff options
context:
space:
mode:
authorbreadcat2020-07-05 19:51:22 +0100
committerbreadcat2020-07-05 19:51:22 +0100
commit9580d3fa62b348301f80f6a5328dab270830a348 (patch)
tree87a8059ca666fb7a3fc7585de8f7b32b1d021f79 /win10-prep.bat
parent22795889fa17a2ae32fde0876d15c3b3edfbb7c3 (diff)
downloadwin10-prep-9580d3fa62b348301f80f6a5328dab270830a348.tar.gz
win10-prep-9580d3fa62b348301f80f6a5328dab270830a348.tar.bz2
win10-prep-9580d3fa62b348301f80f6a5328dab270830a348.zip
Add a few more kill timers
Diffstat (limited to 'win10-prep.bat')
-rw-r--r--win10-prep.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/win10-prep.bat b/win10-prep.bat
index 830febf..287f81a 100644
--- a/win10-prep.bat
+++ b/win10-prep.bat
@@ -191,6 +191,9 @@ reg add "HKCU\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d "75" /f
rem auto close non-responding applications on shutdown
reg add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
reg add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "1000" /f
+reg add "HKLM\SYSTEM\ControlSet001\Control" /v "WaitToKillServiceTimeout" /t REG_SZ /d "2000" /f
+reg add "HKLM\SYSTEM\ControlSet002\Control" /v "WaitToKillServiceTimeout" /t REG_SZ /d "2000" /f
+reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v "WaitToKillServiceTimeout" /t REG_SZ /d "2000" /f
rem disable system restore
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableConfig" /t REG_DWORD /d "1" /f
rem disable animations