How to View and Analyze Memory Dumps in Windows 11 Using WinDbg

The Dreaded Blue Screen of Death

Every Windows user is familiar with the Blue Screen of Death (BSOD). When a critical system error occurs, Windows instantly halts everything to prevent data corruption and displays a blue screen with a generic stop code, such as IRQL_NOT_LESS_OR_EQUAL or SYSTEM_SERVICE_EXCEPTION.

While that stop code gives you a vague hint, it rarely tells you the actual root cause of the crash. Was it a faulty graphics driver? A failing stick of RAM? A conflict with your antivirus software? To answer that question definitively, you need to look at the Memory Dump file that Windows automatically generates during the crash.

This file contains a complete snapshot of the system’s active memory at the exact millisecond the crash occurred. To read it, you need Microsoft’s professional debugging tool: WinDbg.

Step 1: Installing WinDbg Preview

Historically, WinDbg was part of the massive Windows SDK, which was cumbersome to install. Microsoft has since released a modernized, standalone version called WinDbg Preview, available directly from the Microsoft Store.

  1. Open the Microsoft Store app in Windows 11.
  2. Search for WinDbg Preview.
  3. Click Install. (It is completely free).

Step 2: Locating the Memory Dump File

By default, Windows 11 creates a minidump (a small file containing only the most critical crash data) every time a BSOD occurs.

  1. Open File Explorer.
  2. Navigate to C:\Windows\Minidump.
  3. You should see one or more files ending in .dmp (e.g., 102623-14531-01.dmp). The numbers represent the date of the crash.

Note: If you do not see a Minidump folder, navigate to C:\Windows and look for a massive file named MEMORY.DMP. This is a full memory dump.

Step 3: Opening the Dump File as an Administrator

WinDbg requires elevated privileges to read system dump files.

  1. Click Start, type WinDbg, right-click the WinDbg Preview icon, and select Run as administrator.
  2. Once the program opens, click on File in the top-left corner.
  3. Select Open dump file.
  4. Navigate to C:\Windows\Minidump and select your latest .dmp file.

Step 4: Analyzing the Crash Data

When the file opens, you will see a command window filled with technical text. At the bottom is a command input bar, similar to the Command Prompt.

WinDbg needs to download “symbols” (translation files) from Microsoft’s servers to make sense of the binary data. You do not need to do this manually; WinDbg handles it automatically.

Look at the text on the screen. Somewhere in the middle, you will see a prominent, clickable blue link that says: !analyze -v

  1. Click the !analyze -v link.
  2. WinDbg will now spend 15 to 30 seconds processing the dump file. You will see a progress bar at the bottom.

Step 5: Identifying the Culprit

Once the analysis is complete, scroll down through the massive output until you find a specific section labeled MODULE_NAME or IMAGE_NAME.

This is the most critical piece of information. It tells you the exact driver or software component that caused the crash.

  • Example 1: nvlddmkm.sys – This is the NVIDIA graphics driver. The solution is to completely uninstall your GPU drivers using a tool like DDU and install a fresh version.
  • Example 2: rtwlane.sys – This is the Realtek wireless network driver. You need to update your Wi-Fi drivers from your laptop manufacturer’s website.
  • Example 3: ntoskrnl.exe – This is the core Windows kernel. If the kernel itself crashed, it usually indicates a hardware failure, most commonly faulty RAM or an unstable CPU overclock.

By analyzing the memory dump, you bypass the guesswork and instantly identify exactly which piece of software or hardware is destroying your system stability.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.