- set -o nounset
- # dumps will go to /cygdrive/c/Users/$(logname)/AppData/CrashDumps
- mkdir -v -p "$(cygpath -u "$LOCALAPPDATA")/CrashDumps"
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps'
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/bash.exe'
- regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/bash.exe/DumpType' 2
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/ksh93.exe'
- regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/ksh93.exe/DumpType' 2
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd.exe'
- regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd.exe/DumpType' 2
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd_debug.exe'
- regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd_debug.exe/DumpType' 2
- regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/a.exe'
- regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/a.exe/DumpType' 2
Script to configure Windows "LocalDumps"
Posted by Anonymous on Thu 1st Feb 2024 12:06
raw | new post
view followups (newest first): Script to configure Windows "LocalDumps" by Anonymous
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.