Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
BSOD troubleshooting

Enable or Disable Automatic Memory-Dump Deletion When Disk Space Is Low in Windows 11

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In Windows 11, the Disable automatic deletion of memory dumps when disk space is low checkbox controls whether Windows may remove crash-dump files to free space. Check it to retain dumps; clear it to allow automatic deletion. The setting does not turn dump creation on or off.

Quick answer

What you want Startup and Recovery checkbox Registry value
Allow automatic deletion when disk space is low Clear the checkbox AlwaysKeepMemoryDump=0
Keep dumps when disk space is low Select the checkbox AlwaysKeepMemoryDump=1

The value is under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl. The checkbox wording is easy to misread: selecting “Disable automatic deletion” means keep dumps rather than delete them. The registry mapping is described in Windows 11 tutorials and Microsoft’s registry example.

What this setting does—and does not do

A memory dump is diagnostic data Windows writes after a stop error (often called a blue screen or bug check). Depending on its type, it can contain stop information, kernel and driver data, or a much larger portion of system memory. Microsoft describes the available dump types in its memory dump file options.

This checkbox concerns retention during low-disk-space conditions. It does not enable dump generation, choose the dump type, prevent Windows from restarting, create additional storage, or set Windows Error Reporting upload behavior. Dump generation and automatic restart have separate controls, including CrashDumpEnabled and AutoReboot; see Microsoft’s system failure and recovery configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Change the setting in Windows 11

  1. Sign in with an administrator account.
  2. Press Win + I, then open System > About.
  3. Select Advanced system settings. In System Properties, open Advanced.
  4. Under Startup and Recovery, select Settings.
  5. Under System failure, select Disable automatic deletion of memory dumps when disk space is low to retain dumps, or clear it to allow automatic deletion.
  6. Select OK, then OK again. Restart Windows if prompted; Microsoft says a restart is required for startup and recovery changes to take effect.

If the Settings route differs on your Windows release, press Win + R, enter sysdm.cpl, and open Advanced > Startup and Recovery > Settings. The control and its location are also shown in the Windows 11 tutorial and the January 23, 2025 HTMD guide.

Set it through the registry or a script

Use an elevated Command Prompt or PowerShell session. Changes to HKLM require administrator rights. Set the value to 1 to keep dumps or 0 to allow automatic deletion.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Command Prompt

To disable automatic deletion and retain dumps:

reg add "HKLMSYSTEMCurrentControlSetControlCrashControl" /v AlwaysKeepMemoryDump /t REG_DWORD /d 1 /f

To enable automatic deletion:

reg add "HKLMSYSTEMCurrentControlSetControlCrashControl" /v AlwaysKeepMemoryDump /t REG_DWORD /d 0 /f

To verify the configured value:

reg query "HKLMSYSTEMCurrentControlSetControlCrashControl" /v AlwaysKeepMemoryDump

Expect 0x1 for retaining dumps or 0x0 for automatic deletion. Restart for the change to take effect. A deployment tool should not reboot a user’s device without notice and an appropriate maintenance window.

PowerShell

Run the appropriate command in an elevated PowerShell session:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
# Retain dumps; disable automatic deletion
New-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlCrashControl' -Name 'AlwaysKeepMemoryDump' -PropertyType DWord -Value 1 -Force

# Allow automatic deletion
New-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlCrashControl' -Name 'AlwaysKeepMemoryDump' -PropertyType DWord -Value 0 -Force

Verify with:

Get-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlCrashControl' -Name 'AlwaysKeepMemoryDump'

For Registry Editor, run regedit as administrator, navigate to the same CrashControl key, and set AlwaysKeepMemoryDump to the desired DWORD value. If it is absent, create a DWORD (32-bit) Value with that name. Setting it explicitly to 0 makes the intended behavior clear.

