ghacks Technology News

Automatically Kill Hung Applications

Windows can really sometimes annoy the hell out of me. Starting a new software that was recently installed and seeing it hang after the start with delayed reactions from the system can be really painful. Hitting CTRL + ALT + DEL and waiting minutes before the dialog pops up is not the number one solution to get rid of a process that is stuck in nirvana.

One way to get rid of those processes immediately or after a set time is to edit your registry and change one or two values there. I had the chance to test this on Windows XP only but it could be similar for other operating systems such as Windows 2000.

Open your registry and navigate to the key HKEY_CURRENT_USER\Control Panel\Desktop and change the value from the key ‘AutoEndTask’ to 1. If you want to set a time to wait until the kill process is executed you need to change the value of the key ‘WaitToKillAppTimeout’ to a value in milliseconds which means 1000 would be 1 second.

via: Technospot

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Batch Kill Processes with Kill Process
Batch Kill Processes With Auto Kill Any Process
Restart On Crash Automatically Restarts Crashed Or Frozen Applications
Kill Tasks from the System Tray
Kill Processes With Super Alt F4



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Saturday August 25, 2007 -
Tags:, , , ,


Responses so far:

  1. Roman ShaRP says:

    Do you about Process Lasso or Process Tamer?

    Those are applications for “automatic priority management”. Both are about lowing priority of processes, consuming too many CPU time {and in such way allow to kill troubled app without much waiting}.

    Process Lasso in addition
    - can automatically raise priority for chosen process and make it work faster or not interruptable by other
    - can boost foreground process priority
    - has nice CPU usage or system responsiveness indicator
    - can show memory usage and so on

    So, when I start using Process Lasso, I throw out famous Process Explorer – not only because of problems I had with it, but because Process Lasso can replace it and do more for me {but looks not so good, heh :) }.

    And both are free. I do not tets Process Tamer, because Lasso work fine.

  2. Joe says:

    Martin, I’m not sure I understand this.
    Are the two keys connected and dependent on one another? In other words, do I need to set autoendtask to 1 in order to set the delay or should it be set to 0 and only then I will get the delay that I set in the other key?

    Also, what does it mean “the process is terminated instantly”? How does the system know when a process is hung?

    Thanks’
    Joe

  3. Kip says:

    I’ve across this “tip” a dozen times. Don’t rehash old stuff.

  4. Hmm, too bad: My AutoEndTasks is already set to 1…?

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us