Windows 11 Kernel Memory Dump

Windows 11 Kernel Memory Dump

Use a Windows 11 kernel memory dump when the crash points to drivers or other kernel-mode failures. It is not a full image, and it needs a page file on the boot volume large enough for kernel memory. Without that setting, BSODs can leave you with no usable dump, which slows root-cause checks. This guide explains when to choose it, what must be configured, and how to confirm the dump after a crash.

What is a kernel memory dump?

A kernel memory dump records only kernel memory, leaves out user-mode memory, and is generally smaller and faster to write than a complete memory dump. On Windows 11, it is the default dump type for many crash workflows because it usually captures the data needed for post-crash debugging without the storage cost of a full image.

Key points: What is a kernel memory dump?

What it captures and what it leaves out

Kernel-mode code, drivers, kernel stacks, and related state are the main targets. User processes are not included, so it is a better fit for driver faults, kernel deadlocks, and stop errors that do not require every process page.

That tradeoff matters. A complete memory dump records all the contents of system memory, which can help when user-mode data is part of the failure, but it also needs a larger paging file and takes longer to write.

Kernel dump versus complete memory dump

Use a kernel dump when the error points to drivers, the scheduler, or other kernel components. Use a complete dump only when you need the entire memory image and can accept the storage and privacy cost.

A common first-timer mistake is choosing complete memory dump because it sounds more thorough, then discovering the machine cannot write it after a crash because the page file is too small. If the question is “what broke in kernel space?”, kernel memory dump is usually the right first choice.

Why Windows 11 often uses it by default

Kernel memory dump is useful for most purposes, and it is practical when you want enough crash data without the overhead of a full image. It is also easier to preserve on systems with modest storage because Windows writes less data during the crash sequence.

📊 A complete memory dump needs a paging file large enough for RAM plus 257 MB. Source: Microsoft.

Which dump type should you choose?

Choose the dump type by asking what data you need after the crash, how much disk space you can spare, and whether the machine must reboot quickly. Kernel memory dumps are the best default for many driver and BSOD investigations; complete dumps are the most detailed; small dumps are the lightest; automatic dumps are Windows’ adaptive choice.

Kernel memory dump

Pick this when you want kernel crash data and a file that is smaller and faster to write than a complete memory dump. It is the best fit for driver faults, bugchecks, and most post-crash debugging that does not depend on user-mode memory.

Complete memory dump

Pick this when the crash may depend on user processes, memory corruption across the full system image, or issues that require every page in RAM. The cost is storage and write time, and the page file requirement is much higher.

Small memory dump

Pick this when you want a compact record for triage or repeated crash history rather than a deep analysis image. It stores files in the Minidump folder and is best for quick pattern checks, not full kernel debugging.

Automatic memory dump

Pick this when you want Windows to manage the dump size based on available kernel memory and system conditions. Its CrashDumpEnabled value is 7, and it is useful when you want less manual tuning than a fixed kernel or complete dump choice.

Kernel memory dump decision table

This table maps the crash scenario to the dump type, the page-file minimum, the default file location, and the first validation command to run.

Crash scenarioDump typeRequired page-file minimumExpected file locationFirst validation command
Driver or kernel bugcheck on a standard troubleshooting systemKernel memory dumpEnough space for kernel memory%SystemRoot%\Memory.dmpdumpchk.exe %SystemRoot%\Memory.dmp
Need every page in RAM for full analysisComplete memory dumpPhysical RAM plus 257 MB%SystemRoot%\Memory.dmpdumpchk.exe %SystemRoot%\Memory.dmp
Need only a quick crash history and basic triageSmall memory dumpAt least 2 MB on the boot volume%SystemRoot%\Minidumpdumpchk.exe %SystemRoot%\Minidump\*.dmp
Want Windows to choose a practical dump size automaticallyAutomatic memory dumpEnough space for the dump Windows selects%SystemRoot%\Memory.dmpdumpchk.exe %SystemRoot%\Memory.dmp

If the dump file exists but the page file was too small or on the wrong volume, the file can be missing, truncated, or useless even after a visible crash. That is why the decision is really about both dump type and storage layout.

How do you enable or disable it in Windows 11?

Use Startup and Recovery for the normal path, and use the CrashControl registry key only when you need direct control over the values. Both methods change the same dump behavior, and a reboot is required before the new setting applies.

Startup and Recovery settings

  1. Open Startup and Recovery. Open System Properties, then choose the Startup and Recovery settings. This is the user-facing place to set the dump type without editing the registry directly.
  2. Choose the dump type. Set the write-debugging-information option to kernel memory dump, complete memory dump, small memory dump, or automatic memory dump. The choice controls what Windows writes after a bugcheck.
  3. Confirm the boot-volume page file. Make sure the page file is present on the boot volume and large enough for the chosen dump type. Without that, the setting can be correct but still fail at crash time.
  4. Restart Windows. Reboot so the crash-dump setting takes effect after the next startup cycle.

CrashDumpEnabled registry values

The CrashControl registry key is at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl. It controls CrashDumpEnabled, DumpFile, MinidumpDir, AutoReboot, and overwrite behavior.

  • 0 = None
  • 1 = Complete memory dump
  • 2 = Kernel memory dump
  • 3 = Small memory dump (64 KB)
  • 7 = Automatic memory dump

If you need to redirect files, change DumpFile for full and kernel dumps, and MinidumpDir for small dumps. Keep the path on a volume that is available during crash writing; moving the target to a location that is offline during a bugcheck defeats the setting.

