clipped from: www.mydigitallife.info   
  1. Click on Start Menu -> Run.
  2. In the Run text box, type regedit and then click OK or press Enter.
  3. In the Registry Editor, navigate the following branch: HKEY_USERS\Default\Control Panel\Desktop
  4. On the right panel of Registry Editor, search for “AutoEndTasks” registry key.
  5. Double click on the key and modify the Value data to 1.
  6. Click on OK when done.
  7. Restart the Windows, the change will be effective.

If you want to shorten the time out period that Windows wait for frozen programs and fasten the waiting duration in which Windows will declare a program as unresponsive, just change the value date setting of “WaitToKillApp” registry key in the same registry branch as above. “WaitToKillApp” control sets the timeout delay in milliseconds (the default is 2000, or 20 seconds) and it can be changed speed up the shutdown process by waiting shorter for not responding processes.


To undo the changes, just change back the Value data of the Registry key to 0.


AutoEndTasks