Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Windows (http://www.go4expert.com/articles/windows/)
-   -   Simple registry setting to prevent your computer by hanging. (http://www.go4expert.com/articles/simple-registry-setting-prevent-t3497/)

PRADIP 20Mar2007 22:10

Simple registry setting to prevent your computer by hanging.
 
Open registry by typing the regedit in the Run Dialog box.

Browse to: HKEY_CURRENT_USER\Control Panel\Desktop

locate DWORD value "WaitToKillAppTimeout" which have a default value as

"WaitToKillAppTimeout"="20000"

This value represents the time(in milisecond) taken by window to end program when it is not responding. Change it to 0 and prevent your computer by hanging.

shabbir 21Mar2007 09:26

Re: Simple registry setting to prevent your computer by hanging.
 
Why it will not hang when the timeout is set to zero.

PRADIP 21Mar2007 13:37

Re: Simple registry setting to prevent your computer by hanging.
 
Not sure, but I think when you choose "End Now", windows may safely closing the program(i.e. trying to avoid loss of data). When you set mentioned value to 0. it closes program as it is.

shabbir 21Mar2007 15:56

Re: Simple registry setting to prevent your computer by hanging.
 
That way you will have some problems like say you have a program which takes a bit long time to execute and so its not hanged but some white screen and windows may kill that process. I guess then the value should be well optimized.

PRADIP 21Mar2007 17:48

Re: Simple registry setting to prevent your computer by hanging.
 
no it will end program only when you click "End Now" button on "This program is not responding " dialog box. Which occours only in case either the program is 'really'not responding or you choose to close the unresponding program.

shabbir 21Mar2007 18:15

Re: Simple registry setting to prevent your computer by hanging.
 
Quote:

Originally Posted by PRADIP
no it will end program only when you click "End Now" button on "This program is not responding " dialog box. Which occours only in case either the program is 'really'not responding or you choose to close the unresponding program.

That means window will hang but will just close if we wish to.

PRADIP 21Mar2007 18:21

Re: Simple registry setting to prevent your computer by hanging.
 
Yes thats what i want to say

warnerbob18 27Feb2012 17:27

Re: Simple registry setting to prevent your computer by hanging.
 
You must try to delete temp files as they can also be the reason for this.You just need to go in Start then in run window type %temp% and hit enter. You will get all the temp files you can delete them. As this was discussed in a program of Microsoft support and it really works, hope you will also get benefit from this.


All times are GMT +5.5. The time now is 07:05.