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