Enabling User Mode Dumps
Overview
User mode dump files capture the memory state and execution context when a program crashes. They're invaluable diagnostic tools that help Tricerat Support identify the exact cause of unexpected program termination - whether it's a memory access violation, unhandled exception, or other critical error.
When you're working with Tricerat Support to troubleshoot a crashing application, they'll often request that you enable user mode dumps. This guide shows you how to configure Windows Error Reporting to automatically generate these dump files.
Prerequisites
- Administrator privileges on the target machine
- Sufficient disk space (dump files can be 50-500 MB depending on the application)
Configuring Dump Collection
You'll configure Windows Error Reporting through the registry to automatically capture dump files when any program crashes. Here's what you need to do:
-
Create the registry key if it doesn't already exist:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps -
Set the dump folder location by adding a
REG_EXPAND_SZvalue namedDumpFolder:C:\ProgramData\Tricerat\LogsThis keeps dump files alongside your regular ScrewDrivers log files, which makes collection easier. When you're ready to send files to Support, you can use the ScrewDrivers Logs utility to zip everything together.
-
Limit dump retention by adding a
REG_DWORDvalue namedDumpCountset to5. This prevents your disk from filling up - Windows will keep only the five most recent dumps. -
Set the dump type by adding a
REG_DWORDvalue namedDumpTypeset to2. Value2creates a "mini dump with full memory," which captures enough detail for debugging without creating enormous files. -
Skip CustomDumpType - don't add this value. The
DumpTypesetting handles everything you need.
Activating the Configuration
You must restart the machine for these registry changes to take effect. After reboot, Windows Error Reporting will automatically generate dump files in C:\ProgramData\Tricerat\Logs whenever any program crashes.
Collecting and Sending Dumps
When you've reproduced the crash:
- Open the ScrewDrivers Logs utility
- Create a ZIP archive that includes both log files and dump files
- Upload the ZIP to your support ticket
Additional Information
- Microsoft documentation: Collecting User-Mode Dumps
- Scope: These settings apply system-wide, not just to Tricerat applications
You might be surprised by how many non-Tricerat programs crash! You can send these dump files to other software vendors for their debugging efforts.