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 first published in July 2001

Dig Deeper

PRO+

Content

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

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close