Knowledgebase

status_loader

Configure WER to create CrashDumps

Question / Problem

TreeSize crashes on my system, but without triggering the included error reporting component. How can I set up Windows Error Reporting to create a crash dump for further investigation?

Answer / Solution

Thank you very much for your helpfulness.

The configuration of WER (Windows Error Reporting) to create a user-mode crash dump in case of an application crash is covered in this article from Microsoft in detail.

Basically, you need to create a new registry key for TreeSize.exe and define three values. You can copy these commands and run them in a commandline (cmd.exe) with administrator privileges to create the keys directly. You can also adjust the path to write the crash dumps to (just change D:\TreeSizeDumpFiles\):

reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\TreeSize.exe" /v DumpType /t REG_DWORD /d 2
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\TreeSize.exe" /v DumpCount /t REG_DWORD /d 3
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\TreeSize.exe" /v DumpFolder /t REG_EXPAND_SZ /d D:\TreeSizeDumpFiles\

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form