Fix Dump File Creation Failed Error in Windows
In this article
This guide walks you through resolving the “Dump File Creation Failed” error in Windows. This error typically appears when the system cannot write a memory dump file after a crash, often due to insufficient disk space, incorrect virtual memory settings, or permission issues. By following these steps, you can restore your system's ability to create dump files, which are essential for diagnosing blue screen errors.
What You'll Need
- Administrator account access on your Windows PC
- At least 10 GB of free space on your system drive (C:)
- Basic familiarity with Windows Settings and Control Panel
Step-by-Step
- Free up disk space on the system drive. Open File Explorer, right-click on your C: drive, and select Properties. If the free space is below 10 GB, delete temporary files, clear the Recycle Bin, or use the built-in Disk Cleanup tool (search for it in the Start menu). Dump files can be large (several GB), so ensure ample room.
- Check and adjust virtual memory settings. Press Win + R, type
sysdm.cpl, and press Enter. Go to the Advanced tab, click Settings under Performance, then go to the Advanced tab again and click Change under Virtual memory. Uncheck “Automatically manage paging file size for all drives.” Select your C: drive, choose Custom size, and set the initial and maximum size to 1.5 times your RAM (e.g., for 16 GB RAM, set both to 24576 MB). Click Set, then OK, and restart your PC. - Verify the dump file location and permissions. In the same Startup and Recovery window (from step 2, click Settings under Startup and Recovery), ensure “Write debugging information” is set to Automatic memory dump (or Kernel memory dump). The dump file path should be
%SystemRoot%\MEMORY.DMP. Make sure theC:\Windows\Minidumpfolder exists; if not, create it. Right-click the folder, go to Properties > Security, and ensure the SYSTEM account has Full control. - Run the System File Checker (SFC) and DISM. Open Command Prompt as administrator (right-click Start, select Command Prompt (Admin) or Windows PowerShell (Admin)). Run
sfc /scannowand wait for it to complete. Then runDISM /Online /Cleanup-Image /RestoreHealth. These tools repair corrupted system files that might prevent dump file creation. - Check for third-party antivirus interference. Some security software blocks access to system files. Temporarily disable your third-party antivirus (not Windows Defender) and test if the error persists. If it disappears, add an exception for
C:\Windows\MEMORY.DMPand theMinidumpfolder in your antivirus settings. - Adjust registry settings (advanced). Press Win + R, type
regedit, and press Enter. Navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl. Ensure theCrashDumpEnabledvalue is set to 1 (or 2 for kernel dump, 7 for automatic). Also check thatDumpFilepoints to%SystemRoot%\MEMORY.DMP. If any value is missing, create it as a DWORD (32-bit) or expandable string as appropriate. Close the registry editor. - Update storage drivers. Outdated or faulty disk drivers can cause write failures. Open Device Manager (right-click Start), expand Disk drives, right-click your primary drive, and select Update driver. Choose “Search automatically for drivers.” Restart your PC after updating.
- Perform a clean boot. To isolate software conflicts, press Win + R, type
msconfig, and go to the Services tab. Check “Hide all Microsoft services,” then click Disable all. Go to the Startup tab and click Open Task Manager. Disable all startup items. Restart your PC. If the error is gone, gradually re-enable services and startup items to find the culprit.
Common Mistakes
- Setting virtual memory too low. Some users set the paging file to “No paging file” or a size smaller than the RAM. Windows needs a page file at least as large as your RAM for kernel dumps.
- Ignoring disk space. Dump files can be several gigabytes. Assuming a few hundred MB free is enough is a frequent error.
- Editing the registry without backing up. Incorrect registry changes can make Windows unbootable. Always export the
CrashControlkey before modifying it. - Forgetting to restart after changing virtual memory. Changes to paging file settings only take effect after a reboot.
- Using the wrong dump type. Selecting “Small memory dump” (256 KB) may not capture enough information for troubleshooting, but it also requires less space. If you need full crash analysis, use Automatic or Kernel dump.
Tips
- Keep at least 20 GB of free space on your system drive to avoid future dump failures.
- If you use a SSD, enable TRIM (usually on by default) to maintain performance and write reliability.
- Test your RAM with Windows Memory Diagnostic (search “Windows Memory Diagnostic” in Start) to rule out hardware issues that cause crashes and dump failures.
- Regularly run SFC and DISM as part of maintenance to keep system files healthy.
Troubleshooting
If the error persists after following all steps, try these additional checks:
- Check the Event Viewer. Open Event Viewer (search in Start), go to Windows Logs > System, and look for errors with source “BugCheck” or “Disk” around the time of the failure. The event details may point to a specific driver or hardware issue.
- Verify the page file is on the system drive. If you moved the page file to another drive, dump files may not be created. Ensure the paging file is set for the C: drive.
- Check for disk errors. Run
chkdsk /f /rfrom an elevated command prompt. This scans for bad sectors and file system corruption. You may need to restart to schedule the scan. - Reinstall the chipset drivers. Download the latest chipset drivers from your motherboard manufacturer's website. Storage controller issues can prevent writes.
- Disable Fast Startup. In Control Panel > Power Options > Choose what the power buttons do, click “Change settings that are currently unavailable,” and uncheck “Turn on fast startup.” This can resolve some shutdown/restart anomalies.
Frequently Asked Questions
What does “Dump File Creation Failed” mean?
It means Windows could not write a memory dump file (a snapshot of RAM) to your hard drive after a system crash. This often happens when there's not enough disk space, the page file is too small, or the system lacks permission to write to the dump location.
Where are dump files saved?
By default, the main memory dump is saved at C:\Windows\MEMORY.DMP. Small memory dumps (minidumps) are saved in C:\Windows\Minidump.
Can I delete old dump files to free space?
Yes. You can safely delete MEMORY.DMP and the contents of the Minidump folder. They are only used for debugging and are not needed for normal operation.
How much disk space is needed for a dump file?
It depends on your RAM size. An automatic dump file is roughly the size of your RAM (e.g., 16 GB for 16 GB RAM). A kernel dump is smaller (usually a few hundred MB). Ensure you have at least that much free space.
What is the difference between a kernel dump and a minidump?
A kernel dump contains memory used by the kernel and drivers, which is useful for diagnosing most crashes. A minidump is a small file (256 KB) with limited information, often enough for basic analysis. For deep troubleshooting, use kernel or automatic dumps.
Will fixing this error prevent future crashes?
No. Fixing the dump file creation error only ensures that crash data is saved when a crash occurs. It doesn't prevent the crash itself. You still need to analyze the dump file to find the root cause of the blue screen.