Auto ending tasks on reboots or shutdowns

Here's a quick fix for automatically ending tasks during reboots.

Ever try to reboot over night just to find out it didn't? I hate when I tell a machine to reboot and it doesn't...

because this app or that app isn't responding.

Here's a quick fix:

Edit HKEY_USER.DEFAULTControlPanelDesktop and add value AutoEndTasks REG_SZ. Set it to 1.

Edit HKEY_USERYourUserIdControl PanelDesktop and add value AutoEndTasks REG_SZ. Set it to 1.

This forces any task, that does not respond to the shutdown, to end.

You can also Add Value of WaitToKillAppTimeout with type REG_SZ. The default: is 20000 milliseconds (20 seconds). If the user process does not end by this time, AutoEndTasks is invoked.

This was last published in July 2001

Dig Deeper on Windows File Management

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close