Configure Crash Dumps with Windows Error Reporting

%3CLINGO-SUB%20id%3D%22lingo-sub-1554204%22%20slang%3D%22en-US%22%3EConfigure%20Crash%20Dumps%20with%20Windows%20Error%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1554204%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20config%20the%20WER%20for%20crash%20dumps%3F%26nbsp%3B%20As%20explained%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fwer%2Fwindows-error-reporting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fwer%2Fwindows-error-reporting%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20an%20application%20would%20have%20to%20edit%20the%20registry%20in%20the%20following%20way%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E%5BHKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CWindows%5CWindows%20Error%20Reporting%5CLocalDumps%5CMyApplication.exe%5D%0A%22DumpType%22%3Ddword%3A00000002%0A%22DumpCount%22%3Ddword%3A00000002%0A%22DumpFolder%22%3Dhex(2)%3A...%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20obviously%20need%20admin%20rights%20to%20hit%20HKLM.%26nbsp%3B%20Can%20this%20be%20accomplished%20somehow%20during%20install%20so%20it%20is%20outside%20the%20VFS%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Senior Member

Is it possible to config the WER for crash dumps?  As explained:

 

https://docs.microsoft.com/en-us/windows/win32/wer/windows-error-reporting

 

For example, an application would have to edit the registry in the following way:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyApplication.exe]
"DumpType"=dword:00000002
"DumpCount"=dword:00000002
"DumpFolder"=hex(2):...

 

This obviously need admin rights to hit HKLM.  Can this be accomplished somehow during install so it is outside the VFS?

0 Replies