Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can XP automatically end all open programs that arent responding?

Status
Not open for further replies.

justride

Programmer
Jan 9, 2004
251
US
When I press the power button on my PC, I would like XP to close all apps and automatically powerdown. Instead The user must select "End Now" to all programs that are non-responsive. This is for a KIOSK. Any idea how to do this?
 
The "End Now" thing should count down and give the program either 15 or 20 seconds, then kill it by itself and continue shutting down.

Have you tried just waiting after you hit the power button?
 
well it countsdown but if a program is nonresponsiver it asks for user to decide what to do by either clicking "end now" or "cancel" this is a kiosk without a mouse/keyboard
 
Code:
How To Automatically close non-responsive programs
When an application crashes, it stops responding and we have to end task it manually through the task manager. By this tweak one can automatically close any application that has stopped responding.
 
1]Start>Run>Regedit>OK
 
2]Now navigate to the following location:-
HKEY_CURRENT_USER\Control Panel\ Desktop
 
Highlight Desktop,on the right pane of the Registry Editor you will find REG_SZ entry AutoEndTasks
 
3]Right click on it and select Modify. Change the value data to 1.The default value data is 0.Click OK and close the Registry Editor.
 
4]Restart the System.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top