Auto End Tasks To Enable Proper Shutdown

18/08/2011 21:52

Auto End tasks to enable proper shutdown

This log file will automatically end tasks and timeouts that prevent programs to stop and clean out the paging file.

1. Copy the following (all on the box) into notepad.


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"

Save the file as second shutdown.reg

3. Double-click the file to import into your registry.

NOTE: If your antivirus software warns script "evil", this is normal, if you have the technology "Script Safe" or similar enabled.