- Start Regedit
- Go to to the following registry key:
HKEY_CURRENT_USER\Control Panel\Desktop\AutoEndTasks
- Set the value to be 1
- In the same section, change the WaitToKillAppTimeout to the number of milliseconds you want.
!! WARNING !!
Prior to making registry changes, be sure to make a back up of the registry.
Unexpected things can happen, with a simple typographical error. Be safe, stay sane.