BSOD Enable or Disable Auto Deletion of Memory Dumps on Low Disk Space in Windows 11


  • Staff
BSOD_banner.png

A BSOD (blue screen of death) error (also called a stop error) can occur if a problem causes your PC to shut down or restart unexpectedly (aka: crash). When you experience this type of error, you won’t be able to see things like the Start menu or the taskbar on the screen when your PC is turned on. Instead you might see a blue screen with a message that your PC ran into a problem and needs to restart.

When hard drive space becomes low, the system automatically deletes both mini dumps in C:\Windows\minidump and full system dump in C:\Windows\MEMORY.DMP by default.

Dumps files are needed to help with BSOD debugging purposes.

This tutorial will show you how to enable or disable the automatic deletion of memory dumps when disk space is low in Windows 11.


You must be signed in as an administrator to enable or disable the automatic deletion of memory dumps when disk space is low.



Contents

  • Option One: Enable or Disable Auto Deletion of Memory Dumps on Low Disk Space in Advanced System Settings
  • Option Two: Enable or Disable Auto Deletion of Memory Dumps on Low Disk Space using REG file




Option One

Enable or Disable Auto Deletion of Memory Dumps on Low Disk Space in Advanced System Settings


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on About on the right side. (see screenshot below)


BSOD_auto_delete_memory_dumps_Settings-1.png

3 Click/tap on the Advanced system settings link, and close Settings. (see screenshot below)

BSOD_auto_delete_memory_dumps_Settings-2.png

4 In the Advanced tab of System Properties (SystemPropertiesAdvanced.exe), click/tap on the Settings button under Startup and Recovery. (see screenshot below)

BSOD_auto_delete_memory_dumps_Settings-3.png

5 Check or uncheck (default) Disable automatic deletion of memory dumps when disk space is low for what you want, and click/tap on OK. (see screenshot below)

BSOD_auto_delete_memory_dumps_Settings-4.png

6 Click/tap on OK. (see screenshot below)

BSOD_auto_delete_memory_dumps_Settings-5.png




Option Two

Enable or Disable Auto Deletion of Memory Dumps on Low Disk Space using REG file


1 Do step 2 (enable) or step 3 (disable) below for what you want.

2 Enable Auto Deletion of Memory Dumps on Low Disk Space

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Enable_automatic_deletion_of_memory_dumps_when_disk_space_is_low.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AlwaysKeepMemoryDump"=dword:00000000

3 Disable Auto Deletion of Memory Dumps on Low Disk Space

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Disable_automatic_deletion_of_memory_dumps_when_disk_space_is_low.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AlwaysKeepMemoryDump"=dword:00000001

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • BSOD.png
    BSOD.png
    5.2 KB · Views: 3
  • Disable_automatic_deletion_of_memory_dumps_when_disk_space_is_low.reg
    672 bytes · Views: 10
  • Enable_automatic_deletion_of_memory_dumps_when_disk_space_is_low.reg
    672 bytes · Views: 9
Last edited:
Top Bottom