How do I generate an application crash dump through Windows Error Reporting?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
5 min read
L2 Linker
No ratings
How do I get an application crash dump through Windows Error Reporting?

Steps

To get a Complete memory dump file, do the following:
 
1. Open Explorer
2. Find This PC then right click and select Properties
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002iflN.png
3. Select Advanced system settings
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002iflv.png
4. Under Startup and Recovery, select Settings
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002ifm0.png
5. In the Write debugging information section of the Startup and Recovery window, select Complete memory dump from the drop-down menu, then Click OK.
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002ifmA.png
In the Write debugging information section, you can select the folder where the created dump will be saved. You can specify any folder and filename in the corresponding field. Please note that at least 25 GB of free disk space is required to successfully save the full memory dump upon the stop error. By default, this file will be stored in the operating system folder (usually it is C:\Windows\) under the name MEMORY.DMP.
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002ifmF.png
 
Note: Windows Error Reporting (WER) can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes. Applications that do their own custom crash reporting, including .NET applications, are not supported by this feature. 
This feature is not enabled by default. Enabling the feature requires administrator privileges. To enable and configure the feature, use the following registry values under the 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps key.
6. The System Properties dialog window will prompt you to restart your computer. Click OK.
ka3Vy00000986OQIAY__eid=ka3Vy00000986OQ&feoid=00N2J000009R3kv&refid=0EM2J000002ifmK.png
7. Restart the machine
 
Wait until your operating system restarts.
Reproduce the problem once again.
Make sure the complete memory dump file has been created successfully.

You can archive the dump file to decrease its size.



NOTE: Sometimes, the LocalDumps key does not exist. If it does not, you can create it by right clicking on windows error reporting and selecting 'create new key'. The values you create should be as follows:


        1. String value DumpFolder with value C:\<dumplocation>. It is recommended you do not use root.
       2. DWORD32 value DumpCount - 10 (decimal)
       3. DWORD32 value DumpType - 2 (decimal) (2 is full dump, 1 is minidump)
       4. DWORD32 value CustomDumpFlags - 0 (decimal)


These changes will require a restart. Always back up the registry before making changes to it.

Q:

How do I get a complete memory dump?


A:

To get a Complete memory dump file, do the following:

  1. Click Start in the lower left corner of the screen.
  2. Right-click the Computer item and select Properties from the context menu.
  3. In the left menu of the window, click Advanced system settings.
  4. In the System Properties window, go to the Advanced tab.
  5. In the Startup and Recovery section of the Advanced tab, click Settings.
  6. In the Write debugging information section of the Startup and Recovery window, select Complete memory dump from the drop-down menu.
  7. Click OK.
    • In the Write debugging information section, you can select the folder where the created dump will be saved. You can specify any folder and filename in the corresponding field. Please note that at least 25 GB of free disk space is required to successfully save the full memory dump upon the stop error. By default, this file will be stored in the operating system folder (usually it is C:\Windows\) under the name MEMORY.DMP.
    • Note: Starting with Windows Server 2008 and Windows Vista with Service Pack 1 (SP1), Windows Error Reporting (WER) can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes. Applications that do their own custom crash reporting, including .NET applications, are not supported by this feature. 
    • This feature is not enabled by default. Enabling the feature requires administrator privileges. To enable and configure the feature, use the following registry values under the 
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps key.
    • Microsoft KB
  8. The System Properties dialog window will prompt you to restart your computer. Click OK.
  9. In the System Properties window, click OK.
  10. In the Microsoft Windows dialog window, click Restart Now.
  11. Wait until your operating system restarts.
  12. Reproduce the problem once again.
  13. Make sure the complete memory dump file has been created successfully.

You can archive the dump file to decrease its size.

NOTE: Sometimes, the LocalDumps key does not exist. If it does not, you can create it by right clicking on windows error reporting and selecting 'create new key'. The values you create should be as follows:

        1. String value DumpFolder with value C:\<dumplocation>. It is recommended you do not use root.

       2. DWORD32 value DumpCount - 10 (decimal)

       3. DWORD32 value DumpType - 2 (decimal) (2 is full dump, 1 is minidump)

       4. DWORD32 value CustomDumpFlags - 0 (decimal)


These changes will require a restart. Always back up the registry before making changes to it. This solution only works on Server 2008 or higher. Earlier versions of Windows do not recognize Windows dumpfile registry keys.

Rate this article:
  • 10911 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 12:10 PM
Updated by: