Disabling crash dumps of applications on Windows 7

Stupid question: how can I prevent Windows 7 from saving a dump of a broken application?

I am experimenting with stack allocation in a C ++ application, so the toy program crashes a lot. And for every failure, Windows unloads memory in% USER% / AppData / Local / CrashDumps. This is about 150 MB each. How to disable this? I searched the Internet far away. The only thing I can find in Windows 7 is: System -> Advanced -> Startup and Recovery -> System crash crashes, and I already disabled them.

It’s not very much, it’s just annoying because it is sitting in my user profile.

+7
source share
3 answers

, , , - WER (Windows Error Reporting). , : http://www.techrena.net/windows/disable-windows-7-error-reporting/

  • Win + R, " Windows". "services.msc" "".
  • "", , Windows.
  • Windows "". "", "" . , "" "".
+6

, regedit :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl

, "CrashDumpEnabled" :

0 = None
1 = Complete memory dump
2 = Kernel memory dump
3 = Small memory dump (64KB)

, .

+1

In the section, HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reportingset the Disabledvalue REG_DWORDto1

Source: MSDN

0
source

All Articles