Configure Windows Crash Dump Settings with Regedit
This guide explains how to use the Windows Registry Editor (Regedit) to customize system crash dump settings. When Windows encounters a Blue Screen of Death (BSOD), it writes diagnostic information to a memory dump file. By modifying specific registry keys, you can specify the type of dump file generated, change the file save location, enable or disable automatic restarts, and manage overwrite rules.
Navigating to the CrashControl Registry Key
To modify the crash dump configuration, you must navigate to the
CrashControl key in the Windows Registry:
Press Win + R, type
regedit, and press Enter to open the Registry Editor.In the navigation bar, paste or browse to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
Adjusting Dump File
Types (CrashDumpEnabled)
The CrashDumpEnabled DWORD (32-bit) value determines the
type and size of the memory dump created during a crash. Double-click
CrashDumpEnabled and set its Value data to
one of the following integers:
0- None: Disables memory dump creation entirely.1- Complete Memory Dump: Records all physical memory contents. This creates the largest file and requires a paging file at least the size of your installed RAM.2- Kernel Memory Dump: Records only kernel-mode memory. This is smaller than a complete dump and captures most data needed for driver debugging.3- Small Memory Dump (Minidump): Records the smallest set of useful information (headers, loaded drivers, and process contexts), typically 256 KB to 1 MB in size.7- Automatic Memory Dump: Default in modern Windows versions; captures kernel memory while optimizing paging file utilization.
Customizing Dump Storage Locations
You can change where Windows writes crash data by modifying the path strings in the same registry key:
- Standard Dump Path (
DumpFile):- Type:
REG_EXPAND_SZ - Default:
%SystemRoot%\MEMORY.DMP - Double-click
DumpFileto enter a custom absolute path (e.g.,D:\Dumps\MEMORY.DMP).
- Type:
- Minidump Directory (
MinidumpDir):- Type:
REG_EXPAND_SZ - Default:
%SystemRoot%\Minidump - Double-click
MinidumpDirto enter a custom folder path where small dump files will be cataloged.
- Type:
Additional Crash Behavior Settings
The CrashControl key contains other DWORD values to
control system behavior during a failure:
AutoReboot:1= The system automatically restarts immediately after writing the dump.0= The system stays on the BSOD screen until manually powered off or reset.
Overwrite:1= Overwrites the existingMEMORY.DMPfile when a new crash occurs.0= Prevents overwriting (the new dump will fail to write if an existing file is present).
Applying the Changes
After adjusting the required values in the Registry Editor, close
regedit and restart the computer. Windows reads these
settings at boot, so a restart is required for the new crash dump
configuration to take effect.