Know where Windows stores dumps

  • %SystemRoot%Memory.dmp—normally the location for kernel, automatic, active, and complete dumps; on a typical Windows installation this is C:WindowsMEMORY.DMP.
  • %SystemRoot%Minidump—normally where small dumps accumulate; typically C:WindowsMinidump.

These are defaults; configured paths can differ. Small dumps are separate files, so dump retention does not mean Windows keeps just one file in every configuration. Microsoft’s dump-type documentation and client configuration guide describe the locations and settings.

Rank #4
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

Choose a retention policy and dump type together

Situation Practical choice
Ordinary PC with limited system-drive space Leave automatic deletion enabled; collect needed dumps promptly.
Repeated blue screens or an active driver/kernel investigation Temporarily disable automatic deletion and arrange storage and cleanup.
Managed workstation with ample storage Retain dumps only with free-space monitoring and a defined cleanup policy.
Critically low system-drive space Free or add storage before forcing dump retention.
Privacy-sensitive device or vendor support case Use the requested dump type and protect access to the resulting files.

Dump size and diagnostic detail depend on the selected type:

  • Small dump: relatively small and easier to store, but includes less context.
  • Kernel dump: captures kernel memory and is often useful for operating-system and driver failures without the size of a complete dump.
  • Automatic dump: contains the same information as a kernel dump, while Windows manages page-file sizing differently. With a system-managed page file, Windows may enlarge it after a crash; Microsoft says the larger size can remain for four weeks before returning to the smaller size. See Automatic Memory Dump.
  • Active dump: filters out memory pages less likely to help analysis and is often smaller than a complete dump.
  • Complete dump: captures essentially system memory and can be very large, especially on a high-RAM device.

Microsoft’s kernel-mode dump types and dump-configuration recommendations explain the trade-offs. A complete dump needs adequate paging-file capacity on the boot volume; writing the final dump to another drive does not remove that requirement. Requirements vary by Windows version and configuration, so do not treat a single page-file size formula as universal.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot when a dump is missing

  1. Confirm the retention value and checkbox. Query AlwaysKeepMemoryDump and verify that the UI reflects the intended setting. Retention affects future low-space cleanup; it cannot restore a dump Windows already deleted.
  2. Confirm that Windows is configured to create a dump. In Startup and Recovery, inspect Write debugging information. The related registry value is CrashDumpEnabled; Microsoft documents values for no dump, complete, kernel, small, and automatic dumps. Active dumps use CrashDumpEnabled=1 with FilterPages=1.
  3. Check the page file and boot-volume capacity. An unsuitable page file or inadequate free space can prevent dump creation even when retention is enabled. Consult Microsoft’s dump configuration recommendations and kernel or complete dump guidance.
  4. Look in both default locations. Check C:WindowsMEMORY.DMP and C:WindowsMinidump, or the configured DumpFile and MinidumpDir paths. Overwrite is another related setting that can affect whether an existing dump is replaced.
  5. Check the deployment context. If a script did not apply, confirm it ran elevated and query the registry on the affected device. Windows Error Reporting policies concern crash-data collection or reporting and are not a substitute for this local retention value.

Small dumps contain less information than larger dumps; Microsoft’s small dump guidance explains their limits. If a support investigation needs a dump, copy it to another local disk or an approved support repository before cleaning up the system drive.

Deploy the setting across managed devices

The practical management route is to deploy the same registry DWORD using an elevated Intune remediation script, PowerShell, Configuration Manager baseline, Group Policy Preferences Registry, or another endpoint-management tool. The HTMD coverage says it did not identify a dedicated Group Policy or Intune control for this specific retention setting; that is not proof that no future or environment-specific policy exists. Its separate article on controlling dump collection using Intune addresses related management considerations.

Include value verification, free-space monitoring, a retention/cleanup plan, and a restart plan in deployment. Avoid applying dump-retention changes indiscriminately to devices with limited system storage.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$304.99
Bestseller No. 3
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$249.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

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

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.