BSOD Create Live Kernel Dump File in Windows 11


  • Staff
Task_Manager_banner.png

A live kernel dump creates a consistent snapshot of kernel memory and saves it to a dump file without having to restart the computer.

The goal of kernel live dump is to gather data to trouble shoot an abnormal situation, but allow the OS to continue operation. This reduces downtime when compared to a bug check for “non-fatal” but high-impact failures and hangs. Kernel live dumps are used when it is possible to recover the OS to a known good state.

Starting with Windows 11 build 25188, some got a new Create live kernel dump file option inside the Task Manager, but it didn't work yet. It is now available and working starting with Windows 11 build 25197.

See also:

This tutorial will show you how to create a live kernel dump file in Windows 11.


You must be signed in as an administrator to create a live kernel dump file.



Contents

  • Option One: Create Live Kernel Dump File in Task Manager
  • Option Two: Create Live Kernel Dump File in PowerShell




Option One

Create Live Kernel Dump File in Task Manager


This option is only available for some starting with Windows 11 build 25197.


1 Open Task Manager (Ctrl+Shift+Esc).

2 Perform the following actions: (see screenshot below)
  1. Click/tap on the Details tab.
  2. Right click on an empty area in Details.
  3. Click/tap on Create live kernel dump file.
  4. Click/tap on Full live kernel dump or Kernel stacks dump for which type of dump file you want to create.
Live_kernal_dump_Task_Manager.png

3 You will now see a Dumping kernel dialog showing you the location of the dump file. You can click/tap on OK to close the dialog, or click/tap on Open file location to open File Explorer to the dump file's location. (see screenshot below)

Live_kernal_dump.png




Option Two

Create Live Kernel Dump File in PowerShell


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter to get the StorageSubsystem friendly name. (see screenshot below step 3)

Get-StorageSubSystem

3 Make note of the StorageSubsystem friendly name (ex: "Windows Storage on BrinkW11"). (see screenshot below)

Live_kernel_dump_PowerShell-1.png

4 Type the command below into PowerShell, and press Enter. (see screenshot below)

Get-StorageDiagnosticInfo -StorageSubSystemFriendlyName "<name>" -IncludeLiveDump -DestinationPath "$Env:userprofile\Desktop"

Substitute <name> in the command above with the actual StorageSubsystem friendly name (ex: "Windows Storage on BrinkW11") from step 3.

Get-StorageDiagnosticInfo -StorageSubSystemFriendlyName "Windows Storage on BrinkW11" -IncludeLiveDump -DestinationPath "$Env:userprofile\Desktop"


Live_kernel_dump_PowerShell-2.png

5 A localhost folder will now be created on your desktop that includes the live kernel dump file. (see screenshot below)

localhost_dump_file.png


That's it,
Shawn Brink


 

Attachments

  • Task_Manager.png
    Task_Manager.png
    7.6 KB · Views: 4
Last edited:
Top Bottom