pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


Script to configure Windows "LocalDumps"
Posted by Anonymous on Thu 1st Feb 2024 12:03
raw | new post
view followups (newest first): Script to configure Windows "LocalDumps" by Anonymous

  1. set -o nounset
  2.  
  3. mkdir -v -p "$(cygpath -u "$LOCALAPPDATA")/CrashDumps"
  4. regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps'
  5. regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/bash.exe'
  6. regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd.exe'
  7. regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd.exe/DumpType' 2
  8. regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd_debug.exe'
  9. regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/nfsd_debug.exe/DumpType' 2
  10. regtool add '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/a.exe'
  11. regtool -i set '/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Windows Error Reporting/LocalDumps/a.exe/DumpType' 2

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at