How to Open and Read DMP Files After a BSOD
In this article
When Windows crashes with a Blue Screen of Death (BSOD), it often saves a memory dump file (with a .dmp extension) to your system drive. This file contains a snapshot of the memory at the time of the crash, which you can analyze to identify the faulty driver or component. This guide walks you through locating, opening, and interpreting those dump files using built-in Windows tools and the free Microsoft WinDbg debugger.
What You'll Need
- A Windows PC that has experienced a BSOD (the dump file is created automatically).
- Administrator access to the computer.
- Internet connection to download the Windows Debugging Tools (WinDbg) if you don't have them.
- Basic familiarity with command-line tools (optional but helpful).
Step-by-Step
- Locate the dump file. By default, Windows stores minidump files in
C:\Windows\Minidumpand the full memory dump (if enabled) asC:\Windows\MEMORY.DMP. If you don't see them, make sure hidden and system files are visible (File Explorer > View > Options > View > uncheck "Hide protected operating system files"). - Check your dump settings. Press
Win + R, typesysdm.cpl, and press Enter. Go to the "Advanced" tab, under "Startup and Recovery" click "Settings." Under "Write debugging information," ensure it's set to "Automatic memory dump" or "Small memory dump (256 KB)" – the latter is easiest to analyze. If it's set to "(none)", no dump files will be created. - Download WinDbg. Microsoft's debugging tool is free. You can get it from the Microsoft Store (search for "WinDbg") or download the Windows SDK from Microsoft's website and install only the "Debugging Tools for Windows" component.
- Open WinDbg. Launch WinDbg as Administrator (right-click > Run as administrator). If you're using the classic WinDbg (not the Store version), you'll see a command prompt window.
- Set the symbol path. To get readable information, you need Microsoft's public symbols. In WinDbg, go to File > Settings (or use the command line) and add the symbol path:
srv*C:\Symbols*https://msdl.microsoft.com/download/symbols. This tells WinDbg to download symbols from Microsoft's server and cache them locally. - Open the dump file. In WinDbg, go to File > Open Crash Dump (or press Ctrl+D) and select the .dmp file. If you're using the command-line version, you can type
!analyze -vafter the file opens – but first, let it load symbols (this may take a few minutes on first run). - Run the analysis. After the dump loads, type
!analyze -vin the command line at the bottom and press Enter. WinDbg will analyze the crash and display a detailed report, including the bug check code, the likely culprit driver, and a stack trace. - Interpret the results. Look for the "MODULE_NAME" and "IMAGE_NAME" fields – these indicate the driver or file that likely caused the crash. For example, if it says
ntoskrnl.exe, the crash is in the Windows kernel, which might be a hardware or driver issue. If it's a third-party driver likenvlddmkm.sys(NVIDIA graphics), you know to update or reinstall that driver. - Save the report. You can copy the output or use the "Write" button in WinDbg to save the analysis to a text file for later reference.
- If you prefer a GUI tool, you can use the free tool BlueScreenView by NirSoft, which scans minidump files and presents a simplified list of the crash details and the drivers involved. It's less technical but often enough to identify the problem.
Common Mistakes
- Not setting the symbol path. Without symbols, WinDbg shows raw memory addresses and meaningless numbers. Always set the symbol path first.
- Opening the wrong dump file. Minidumps are small and quick to analyze; full memory dumps can be huge and take a long time. Start with the minidump in the Minidump folder.
- Ignoring the bug check code. The bug check code (e.g., 0x0000007E) is crucial. Look it up online to understand the general cause.
- Assuming the first driver listed is the root cause. Sometimes the crash is a symptom of another problem (e.g., overheating). Look at the whole report.
- Not running WinDbg as administrator. Some operations may fail without admin rights.
Tips
- Use the "Automatic memory dump" setting – it balances size and detail.
- Keep your symbols cache updated. The symbol path downloads symbols on demand; if you have an older dump, it might download older symbols automatically.
- Look for the "STACK_TEXT" section. It shows the function calls leading up to the crash, which often points to the exact driver.
- If you see "Probably caused by", that's the most likely culprit, but verify with the other fields.
- Consider using the Windows Event Viewer for additional context – look under Windows Logs > System for the same crash time.
Troubleshooting
WinDbg says "Cannot find symbol file" or "No symbols loaded". Double-check the symbol path syntax. In the classic WinDbg, you can type .sympath srv*C:\Symbols*https://msdl.microsoft.com/download/symbols and then .reload to reload.
The dump file is too large to open. If you have a full memory dump (several GB), it may take a long time to load. Wait patiently, or try analyzing the minidump instead.
You don't have a dump file at all. Check your dump settings as described in Step 2. If it's set to "Small memory dump," ensure the Minidump folder exists. If not, the crash might have prevented writing – check disk space.
WinDbg crashes or freezes. Try the Microsoft Store version, which is more stable. Also, make sure your Windows is up to date.
The analysis shows "Probably caused by: Unknown_Image". This often means the crash is in hardware or a driver that didn't leave a clear signature. Run a memory test (Windows Memory Diagnostic) and check disk health.
Frequently Asked Questions
Q: Where are dump files stored?
A: Minidumps are in C:\Windows\Minidump, and the full memory dump (if enabled) is at C:\Windows\MEMORY.DMP.
Q: Can I open a .dmp file without WinDbg?
A: Yes, you can use third-party tools like BlueScreenView or WhoCrashed, but WinDbg is the official tool with the most detail.
Q: What does the bug check code mean?
A: It's a hexadecimal number that identifies the type of crash (e.g., 0x0000007E means SYSTEM_THREAD_EXCEPTION_NOT_HANDLED). You can look up the code on Microsoft's documentation.
Q: I don't have admin rights. Can I still read the dump?
A: You need admin rights to access the dump files in the Windows folder. If you don't have them, ask the system administrator to grant access or export the file for you.
Q: How long does the analysis take?
A: The first time, it may take several minutes because WinDbg downloads symbols. Subsequent analyses are faster if the symbols are cached.
Q: Will analyzing a dump file fix my BSOD?
A: No, it only tells you what caused the crash. You still need to update drivers, replace hardware, or apply other fixes based on the findings.