DumpCount, DumpFolder for WER on Windows 2012 R2 server not working

kiran napit 1 Reputation point
2021-02-09T05:23:31.813+00:00

I have an application which crashes every time on win 2012 server and generates a huge amount of dumps in the app folder. To restrict this to a minimum, I have been trying to set DumpCount and LocalDumps settings as per article here but doesn't help, dumps are generated too many and causing disk problems.

https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps https://learn.microsoft.com/en-us/windows/win32/wer/wer-settings

Notice that I have set registry as
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyApp.exe

and within this MyApp.exe with parameters below
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\CrashMe.exe]
"DumpFolder"=hex(2):43,00,3a,00,5c,00,54,00,65,00,6d,00,70,00,5c,00,64,00,75,\
00,6d,00,70,00,73,00,00,00
"DumpType"=dword:00000002
"DumpCount"=dword:00000003

Even I did try settings in HKCU and WOW6432Node note, restart but doesn't help.

Also, notice that I did testing on Win10 client, it works there!

Note that I have full read/write access on local app folder and c:\temp where I am trying to generate dumps

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mico Mi 1,936 Reputation points
    2021-02-09T07:59:55.47+00:00

    Hi,
    Did you try to install Debug Diag 2.0 and set the maximum userdump limit? Please check the following doc:
    Steps to Catch a Simple “Crash Dump” of a Crashing Process

    https://learn.microsoft.com/zh-cn/archive/blogs/chaun/steps-to-log-all-net-exceptions-to-a-log-file-with-debug-diag-2-0

    Thanks for your time!
    Best Regards,
    Mico Mi

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.