Enable Proper Shutdown Of Computer By Auto Ending Tasks
When you are trying to quickly shut down your computer or laptop, some tasks which were running in the background and those which are unresponsive will prompt the user to take action correspondingly. But this is annoying if you are trying to make a quick shutdown and get with your work. So instead of Ending Tasks manually during prompt, we can edit the settings for those tasks to end automatically.

Just follow the simple steps to perform this action.
Step 1: Copy the following code into notepad.
QUOTE
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
“ClearPageFileAtShutdown”=dword:00000001
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
“AutoEndTasks”=”1″
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
“WaitToKillServiceTimeout”=”1000″
Step 2: Save the file as shutdown.reg [Or Any name for that matter with an extension .reg]
Step 3: Go tot he directory where you saved the above registry file and Double click the file to import into your registry.
This registry file automatically adds settings which ends tasks and timeouts that prevent programs from shutting down. Settings for clearing the Paging File on Exit is also added.
Note: Some Anti-Virus Software with Script Technology will find this a Virus. But its obviously not a virus. Its just a registry file with predefined settings to be imported into the registry.
