The widespread strategy to a Blue Display of Dying (BSOD) — or, extra just lately, the black crash display — on Home windows is to notice the cease code, then search on-line for a repair. I’ve adopted these precise steps just a few occasions and might conclude that it isn’t environment friendly. You get to find the form of crash you had, however hardly ever does it uncover what triggered the crash.
That final piece is significant information that’s saved in a minidump file on Home windows. Utilizing WinDbg and the !analyze -v command, you may discover crash information in plain language that makes fixing simpler.
What Home windows truly saves when your PC crashes
Why a minidump is extra helpful than the BSOD display
Credit score: Afam Onyimadu / MUO
When there’s a crash, Home windows captures your system’s state on the precise second the issue occurred and saves it as a dump file in your drive: C:WindowsMinidump earlier than the system reboots. You doubtless have by no means seemed on this folder, and it would not exist in your laptop in case you hadn’t had a crash.
The snapshot held within the file is focused, overlaying kernel state throughout failure and should embody the faulting thread, a subset of loaded kernel reminiscence, and the drivers energetic at that second. That is normally enough for driver-related crashes, the commonest kind of crash on Home windows. Home windows can write the file in a short time as a result of minidumps are usually light-weight.
Nonetheless, crash recordsdata can fluctuate broadly. A kernel dump’s dimension will rely on the quantity of RAM and should attain just a few gigabytes on some fashionable machines. A kernel dump gives a broader view of your system’s reminiscence. And full system reminiscence dumps may even get greater, mirroring the RAM content material.
Listed here are the primary variations between the dump recordsdata:
Dump Sort
Approximate Dimension
What It Comprises
When to Use It
Minidump
~256 KB
Faulting thread, energetic kernel drivers, cease code context
First cease in most BSOD troubleshooting
Kernel dump
A number of GB (RAM-dependent)
Broader kernel reminiscence snapshot, extra module element
When the minidump output is inconclusive
Full dump
Equal to whole put in RAM
Full reminiscence contents at time of crash
Superior or enterprise-level debugging
Your laptop is most certainly configured by default to write down debugging data, however in case you do not need any of this data, observe these steps:
- Seek for View superior system settings within the Begin menu, then click on the device.
- Click on the Settings button within the Startup and Restoration part, and be sure that “Write debugging data” beneath the System failure part is chosen.
- Lastly, within the Write debugging data dropdown, choose Small reminiscence dump (256 KB) and make sure the Small dump listing is about to %SystemRootpercentMinidump.
Associated
I discovered a Home windows 11 log that exhibits precisely what’s making my PC gradual — and most of the people do not know it exists
A forgotten Home windows function that explains efficiency drops clearly.
How I opened the crash dump utilizing WinDbg
Establishing symbols so the output truly is sensible
Microsoft has a WinDbg device you could get from the Microsoft Retailer. It is the official commonplace for kernel-mode and user-mode debugging. To start opening crash recordsdata, obtain and set up WinDbg from the Microsoft Retailer.
As soon as put in, open the device, click on on File -> Open dump file -> Browse button, and choose your dump file, usually present in C:WindowsMinidumpCrash recordsdata are normally time-stamped, so it’s simple to choose the newest one. If you click on Open, the device will begin debugging the crash file, and the method might take a couple of minutes. After the image load finishes, WinDbg nonetheless will not be capable to show readable names till the symbols are downloaded. These symbols translate uncooked reminiscence addresses into driver recordsdata, system features, and module identifiers.
Now you should arrange a path in order that WinDbg can connect with Microsoft’s image server, the place it resolves addresses to names/symbols.
To set it up, observe these steps:
- Navigate to File and click on Settings.
- Choose Debugging Settings, click on on Image Path, then enter the trail: srv*C:Symbols*https://msdl.microsoft.com/obtain/symbols
The command that turns a crash into an evidence
Why !analyze -v is probably the most helpful debugging shortcut in Home windows
Afam Onyimadu / MUO
With the dump loaded in WinDbg and the image path configured, all that is left is to run the command !analyze -v from the WinDbg command window.
Including the -v flag is essential to allow verbose output. If you happen to omit this flag, the result’s condensed and should omit fields that assist you determine the crash set off. When you get an output, you may wade by way of the noise by specializing in simply these few fields that let you know the trigger:
Subject
What it tells you
IMAGE_NAME
That is your lead that factors to the motive force most related to the crash
SYMBOL_NAME
A readable identifier like nvlddmkm+0x5a3b21—usually the quickest factor to go looking
FAULTING_MODULE
The reminiscence area the place the fault bodily occurred
FAILURE_BUCKET_ID
A crash sample fingerprint Home windows makes use of to group related failures
STACK_TEXT
The sequence of operate calls main as much as the crash
If IMAGE_NAME and FAULTING_MODULE differ, begin by investigating IMAGE_NAME, as it’s usually extra actionable.
The outcomes you get after working this course of will likely be completely different relying on the reason for the crash. So you’ll most likely see nvlddmkm.sys (NVIDIA) or amdkmdag.sys (AMD) within the IMAGE_NAME when it is a GPU crash. For a controller subject, you’ll get outcomes pointing to a disk driver. Nonetheless, there are occasions when the Home windows kernel is not damaged, and a price like ntoskrnl.exe could also be an indication of dangerous RAM.
Outcomes might not at all times paint the total image
Home windows dump recordsdata are normally the place to begin. If, after a number of crashes, the outcomes are related, it is a sturdy sign to slender down the trigger. The identical IMAGE_NAME would imply a software-specific drawback, and the repair could possibly be updating the software program or driver, rolling it again, and even uninstalling the motive force. Typically it helps to run the driverquery command to get a full checklist of what is at present loaded in your gadget. If you do not get a constant sample from analyzing completely different crash recordsdata, you’re prone to face system-level instability. That is the place instruments like BlueScreenView turn out to be useful. It provides you the suspected driver for every crash in a single view. With this device, you do not want to open the dumps one after the other to identify patterns.
Nonetheless, not all crashes are software-related. For hardware-related causes, you can begin through the use of the built-in Home windows Reminiscence Diagnostic (mdsched.exe). It isn’t the last word device, although, as a result of if the errors solely occur beneath extreme reminiscence stress, it could miss them because it solely runs inside the Home windows atmosphere. MemTest86 is a extra thorough choice that may run from a bootable USB.
That stated, in WinDbg, probably the most helpful sign is the sample of the dump outcomes. Constant dump outcomes are doubtless software-related, whereas shifting outcomes might point out {hardware} failure.

