TechBuzzPro

Live Kernel Dump in Windows 11: How to Enable It

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can create a live kernel dump file in Windows 11 by configuring advanced startup and recovery settings. This dump captures the current state of the kernel memory while the system remains functional, which is useful for diagnosing system hangs or performance issues without forcing a full crash. Unlike a complete memory dump, a live kernel dump does not restart the system, making it ideal for troubleshooting when a reboot would erase critical data. Before enabling it, ensure you have administrative access and sufficient disk space on the system drive.

What You'll Need

  • Administrator account on the Windows 11 device
  • At least 1–2 GB of free space on the system drive (usually C:\)
  • Access to System Properties and Recovery settings
  • Optional: Debugger tools like WinDbg for analyzing the dump later

Step-by-Step

  1. Press Windows + I to open Settings, then go to System > About. Click Advanced system settings on the right.
  2. In the System Properties window, go to the Advanced tab. Under the Startup and Recovery section, click the Settings button.
  3. In the Startup and Recovery window, scroll down to the Write debugging information section. From the dropdown menu, select Kernel memory dump. This ensures only kernel-level data is captured, reducing file size and write time.
  4. Check the box labeled Write an event to the system log to help track when a dump occurs. Optionally, check Overwrite any existing file to prevent multiple dump files from consuming space.
  5. Ensure the dump file path is set correctly. By default, it should be C:\Windows\MEMORY.DMP. Do not change this unless you have a specific reason and understand the implications.
  6. Click OK to save changes in the Startup and Recovery window, then click OK again in System Properties.
  7. To trigger a live kernel dump without a crash, open Command Prompt or PowerShell as an administrator. Run the command: echo 1 > \\.\\GLOBALROOT\\Device\\CrashDump. This forces Windows to generate the dump immediately.
  8. Wait for the process to complete. The system will write the dump file to the specified location. During this time, performance may slow, but the system will remain operational.
  9. Once complete, verify the file exists at C:\Windows\MEMORY.DMP. It should be several hundred MB to a few GB, depending on system memory usage.
  10. If analyzing the dump, use Microsoft’s WinDbg or similar tools from the Windows SDK. Open the file and run analysis commands like !analyze -v to review kernel state.

Common Mistakes

  • Selecting Complete memory dump instead of Kernel memory dump, which results in a much larger file and unnecessary data collection.
  • Running the echo command without administrative privileges, which will fail silently or return access denied.
  • Assuming the dump triggers automatically during normal operation — it does not. You must manually invoke it using the command.
  • Forgetting to check disk space, leading to incomplete or failed dump generation.
  • Changing the dump file path to a network location or non-system drive, which Windows does not support for live kernel dumps.

Tips

  • Use Kernel memory dump for most troubleshooting — it’s faster and contains all necessary kernel data without user process overhead.
  • Enable Write an event to the system log so you can confirm the dump was created by checking Event Viewer under Windows Logs > System.
  • If you plan to generate dumps frequently, ensure Overwrite any existing file is checked to avoid cluttering the system drive.
  • After analysis, delete the dump file manually to reclaim space, as Windows does not remove it automatically.
  • Use WinDbg Preview from the Microsoft Store for a modern interface when analyzing dumps.

Troubleshooting

If the dump fails to generate, first ensure you're running Command Prompt or PowerShell as administrator. A permission error will prevent the echo command from working. Next, check free space on the system drive — less than 1 GB can cause failure. If the file appears to write but remains small (under 100 MB), the system may not have captured full kernel data, possibly due to a corrupted page file or disabled crash dump settings.

If the Settings button under Startup and Recovery is grayed out, verify that Group Policy or an organization’s management tool hasn’t restricted access. On some managed devices, these settings are locked. Also, confirm that the page file is enabled on the system drive — Windows requires it for dump generation. To check, go to Settings > System > About > Advanced system settings > Performance Settings > Advanced > Virtual memory > Change. Ensure Automatically manage paging file size for all drives is checked, or manually set a page file on C:\.

If the command returns “Access is denied,” ensure no third-party security software is blocking low-level device access. Temporarily disable such software only if safe and permitted by your organization.

Frequently Asked Questions

Does a live kernel dump restart the computer?

No, unlike a Blue Screen of Death dump, a live kernel dump does not restart the system. It captures kernel memory while Windows continues running.

Where is the live kernel dump file saved?

By default, it is saved as C:\Windows\MEMORY.DMP. This location cannot be changed for live dumps.

Can I automate live kernel dump creation?

Not directly through built-in tools. You can create a script to run the echo command, but manual initiation is required.

Is a live kernel dump the same as a crash dump?

It uses the same format but is triggered manually while the system is stable, whereas crash dumps occur after a system failure.

What tools can analyze the dump file?

Use WinDbg, WinDbg Preview, or other kernel debugging tools from the Windows SDK to analyze the file.

Does enabling this slow down my PC?

No, the setting itself has no performance impact. Only during dump creation will you notice temporary slowdown due to disk I/O.