Skip to content

Instantly share code, notes, and snippets.

@AdrienVR
Created May 2, 2021 09:31
Show Gist options
  • Save AdrienVR/700d89e34d2703bc7362d239478de905 to your computer and use it in GitHub Desktop.
Save AdrienVR/700d89e34d2703bc7362d239478de905 to your computer and use it in GitHub Desktop.
Prevent Windows Shutdown from being blocked by any app or service
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillAppTimeout"="1"
"HungAppTimeout"="1000"
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"WaitToKillServiceTimeout"="1"
"WaitToKillAppTimeout"="1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment