This article explains how to generate crash dump files on a Windows machine.

Enable crash dumps

Crash dumps are not enabled by default on Windows. Enabling this feature requires administrator privileges. Below are the steps to enable crash dumps.

Note:

This information is derived from Microsoft web page. If any issues arise, contact Microsoft support.

  1. Open the Registry Editor.

    Follow the steps below to open the Registry Editor:

    1. Press Win + R  to open the Run command box.
    2. Type regedit in Run window and hit enter.
    3. Click Yes in User Control Window pop-up box.
  2. Back up the Windows Error Reporting key.

    Before making any changes to the Registry Editor, it is advised to back up the registry key you are going to edit. Below are the steps to take back up:

    1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\.
    2. Right click the Windows Error Reporting key.
    3. Select Export and save the .reg file on desktop.
    backup
  3. Create LocalDumps key.

    Follow the steps below for the same:

    1. Navigate to the location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting.
    2. Select the Windows Error Reporting key and create a new key named LocalDumps if it is not there already:

    1. Right-click Windows Error Reporting.

    2. Select New and then Key.

    3. Name the key as LocalDumps.

    createkey

    Note:

    Ensure to back up the Windows Error Reporting key before creating the new key.

  4. Create registry values in the LocalDumps key.

    Select the LocalDump key and create three registry values as mentioned below:

    • DumpFolder Registry Value
    1. Right click in the blank area on the right side and select New Expandable String Value
    2. Name it as DumpFolder
    3. Double click it and enter %LOCALAPPDATA%\CrashDumps in the Value data field
    • DumpCount Registry Value
    1. Right click in the blank area on the right side and select NewDWORD (32-bit) value
    2. Name it as DumpCount
    3. Double click it and enter 10 in the Value data field
    • DumpType Registry Value
    1. Right click in the blank area on the right side and select New DWORD (32-bit) value
    2. Name it as DumpType
    3. Double click it and enter in the Value data field
    createvalue

Collect crash dumps

Once you have followed the steps mentioned in the Enable crash dumps section, reproduce the crash of the software and collect the related .dmp file with the software name from %LocalAppData%/crashdumps.

To do so, you can go to Start > Run > %LocalAppData%/CrashDumps > OK

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy