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

When an application crashes on Windows Server 2008 SP1, I get this message box:

MyApp has stopped working
Windows is searching for a solution...

How can I prevent this message box from appearing?

Update: What I really need is to make no dialog appear. I have formulated my real intent in another question.

share|improve this question
up vote 7 down vote accepted

To completely disable this message box, set the registry value (HKLM or HKCU)\Software\Microsoft\Windows\Windows Error Reporting\DontShowUI to 1.

share|improve this answer

Do you mean how can you stop the application from crashing or how can you stop the message from displaying when it does?

If the former, then without any information about the application we're not going to be able to help. The latter I believe can only be dealt withby gracefully handling the error within the application code AFAIK.

share|improve this answer
Of course the latter. – Lev Jun 23 '09 at 7:08

I think this is controlled by "windows error reporting service", at least, in Vista. It might be called something else in 2008

share|improve this answer

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.