Share via


Save Dump Files on a Device (Compact 7)

3/12/2014

If you include the Report Upload Client in your OS design, you can still set a registry value on the device so that Windows Embedded Compact Error Reporting saves dump files on the device instead of uploading them to the Microsoft Watson website. By saving dump files on the device, you can use Error Reporting even if the device is not connected to a network. If you included the Report Upload Client in your OS design, the registry value that you need to change is the following: [HKEY_LOCAL_MACHINE\System\ErrorReporting\UploadSettings] "DontUpload"=dword:1.

Note

If you did not include the Report Upload Client in your OS design, you do not need to change this registry setting because, in that case, the default behavior is to save the file to the device.

For more information about the registry values for error report uploading, see Report Upload Client Registry Settings. To set other aspects of Error Reporting functionality, such as the location of the directory that contains the dump files, the type of dump file to generate, the maximum size for storing dump files, the maximum number of dump files, and so on, see Error Reporting Registry Settings, Error Report Generator Registry Settings, Error Report Transfer Driver Registry Settings, and Error Report Control Panel Registry Settings.

Important

The default directory for dump files on the device is \Windows\DumpFiles; however, this is a hidden directory. To make all files and directories on the device visible, click View, click Options, clear Do not show hidden files and folders, clear Hide protected operating system files, and then click OK.

One way to set a registry key on your device is to edit the OSDesign.reg file of your OS design as follows.

Note

These instructions assume that all other Error Reporting registry settings are at their default values. The default registry setting values are indicated in Error Reporting Registry Settings, Error Report Generator Registry Settings, Error Report Transfer Driver Registry Settings, and Error Report Control Panel Registry Settings.

To set a registry value to save dump files on a device

  1. In Platform Builder, open your OS design project.

  2. In Solution Explorer, expand the OS design project node, and then expand the Parameter Files directory.

  3. Under Parameter Files, double-click OSDesign.reg.

  4. In the OSDesign.reg pane, expand HKEY_LOCAL_MACHINE, right-click System, click New, and then click Key.

  5. Type ErrorReporting, and then press Enter.

  6. Right-click ErrorReporting, click New, and then click Key.

  7. Type UploadSettings, and then press Enter.

  8. Right-click UploadSettings, click New, and then click DWORD Value.

  9. Type DontUpload, and then press Enter.

  10. In the Properties pane for the DontUpload registry value, for Data, type 1.

  11. Save and then build the OS design project.

See Also

Tasks

Upload Dump Files

Concepts

Store Dump Files