Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

We run command line program in automation process on Windows 2008 and sometimes when closing it Windows 2008 show dialog "this program has stopped working" with Close button. How to completely disable it? I've tried turning off error reporting for all users but that doesn't change a thing.

share|improve this question
up vote 7 down vote accepted

I have found how completely disable WerFault.exe (Windows Error Reporting). These registry keys should be added

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting]

I am also attaching fully working registry file

I would like to add many instructions which I found on Internet about disabling WerFault didn't worked in my situation, these include:

  1. Disabling "Windows Error Reporting Service"
  2. Editing "Windows Error Reporting" Policies in Local Group Policy Editor
  3. Disabling ""Windows Error Reporting" from control panel.
share|improve this answer

This Microsoft article shows you go to HKLM\Software\Microsoft\Windows\Windows Error Reporting and add a DWORD key called DontShowUI with a value of 1.

share|improve this answer
I still get Windows Error Reporting dialog with one close button. In my Windows Server 2008 registry HKLM\Software\Microsoft\Windows\Windows Error Reporting I have such keys DontShowUI = 1 and Disabled = 1 (and several others). – Tomas Jan 4 '12 at 7:17
Agreed - this reg key only turns off the UI for the error reporting, not the UI for actually notifying of the error in the first place. – growse Jan 6 '12 at 14:12

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.