Disable Automatic Deletion of Memory Dumps in Win 10?
In this article
Yes, you can disable the automatic deletion of memory dumps in Windows 10, and for most users it is safe to do so. This setting controls whether Windows clears the system crash dump file (usually C:\Windows\MEMORY.DMP) after a certain period or when disk space runs low. By default, Windows 10 uses Storage Sense to delete memory dumps older than 30 days, but you can turn that off or adjust the timeframe to keep crash data longer for troubleshooting.
What Are Memory Dumps and Why Does Windows Delete Them?
A memory dump is a snapshot of your computer's RAM at the moment of a system crash (a Blue Screen of Death). Windows saves it to a file so you or a technician can analyze what caused the crash. The main dump file is C:\Windows\MEMORY.DMP, and there are also smaller minidumps in C:\Windows\Minidump.
Windows 10's Storage Sense feature automatically cleans up these files to free disk space. By default, it deletes memory dumps that are older than 30 days. This is part of the “Storage Sense” cleanup schedule, not a separate setting. For most users, this automatic deletion is harmless—crash dumps are only useful for diagnosing a recent problem. But if you are actively debugging a recurring crash or want to keep historical data, you can disable it.
How to Disable Automatic Deletion (Step-by-Step)
There are two main ways to stop Windows from deleting memory dumps automatically. The first is through the Settings app, and the second is via the Registry Editor. Both are straightforward, but the Settings method is safer for beginners.
Method 1: Using Settings (Recommended)
- Open Settings (press
Win + I). - Go to System > Storage.
- Click Configure Storage Sense or run it now.
- Under Cleanup of temporary files, find Delete files in my recycle bin if they have been there for over and Delete files in my Downloads folder if they have been there for over—these are not what you need. Look for Delete previous versions of Windows and Delete system crash dump files.
- Toggle Delete system crash dump files to Off.
If you don’t see the crash dump option, it may be because your system drive is not running low on space, or Storage Sense is not fully enabled. In that case, you can use the Registry method below.
Method 2: Registry Editor
- Press
Win + R, typeregedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy. - Look for a DWORD value named
01(or create it if missing). - Set its value to
0to disable automatic deletion of memory dumps. A value of1enables it. - Close the Registry Editor and restart your PC.
Note: The Registry path can vary slightly across Windows 10 versions. If you don’t find the exact key, you can also use Group Policy Editor (available in Pro/Enterprise) to configure Storage Sense, but the Settings method is simpler.
What Happens If You Disable It?
When you disable automatic deletion, Windows will no longer remove memory dump files on its own. This means:
- Memory dumps will accumulate until you manually delete them.
- Each full memory dump can be as large as your RAM size (e.g., 16 GB). Minidumps are much smaller (a few hundred KB).
- If your system drive runs out of space, Windows may fail to write new dumps, which can hinder crash analysis.
- You can always delete them manually via Disk Cleanup or by deleting the files in File Explorer.
For most users, keeping the automatic deletion enabled is fine. Disabling it only makes sense if you need to keep crash data for a long time or if you are debugging a specific issue and want to ensure the dump isn’t removed before you can analyze it.
Common Problems and Misconceptions
Misconception: Disabling deletion will prevent Windows from creating dumps. That’s false. The setting only controls cleanup, not creation. Windows will still write crash dumps when a crash occurs.
Problem: I disabled it but dumps still disappear. Check if you have third-party cleanup tools (like CCleaner) that also remove dump files. Also, Windows Update may reset Storage Sense settings after a feature update.
Problem: I can’t find the “Delete system crash dump files” toggle. This option appears only when Storage Sense is turned on. If it’s off, the automatic deletion isn’t happening anyway, so you don’t need to disable it.
How to Manually Delete Memory Dumps
If you decide to keep automatic deletion off, you’ll need to clean up dumps manually to avoid disk clutter. Here’s how:
- Open File Explorer and navigate to
C:\Windows\MEMORY.DMPandC:\Windows\Minidump. - Right-click the files and select Delete (you may need administrator permission).
- Alternatively, use Disk Cleanup: type “Disk Cleanup” in the Start menu, select your system drive, and check “System error memory dump files” and “System error minidump files”.
Be careful not to delete the MEMORY.DMP file if you plan to send it to Microsoft or a support forum—once deleted, it’s gone.
Should You Disable It? Pros and Cons
Weigh the trade-offs before changing the setting.
- Pros of disabling: You keep crash dumps for as long as you want, which is essential for deep debugging or for providing evidence to support. You also avoid the surprise of a dump being deleted before you can analyze it.
- Cons of disabling: Disk space can fill up quickly, especially with full dumps. You must remember to manually clean them. If you forget, you might run out of space and cause new problems.
For the average user, the automatic deletion is a helpful feature. Only disable it if you have a specific need to retain crash data.
Alternatives to Disabling
If you want to keep dumps longer but not forever, you can adjust the deletion period instead of turning it off entirely. In the Storage Sense settings, you can change the “Delete system crash dump files” dropdown from “1 day” to “14 days”, “30 days”, “60 days”, or “Never”. Choosing “Never” is the same as disabling, but it’s done from the same menu.
Another alternative is to move the dump location to a different drive with more space. This is done in System Properties > Advanced > Startup and Recovery Settings, but it requires a registry tweak and is not officially supported in Windows 10. Most users won’t need this.
Frequently Asked Questions
Q: Will disabling automatic deletion slow down my PC?
A: No. The setting only affects file cleanup. It has no impact on performance.
Q: Can I delete memory dumps manually without any risk?
A: Yes, as long as you don’t need them for troubleshooting. Deleting them frees disk space and does not affect system stability.
Q: Why are memory dumps created in the first place?
A: They are created when Windows encounters a critical error (BSOD) and needs to record the state of memory for debugging. They are not created during normal operation.
Q: Does disabling automatic deletion also stop the creation of minidumps?
A: No. Minidump creation is controlled by a separate setting in Startup and Recovery. The automatic deletion setting only affects cleanup.
Q: How much disk space do memory dumps use?
A: A full memory dump is roughly the size of your RAM (e.g., 8 GB RAM = ~8 GB dump). Minidumps are only 256 KB to 1 MB each. The actual size can vary.
Q: I disabled it but dumps are still being deleted after 30 days. What gives?
A: Check if Storage Sense is still enabled and if any other cleanup tool (like Disk Cleanup scheduled task) is running. Also, ensure you toggled the correct setting—there is also a separate “Delete previous versions of Windows” option that might be confusing.