Troubleshooting
Analyze a blue screen crash dump with WinDbg
Find the stop code and the driver involved in a blue screen from MEMORY.DMP or a minidump.
Where the dumps are
| Dump type | Location |
|---|---|
| Automatic / kernel / complete memory dump | C:\Windows\MEMORY.DMP |
| Small memory dump (minidump) | C:\Windows\Minidump\*.dmp |
The type is set under System Properties → Advanced → Startup and Recovery. Copy the file to your own workstation to analyze it.
1. Install WinDbg
1winget install Microsoft.WinDbg2. Open the dump
File → Open dump file, then let it load. WinDbg downloads symbols from the Microsoft symbol server; if symbols fail to load, run:
1.symfix2.reload3. Let the debugger analyze it
1!analyze -vThe most useful fields:
| Field | Meaning |
|---|---|
BUGCHECK_CODE and P1–P4 | The stop code and its parameters — look it up in the bug check library |
PROCESS_NAME | What was running when it crashed |
MODULE_NAME / IMAGE_NAME | The driver the analysis blames |
FAILURE_BUCKET_ID | A searchable summary of the failure |
4. Identify the driver
1lmvm <module_name>This shows the driver's path, timestamp and version. An old third-party driver (storage, network, antivirus, VPN) is the usual cause — update it from the vendor. If IMAGE_NAME is a Windows file such as ntoskrnl.exe, the real cause is often hardware or another driver corrupting memory; test RAM and look for a pattern across several dumps.
References
- Analyze a kernel-mode dump file with WinDbg — Microsoft Learn
- !analyze — Microsoft Learn
- Symbol path — Microsoft Learn