Windows will automatically delete dump files on low disk space. Here's how to disable automatic deletion of memory dumps on low disk space in Windows 10/8.

We all know that dump files in Windows are helpful for analysis of system crashes/failures. Earlier, we’ve shared you following article regarding dump files:

How To Allow Or Prevent Windows 10 To Create Dump Files

If your system is low on disk space, Windows will automatically delete memory dumps. Memory dump files may sometimes grow to a larger size. The size of these dump files are dependent upon size of paging file and the type of dumps you’ve allowed as mentioned in above linked guide.

So if you come to a situation when you system is low on disk space but you still need memory dumps for crash analysis, you can try below mentioned registry manipulation to keep dump files. You can then delete dumps manually at %SYSROOT%\MEMORY.DMP.

How To Disable Automatic Deletion Of Memory Dumps On Low Disk Space

Method 1 – Via System Properties

1. Press W8K + R and type SYSDM.CPL in Run. Click OK or press Enter key.

System Properties Windows 10

2. In System Properties window, switch to Advanced tab and under Startup and recovery heading, click Settings.

How To Disable Automatic Deletion Of Memory Dumps On Low Disk Space

3. In Startup and Recovery window, under System failure, check Disable automatic deletion of memory dumps when disk space is low option. Click OK.

How To Disable Automatic Deletion Of Memory Dumps On Low Disk Space

Close System Properties window and return to Desktop, if you like.

Method 2 – Via Registry

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In left pane of Registry Editor window, navigate to following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl

How To Disable Automatic Deletion Of Memory Dumps On Low Disk Space

3. In the right pane of CrashControl registry key, double click on registry DWORD (REG_DWORD) named AlwaysKeepMemoryDump to modify its Value data:

How To Disable Automatic Deletion Of Memory Dumps On Low Disk Space

4. Set the Value data to 1 and click OK. Close Registry Editor, reboot to make changes effective.

That’s it!

Share this post on Facebook · Twitter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Comments

  • Kapil Arya : ^^ Try Network Adapter troubleshooter and let me know it reports back....

    54 mins ago

  • Kapil Arya : ^^ If Windows.old or LocalState folder is completely empty, I am not a...

    56 mins ago

  • Kapil Arya : ^^ What is current build/version you're on? Have you tried Windows Upd...

    59 mins ago

  • Himangi : I have same issue after update win 10, v 1903. My windows.old for Loca...

    14 hours ago

  • Abhigna Upadhyaya : Tried both the fixes still the I'm getting the same errors. I am curre...

    1 day ago