AutoReboot and overwrite options

AutoReboot controls whether Windows restarts automatically after the crash. Overwrite behavior matters too, because repeated crashes can replace older evidence or fail to save a new file when the destination is not writable.

Suppose a workstation crashes twice in one morning and only the second stop error is still under review. If overwrite is not set the way you expect, the first dump may be replaced, and the crash record you wanted is gone.

Where are dump files saved?

Windows saves the default full or kernel dump as %SystemRoot%\Memory.dmp. Small dumps go to %SystemRoot%\Minidump, which keeps a history of repeated crash files. Those locations are the first places to check after a bugcheck.

Memory.dmp location

Memory.dmp is the default full/kernel dump file name, and the default path is under %SystemRoot%. Debugger tools use it for deeper analysis once the file has passed integrity checks.

Minidump folder location

The small-dump folder is %SystemRoot%\Minidump. It stores repeated small dump files, which makes it useful when you want to compare several crash events on the same machine.

Changing the dump path safely

Change the path only if the destination volume is available during boot and crash writing. If you move the dump to another disk, verify that the disk is online early in startup and has enough space for the chosen dump type.

What page file size does Windows need?

The page file must be large enough for the dump type you choose, and the boot volume matters because crash writing depends on it. A complete memory dump needs physical RAM plus 257 MB. A small memory dump needs at least 2 MB on the boot volume. Kernel dump size depends on kernel memory. (Microsoft Support)

Kernel dump requirements

A kernel dump does not have one fixed size figure, because its size depends on kernel memory. The practical rule is that the boot volume must have a page file large enough to hold the kernel memory Windows needs to write.

Complete dump requirements

A complete memory dump needs a paging file large enough for RAM plus 257 MB. That requirement is the main reason complete dumps fail more often on systems with tight storage.

Small dump requirements

A small memory dump requires at least 2 MB on the boot volume. That low threshold makes it easy to satisfy, but the tradeoff is a much smaller data set for analysis.

Why the boot volume matters

Windows writes the crash dump early in the recovery sequence, so the boot volume has to be ready. If the page file lives elsewhere or is too small, the dump may never finish even though the crash itself was real.

How do you verify the dump after a crash?

Use Dumpchk.exe first to confirm the file is in a good state, then use Windows Debugger for deeper analysis if the dump opens cleanly. If the file is corrupt or truncated, verify the path, page file, and overwrite settings before spending time on symbol-heavy debugging.

Using Dumpchk.exe

Dumpchk.exe verifies whether a memory dump file is in a good state. It is part of the Windows Debugging Tools, installed with the Windows SDK, and it does not require symbols to check corruption.

  1. Locate the file. Find %SystemRoot%\Memory.dmp for kernel or complete dumps, or the relevant file under %SystemRoot%\Minidump for small dumps.
  2. Run Dumpchk. Run dumpchk.exe against the file. If the file is intact, the tool should report a readable dump structure rather than obvious corruption.
  3. Check for truncation. If Dumpchk reports errors or the file size looks implausibly small, treat the dump as incomplete. That usually points back to storage, page file, or crash-write problems.

Using Windows debugger

Windows Debugger can load complete and kernel memory dumps for deeper analysis after verification. Use it when the file is readable and you need call stacks, faulting modules, or kernel state details that Dumpchk does not provide.

Picture a laptop that crashes with a driver bugcheck, then reboots to a missing Memory.dmp. The first checks are not debugger symbols or stack traces; they are the dump type, boot-volume page file, and whether the machine restarted before Windows could finish writing the file.

What corruption or truncation looks like

A corrupted dump often fails to open cleanly, while a truncated dump can be present but too small for the expected crash type. If the dump type is set correctly but validation fails, suspect the page file, the target path, or an unexpected reboot policy.

Keep reading

Frequently asked questions

What is a kernel memory dump in Windows 11?

A kernel memory dump is the default Windows crash file for many troubleshooting cases. It records only kernel memory, excludes user-mode memory, and is smaller and faster to write than a complete memory dump. That makes it practical for driver faults and most post-crash debugging tasks.

How do I tell if Windows 11 is generating kernel dumps or small dumps?

Check Startup and Recovery, then compare the active setting with the file location after a crash. Kernel and complete dumps write to %SystemRoot%\Memory.dmp, while small dumps go to %SystemRoot%\Minidump. The registry value CrashDumpEnabled should also match the chosen type.

Where are Windows 11 kernel dump files saved?

The default kernel dump file is %SystemRoot%\Memory.dmp. If the path has been changed in CrashControl, follow the configured DumpFile value instead. Small dumps are different and live under %SystemRoot%\Minidump.

How do I enable or disable kernel memory dumps in Windows 11?

Use Startup and Recovery to choose the dump type, or set CrashDumpEnabled under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl to the matching value. Kernel is 2, complete is 1, small is 3, automatic is 7, and none is 0. Reboot afterward.

What size page file does Windows need for a kernel memory dump?

There is no single fixed number for a kernel dump because the size depends on kernel memory. The page file must be large enough on the boot volume to hold that data. If you need a fixed size rule, complete dumps need physical RAM plus 257 MB, and small dumps need at least 2 MB on the boot volume.

Why would Windows 11 stop writing a dump after a crash?

Common causes are an undersized page file, a page file on the wrong volume, a disabled dump setting, a restart that happens too quickly, or an incorrect dump path. Check AutoReboot, the crash-dump type, and the DumpFile or MinidumpDir location before assuming the crash itself is the problem.

Similar Posts