-1

I know you can delete the file DW20.exe to remove Microsoft Error Reporting's core executable, but is there a system command to kill it?

Thanks

Votes + Comments
duplicate posts
2
Contributors
3
Replies
5
Views
8 Years
Discussion Span
Last Post by sknake
0

Uh... I want to execute a system command in my C# project to disable Error Reporting?

Have an answer?

0

There is a registry setting that can be changed. Look at these three articles:
http://www.theeldergeek.com/windows_xp_error_reporting.htm
http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/b0b8767a-c721-4e67-ae95-bd57e829200d
http://msdn.microsoft.com/en-us/library/bb513638(VS.85).aspx

We've tried altering the programs in the blocklist, and it doesn't seem to make a difference.
The furthest we've got is by adding the registry entries [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting\DoReport] and [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting\ShowUI] and setting them to 0 - this works some of the time (it works all the time if the exception comes from managed code), but if the exception occurs in some external code, for instance a windows media player codec, then the dialog still appears.

The only way that worked for me to disable the error reporting dialog completely was adding a DWORD setting with a value of 0 in:

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

[Start] [Run] [Regedit]
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting
Modify/Create the Value Name according to the Value Data listed below.
Data Type: REG_DWORD [Dword Value] // Value Name: DoReport
Value Data: [0 = Don’t Send Reports / 1 = Do Send Reports]
Exit Registry and Reboot

This will probably bring up the UAC dialog in Vista. You can access the registry with the Microsoft.Win32.Registry class.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.