Use WinDbg to move beyond the initial “probably caused by” result and inspect the dump directly.
- Open the kernel dump in WinDbg.
- Command line:
windbg -y <SymbolPath> -i <ImagePath> -z <DumpFileName> - Or in WinDbg, use File > Open Crash Dump.
- If the dump is a kernel memory dump, the default file location is
%SystemRoot%\Memory.dmp.
- Command line:
- Run automatic analysis first.
- Start with:
!analyze - Verbose analysis is also useful:
!analyze -v
- Start with:
- Check the bug check code and parameters.
- Run:
.bugcheck
- Run:
- Inspect loaded modules to identify the unknown driver.
- Run:
lm
- Run:
- Examine process context if needed.
- Run:
!process 0 0 !process 0 7
- Run:
- Check memory and system state if the cause is still unclear.
Useful extensions include:
-
!memusage -
!vm -
!errlog -
!kdext*.locks
-
- If the dump is a kernel memory dump, account for missing user-mode images.
- Kernel dumps do not include user-mode application memory or user-mode executable images.
- If those executables matter to the investigation, set the executable image path.
- To suppress missing page errors while debugging a kernel memory dump, use:
.ignore_missing_pages
- If the suspected driver remains unknown, gather better evidence with Driver Verifier.
- Driver Verifier is built into Windows and can be started by entering Verifier at a command prompt.
- Verify the smallest number of drivers possible, because Driver Verifier adds overhead.
- This is useful because many stop code errors are caused by faulty drivers, and Driver Verifier can force exceptions that make the offending driver easier to identify.
- Record the exact stop code text and the actions that reproduce the crash.
- For recurring crashes, capture the exact bug check text and note the steps leading to the failure. That makes it easier to correlate the dump analysis with the triggering scenario.
If the initial analysis names an unknown driver, the practical path is: open the dump, run !analyze -v, confirm the stop code with .bugcheck, inspect modules with lm, review process and memory state, and then use Driver Verifier on a small set of suspect drivers to force a more conclusive crash signature.