By default, when an exception is raised, a dump file would be generated under \Windows\System\DumpFiles, the Error Reporting UI would be displayed asking user "Please tell Microsoft about this problem, at no cost to you bla bla". User has two options: Send or Don't Send the dump file to Microsoft. I found that whatever decision you made (Send or Don't Send), those dump files would be deleted. I checked MSDN and found Error Reporting UI can be disabled by set the registry key HKEY_Local_Machine\System\ErrorReporting\UploadSettings\DontUpload to 1 to keep but not upload files. I tried this way, however, it does not work - the UI still prompt.Actually, we can modify the registry key DumpDirectory so that dump files are generated on SD card. this way, the dump files won't be deleted regardless u select "Send" or "Don't Send".I am curious is there anyway to keep dump files under \Windows\System\DumpFiles and not be deleted?Thanks!
how to disable Dr Watson (Error Reporting)'s UI// Expert user has replied. |
2 Replies
Try the NoConsentRequired reg key:
Under certain circumstances, developers and administrators can change additional value settings, ConnectionFlags and NoConsentRequired, in the HKEY_Local_Machine\System\ErrorReporting\UploadSettings registry key.
NoConsentRequired This value controls whether or not user consent is required in order to upload a dump file created by the Error Reporting system. Because a dump file might contain personal data, this registry setting has a potentially significant impact on user privacy. Except under rare circumstances in which the user has given consent for error reporting during the initial setup process, Microsoft requires this setting to retain the default setting value of 0, which indicates that user consent is required.
ConnectionFlags This value determines the type of connection the Error Reporting system may use to upload a file; that is, whether error reporting may use cellular connections, or use only non-cellular connections. Because cellular connection charges may be based on connection time, this registry setting has a potentially significant impact on operating cost for the user. The default value of 0 indicates that only non-cellular connections may be used for uploading error report dump files. If you wish to change the ConnectionFlags setting to a value other than the default, you must ensure that the connection is cost-free for the user. In addition, you must obtain explicit approval for the connection mechanism from Microsoft.
Yes, it does work - NoConsentRequired! Thanks a lot!