End non responsive programs automatically in Windows

Many time while working on PC the system suddenly freezes due to some non responsive programs and at times the task manager itself becomes non responsive. To overcome this problem windows has an auto task killer,which will automatically terminate the non responsive program after specified time.

To make this work according to our need we will have to modify the registry.

First go to Start –> Run –> regedit.

Then navigate to the following key: HKEY_CURRENT_USER\Control Panel\Desktop

In the right side pane, find the key “WaitToKillAppTimeout”, double click it and set the time to wait for not responding applications to come back to normal. The time is in milliseconds. If you want to end the task immediately, give the value as 0.