Advertisement

Disable Auto Deletion of Memory Dumps on Low Disk Space in Windows 10

How to Disable Automatic Deletion of BSOD Memory Dumps on Low Disk Space in Windows 10

With the default settings, Windows 10 performs an automatic restart when a blue screen of death (BSOD) crash happens. It show the crash code to the user, and then creates a minidump of the RAM, and then it restarts. Windows 10 automatically deletes old memory dumps, but you can change this behavior.

Advertisеment

Windows creates memory dump files for diagnostic purposes. Using them, it is often possible to find what caused the BSoD, e.g. a problematic driver of a device installed in your computer. The process of creation of memory dumps is enabled by default, and doesn't require the user to enable it.

Windows writes memory dumps under the following locations:

  • Mini dumps go to the folder c:\Windows\minidump.
  • A full memory dump, when enabled, goes to the file C:\Windows\MEMORY.DMP.

If your device has less than 25GB free space on the system partition, Windows will erase dumps automatically. The operation can be spotted under the Event Viewer with Event ID 1018.

Memory dumps are often required by developers. They can create them intentionally by manually enabling Crash on Ctrl+Scroll Lock. In this case, it can be a good idea to leave them in place instead of having them deleted automatically.

To Disable Auto Deletion of Memory Dumps on Low Disk Space in Windows 10,

  1. Press the Win + R keys on the keyboard to open the Run dialog.
  2. Type systempropertiesadvanced into the Run box.
  3. On the Advanced tab of System Properties, click on the Settings button under Startup and recovery.User Profiles Settings Button System PropertiesWindows 10 System Properties Advanced Settings Button Startup And Recovery
  4. On the next page, turn on (check) the option Disable automatic deletion of memory dumps when disk space is low.Windows 10 Disable Auto Deletion Of Memory Dumps On Low Disk Space
  5. You are done!

The option can be re-enabled at any time later.

Alternatively, you can enable or disable it using a Registry tweak. Here's how it can be done.  You can also download ready-to-use Registry files.

Disable Auto Deletion of Memory Dumps on Low Disk Space in Registry

  1. Open the Registry editor.
  2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl. Tip: See how to open the desired registry key with one click.
  3. Modify or create a new 32-bit DWORD value named AlwaysKeepMemoryDump and set to 1. Note: Even if you are running 64-bit Windows you must still create a 32-bit DWORD value.Windows 10 Disable Auto Deletion Of Memory Dumps In Registry
  4. This will prevent Windows 10 from removing memory dumps on the low disk event.

You are done! To undo the change, set the AlwaysKeepMemoryDump value to 0.

Finally, here are the ready-to-use Registry files, including the undo tweak.

Download Registry Files

That's it!

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.