Disable “application has stopped working” window

kseen asked:

We have a .NET WCF service that should be 100% uptime ideally, But sometimes we have a memory leaking issues in our application that caused by 3rd party DB connectivity component which causes the service to crash.

We configured nnCron to watch for the service process and restart the service if it isn’t running, but when the program crashes Windows displays this dialog box

enter image description here

The process nnCron is watching still exists until we click Close the program, which keeps nnCron from restarting the service.

Is there a way to disable this dialog box?

My answer:


You can manage this in Group Policy.

  1. Go to Administrative Templates/Windows Components/Windows Error Reporting.

  2. Find the policy Prevent display of the user interface for critical errors. Here, the Local Group Policy Editor is shown. You may also use Group Policy Management if you are in a domain.
    enter image description here

  3. Change the policy setting to Enabled.
    enter image description here

  4. (In a domain) Apply the policy object to all appropriate computers/groups.

You may also wish to Disable Windows Error Reporting entirely. In addition to using Group Policy, you can disable Windows Error Reporting via Server Manager.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.