End Not Responding Programs Automatically By Terminating Hung Process

We hate to see not responding programs in Windows 7 which take a long time to respond. Many times those applications waste our valuable time. There is a registry tweak in Windows 7 to end hung applications automatically on a computer. We need to enable auto end task feature for non-responding programs and set time out for hung programs. By setting the value high, we give enough time for those processes to back working. If we set the value low, after crossing the time limit, those applications will close automatically. It is my duty to warn you as it is a registry tweak, it is better you take a backup of your current registry before changing any values.

Automatically Terminate Hung Programs

To enable auto end for hung programs in Windows 8 and 7 computer, follow the steps below.
  1. Start Run

    Press [Windows ] + [R] to get Run. If you want to enable Run in Windows 7 Start Menu, follow the instructions provided in the link below.
    How to Enable Run in Start Menu

  2. Open Registry Editor

    Type regedit on Run and press enter. Now the registry editor will open.
    close hung application automatically

  3. Go to HKEY_CURRENT_USER\Control Panel\Desktop

  4. Change values

    Now we need to add the following new values here. Please note that if some keys are not present we need to create new keys with the name and value provided below. You can change the values here if you require different timing for closing hung processes on your laptop. Time is calculated in Milliseconds.

    • "WaitToKillAppTimeout"="2000"
    • “AutoEndTasks"="1"
    • "HungAppTimeout"="1000"
    • "LowLevelHooksTimeout"="1000

    kill hung

    If you cannot find the keys from the list, you can create new keys with the value provided above. Please note that the time value is in Milliseconds.
Now onwards Windows 7 will automatically kill the programs which take a long period to respond.

Related Articles
  1. View or Remove saved Wireless networks

  2. Stop Windows 7 from showing Recently Opened Programs in Start menu

  3. How to Open a Port in Microsoft Firewall

No: Recent Posts
Turn Off / On Windows Security and Maintenance Popups
Start WLAN AutoConfig (WLANSVC Service)
Getting 169.254.X.X (APIPA) Windows Automatic Private IP Address
Ping Gives Hardware Error
Add More Locations in Send To Menu
Destination Net Unreachable
Disable or Enable USB Ports from Registry & BIOS
Getting Error Code 0x80070424
How to Check Your Tata Photon Plus Internet Usage
Make Sure your Computer and Network are Safe
Don't Get Fooled by MacDefender a Fake Anti-Malware Program


  1. Thanks for the tip man.,but would you pleasetrell hat which type of new value should we use?

  2. would you please tell which type of new value should we use?

  3. To end the not responding programs automatically, add the following values are:


  4. David5:12 AM

    Let me try your guide. Thanks for publishing.

  5. Ahmed5:39 AM

    Yahoo Messenger installed in my Windows 7 computer freeze for long and then I need to close it by task manager. will this trick work for the Yahoo messenger too?? Thanks for your advice.

  6. And what do you do if its your browser and mail all the time. I have yet to find a program that doesn't suffer the same fate

  7. MKilareski12:57 PM

    I have a similar problem. Instead of killing the program, I just want the computer to wait to respond. What would the setting be to just have the computer wait?

    Here's the situation: I have an older touchscreen program running in a public space. When the user rapidly touches the screen faster than the program can respond a "program x has stopped responding" window pops up. The user then is given the option to either wait (good choice) or end program (bad choice). Is there a way to either disable this popup, disable the "end program" option, or automatically choose the "wait" option?


  8. Admin1:00 PM

    @ MKilareski
    If you want the computer to wait more, you can simply increase the wait time instead reducing as given in this article.

  9. Thanks buddy I love your trick to close non responding programs automatically.

  10. Ok my registry does not have the waittokillapptimeout thing. Would adding a new "String Value"
    in the desktop folder and giving it the appropriate name and setting a value do anything?


Post a Comment