Partager via


Error Reporting Registry Settings (Compact 2013)

3/26/2014

Developers and administrators can control a variety of error reporting settings through the registry.

The HKEY_Local_Machine\System\ErrorReporting\DumpSettings registry key enables the values used by the Error Report Control Panel and values for error report generation.

The following table shows the named values.

Value: type

Description

CabDirectory: REG_SZ

Location of the directory that holds compressed files for error report.

Default is \Windows\DumpFiles\CabFiles.

DumpDirectory: REG_SZ

Indicates the location of the directory that holds error report files.

Default is \Windows\DumpFiles.

DumpEnabled: REG_DWORD

Enables crash data collection.

Default is 1 (error reporting enabled). Set to 0 to disable error reporting transfer and hide the Control Panel.

DumpType: REG_DWORD

Default is 2 (System Dump).

This advanced setting is optional, and designates the type of dump generated.

Possible values are as follows:

1     Context Dump

2     System Dump

3     Complete Dump

For more information, see Error Reporting Dump Files.

ExtraFilesDirectory: REG_SZ

Indicates the location of the directory that holds additional files for error report.

Default is \Windows\ExtraDumpFiles.

MaxDiskUsage: REG_DWORD

Sets maximum size for storing dump files.

Default is 900 KB.

MaxDiskUsage is a multiple of the result returned by DrWatsonGetSize, but not greater than 4*DrWatsonGetSize.

MaxLogFiles: REG_DWORD

Sets maximum number of dump log files.

Default is 100.

UploadClient: REG_SZ

Sets location of the upload client module.

Default is \Windows\Dw.exe.

The HKEY_Local_Machine\System\ErrorReporting\UploadSettings registry key controls the file upload process, and enables the values used by the Error Report Control Panel.

The following table shows the named values.

Value: type

Description

DontUpload: DWORD

Sets the upload action

Default 0 (Upload). Set to 1 to keep but not upload files.

MaxDailyReports: DWORD

Maximum number of reports to upload daily.

Default 0 (No limit).

MaxWeeklyReports: DWORD

Maximum number of reports to upload weekly.

Default 0 (no maximum number of reports per week). Set to a specific number of files to designate a maximum number of weekly reports.

The HKEY_LocalMachine\ControlPanel\Error Reporting registry key indicates upload status.

Special-purpose registry settings

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.

See Also

Reference

Error Reporting Reference