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
3. Select Advanced system settings
4. Under Startup and Recovery, select Settings
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.
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: 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.
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:
- Click Start in the lower left corner of the screen.
- Right-click the Computer
item and select Properties from the
context menu.
- In the left menu of the window, click Advanced system settings.
- In the System Properties window, go to the Advanced
tab.
- In the Startup and Recovery section of the Advanced
tab, click Settings.
- In the Write debugging information
section of the Startup and Recovery window,
select Complete memory dump from the drop-down menu.
- 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
- The System Properties dialog window will prompt you to restart your computer. Click OK.
- In the System Properties window, click OK.
- In the Microsoft Windows dialog window, click Restart
Now.
- 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. This solution only works on Server 2008 or higher. Earlier versions of Windows do not recognize Windows dumpfile registry keys.