How to Read a Windows Minidump File Well Enough to Blame the Right Driver

A minidump is a small, annoying file. It lands in C:\Windows\Minidump after a blue screen, it’s 250 KB to a couple of megabytes, and Windows gives you nothing to open it with. Double-clicking gets you “How do you want to open this file?” That’s the moment most people give up and reinstall the graphics driver at random.

Don’t. A minidump usually names the culprit in plain text, and the skill of reading one is maybe twenty minutes of learning. I’ve used it to pin a bad Intel Wi-Fi driver, a Realtek audio package, and once a genuinely broken RAM stick, all without a debugger background.

What the file actually contains

A minidump is a snapshot of the kernel’s memory at the moment of the crash. It is deliberately small. It records the bug check code (the hex number Windows shows on the blue screen), the four parameters that go with it, the list of loaded drivers with their base addresses and sizes, and the call stack of whatever was running when things fell over.

That is enough to answer two questions: which component triggered the fault, and which driver was on the stack at the time. It is not enough to debug memory corruption three function calls deep. For that you want a full kernel or complete memory dump, which you can enable under System Properties, Advanced, Startup and Recovery. Turn that on while you’re troubleshooting, then set it back to “Small memory dump” afterwards so you’re not writing multi-GB files to disk every time something hiccups.

Step one: get the free tooling

You need WinDbg. It’s part of the Windows SDK and it’s free, though the SDK installer is a chunky download and you have to untick everything except “Debugging Tools for Windows” or you’ll install a compiler you’ll never touch. The newer WinDbg from the Microsoft Store is a lighter install and works fine for this, so grab that if you’d rather not deal with the SDK at all.

Two other things worth having on hand: BlueScreenView (NirSoft, free, portable) for a quick-and-dirty look at which driver files were loaded at crash time, and Driver Verifier, which ships with Windows and is the only reliable way to catch a driver that corrupts memory silently instead of crashing loudly. Neither replaces WinDbg, but BlueScreenView will save you launching a debugger for obvious cases.

Step two: read the bug check before you read anything else

Open the dump in WinDbg (File, Open dump file, or just windbg -z C:\Windows\Minidump\010126-12345-01.dmp). Before running any commands, look at the top of the output. You’ll see something like:

  • BugCheck 9F, {3, ffffc...} means DRIVER_POWER_STATE_FAILURE, almost always a driver that won’t sleep or wake properly. Laptops with cheap USB-C docks produce this constantly.
  • BugCheck D1 is DRIVER_IRQL_NOT_LESS_OR_EQUAL, which is a driver touching memory it shouldn’t at high priority. Frequently network or storage drivers.
  • BugCheck 124 is WHEA_UNCORRECTABLE_ERROR. That’s hardware. Stop blaming software. Check thermals, reseat RAM, test the CPU.
  • BugCheck 50 is PAGE_FAULT_IN_NONPAGED_AREA. Could be a driver, could be failing RAM. Test the RAM first.

Knowing the code narrows the field enormously before you run a single debugger command. A 124 tells you to stop reading dumps and start testing hardware. An A or 9F points straight at a driver.

Step three: let the debugger do the work

Run this and wait:

!analyze -v

First time you run it, WinDbg will complain it can’t load symbols. Set the symbol path to srv*C:\symbols*https://msdl.microsoft.com/download/symbols and run it again. This pulls Microsoft’s public symbol files over the network, which is what turns a wall of hex addresses into function names and file names.

Now look at three fields in the output:

  • MODULE_NAME and IMAGE_NAME. This is the driver the debugger thinks is at fault. Treat it as a suspect, not a conviction.
  • FAULTING_MODULE. Often the driver in whose code the fault actually occurred. If this differs from IMAGE_NAME, you have homework.
  • STACK_TEXT. The call stack. This is where the real evidence lives.

Here’s the trap that catches everyone. !analyze -v picks the first driver in the stack that isn’t a Microsoft component, and it names it, confidently, even when that driver is innocent. A crash inside ntoskrnl.exe caused by a third-party filter driver will often get blamed on whatever third-party driver happened to be on the stack at the time. If IMAGE_NAME is ntoskrnl.exe, ndis.sys, or tcpip.sys, the debugger’s guess is usually wrong, and the real culprit is a driver sitting above or below it in the stack.

Read STACK_TEXT bottom to top. The bottom frames are the kernel plumbing. The top frames are where the crash happened. A frame that appears repeatedly, or a third-party driver (anything with a vendor name in it: nvlddmkm.sys, rt640x64.sys, netwtw10.sys) hovering near the fault, is your candidate.

To see the loaded drivers and confirm you’ve got the right one, run lm. Filter it with lm kv m nt* for Microsoft modules or just lm and scroll. Each driver shows its version and timestamp. Old timestamps and mismatched versions are useful clues: a driver from 2019 on a Windows 11 24H2 machine is a strong suspect on its own, regardless of what the stack says.

Step four: test the suspicion properly

One dump naming a driver means nothing. Two dumps naming the same driver, especially with different bug check codes, is a pattern. Collect several dumps before you start uninstalling things.

Then use Driver Verifier to force the issue. It puts extra checks around driver calls and will crash the machine deliberately when a driver misbehaves, which sounds bad until you realise the alternative is silent data corruption. Enable it for third-party drivers only, never Microsoft ones, reboot, and let the machine run until it blue screens. The resulting dump will name the offending driver with far more precision than an ordinary crash. Don’t leave Verifier on permanently. Disable it after you’ve caught the driver or it will keep the machine unstable.

If the stack points at a storage or network driver and the machine also shows odd freezes or file corruption, stop and test the hardware. Windows Memory Diagnostic is free, takes a reboot, and catches dying RAM. A disk that fails SMART checks needs replacing, not a new driver.

When it’s the driver, not you

Once you have a name and a version, the fix is usually mundane. Roll the driver back in Device Manager (Properties, Driver, Roll Back Driver, provided Windows kept the previous version), or download the vendor’s older package and install it cleanly. For GPU drivers, NVIDIA and AMD both keep older branches available; the current release is not always the right one for your hardware. For printers and audio, the vendor’s own site frequently has the working version while Windows Update ships a newer, broken one.

If the dump points at a Microsoft-signed driver for hardware you don’t actually need (a card reader, a fingerprint sensor, a virtual audio device from a game or a headset), disabling that device in Device Manager is a legitimate fix. Fewer drivers, fewer crashes.

What you can’t get out of a minidump

Be honest with yourself about the limit. A minidump won’t tell you why a user-mode application crashed, that’s a separate WER dump. It won’t explain a hang that never blue-screens. And if the bug check is 124, or the same driver appears at random across unrelated stacks, the dump is telling you the system is unstable for reasons below the driver layer. Memory, thermals, power delivery, an overclock. Test those first.

The dump is evidence. It’s good evidence, and it’s sitting on your disk for free. Read the bug check code, run !analyze -v, read the stack with the debugger’s guess treated as a hint, and confirm with a second dump. The discipline is as simple as that, and it beats reinstalling a driver and hoping.