当前位置:网站首页>Process crash does not generate dump. Configure localdumps

Process crash does not generate dump. Configure localdumps

2022-06-23 21:00:00 shawyang

process crash, Usually go to these directories to find information :

%LOCALAPPDATA%\CrashDumps

%ProgramData%\Microsoft\Windows\WER

%userprofile%\AppData\Local\Microsoft\Windows\WER

%LOCALAPPDATA%\CrashDumps

Reference resources https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

Reference resources https://publib.boulder.ibm.com/httpserv/ihsdiag/win32_tools_doc.html

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /f

# by httpd.exe Set up , If you are another program , Replace program name , Pay attention to the suffix , such as notepad.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /f

# Set up crashdump For storing directories , The default is %LOCALAPPDATA%\CrashDumps, It can be assigned to another directory , such as C:\crashdumps

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /v DumpFolder /t REG_EXPAND_SZ /d "%LOCALAPPDATA%\CrashDumps" /f

or

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /v DumpFolder /t REG_EXPAND_SZ /d "C:\crashdumps" /f

# Set up crashdump Maximum number of , Beyond , The new covers the old

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /v DumpCount /t REG_DWORD /d "100" /f

# Set up crashdump type , The default is minidump,1 representative minidump,2 representative fulldump

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /v DumpType /t REG_DWORD /d "1" /f

or

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\httpd.exe" /v DumpType /t REG_DWORD /d "2" /f

原网站

版权声明
本文为[shawyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112281545012533.html