Completely disable "this program has stopped working, etc" dialog
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.
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]
"Disabled"=dword:00000001
"DontShowUI"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00000001
"DontShowUI"=dword:00000001
I am also attaching fully working registry file http://www.filejumbo.com/Download/B6A1CD7B9A221BB8
I would like to add many instructions which I found on Internet about disabling WerFault didn't worked in my situation, these include:
- Disabling "Windows Error Reporting Service"
- Editing "Windows Error Reporting" Policies in Local Group Policy Editor
- Disabling ""Windows Error Reporting" from control panel.
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
.