WER is creating memory dumps after an application hangs. When Windows shows the dialog box ApplicationName is not responding, if the user clicks Close the program, I can see .hdmp files being created in C:\ProgramData\Microsoft\Windows\WER\Temp
. After it sends them to Microsoft, this folder is created: C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppHang_WindowsFormsApp5_823dc9208bf3a14f898f39469b7b6a0c6f17c7_3db8b24d_07a39f1b
. However, this folder only has a .wer file with a summary.
Can Windows Error Reporting be configured to keep the memory dumps capturing the unresponsive application on the local disk?
I have already tried Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
, but it is only creating dumps for crashes, not hangs.