Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running a few game servers on Windows Server 2008, and sometimes they crash or freeze. This is all fine if they crash, as then my restart script can restart them, but if they just freeze, Windows will simply keep them frozen or ask if I'd like to wait or close them.

Is there any way to "skip" this prompt or add a time out (say, 10 seconds) to it, after which it would automatically force close the frozen application?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

You need to add a key in the registry to make windows no longer wait for hanging programs.

HKEY_USERS\.DEFAULT\Control Panel\Desktop

Add a REG_SZ [String Value].

Name: AutoEndTasks
Value Data: 1

Reboot afterwards and you should be good to go.

share|improve this answer
    
Thanks, this will come in handy! –  Miikka Virtanen Oct 14 '11 at 12:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.