Windows is designed to give programs time to close. This is Microsoft's fail safe to make sure that nothing goes wrong when closing programs and to prevent you from losing information. It's simple why they would do this, they don't want that college student finishing the 3,000 word report at the last minute to lose all his work. Well, more so Microsoft doesn't want anyone to hear about it including their customers. They have done a great job in protecting loss of data and allowing programs to terminate in sequence. Since many users would rather have their computer shutdown/restart on command, including myself, I will provide you with this tutorial. The Windows XP and Windows Vista guides are exactly similar, the only difference is how you get to your registry editor.
Note: Today we will be editing the registry, so remember to be careful and follow what I say closely to prevent any harm to your system. The odds of anything going wrong are around 1/100 if you follow correctly.
Windows XP
1. Click Start, and then click Run.
2. Type in Regedit, (Welcome to the Registry!)
3. Collapse, (click the +), HKEY_CURRENT_USER and then collapse Control Panel.
4. Click on the folder "Desktop". Locate WaitToKillAppTimeout in the window on the right of your registry editor. Which is highlighted in the picture to the side.
5. Right click on WaitToKillAppTimeout and click Modify from the drop down. Change the Value Date number to a number between 1,000 and 2,000. Then click Ok. This is the time in milliseconds that Windows waits for applications on shutdown.
6. In the same window as WaitToKillAppTimeout, locate HungAppTimeOut.
7. Once again, right click on this string and click Modify. Change this value from 1,500 to 2,000. NOTE: You now won't have much problems in ending programs normally with Windows Task Manager. HungAppTimeOut's value is the amount of time that your OS will wait on unresponsive programs.
8. Close registry editor, and test it out without closing any programs that don't require you to save anything.
Windows Vista
1. Click Start, then enter in the search box "regedit."
2. Click on the resulting regedit, which should load the Registry Editor.
3. Collapse, (click the +), HKEY_CURRENT_USER and then collapse Control Panel.
4. Click on the folder "Desktop". Locate WaitToKillAppTimeout in the window on the right of your registry editor. Which is highlighted in the picture above.
5. Right click on WaitToKillAppTimeout and click Modify from the drop down. Change the Value Date number to a number between 1,000 and 2,000. Then click Ok. This is the time in milliseconds that Windows Vista waits for applications on shutdown.
6. In the same window as WaitToKillAppTimeout, locate HungAppTimeOut.
NOTE: You now won't have much problems in ending programs normally with Windows Task Manager. HungAppTimeOut's value is the amount of time that your OS will wait on unresponsive programs.
7. Once again, right click on this string and click Modify. Change this value from 1,500 to 2,000.
8. Close registry editor, test it out without closing any programs that don't require you to save anything.
Remember to bookmark us! When you comeback check out our other guides and fine tune your PC using registry editor, and more!