Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.