When Windows 11 hits a serious error it shows a stop code, such as MEMORY_MANAGEMENT, and restarts. If it keeps happening, the crash dump file Windows saves can tell you much more than the stop code on screen, including which driver was involved. This guide shows how to make sure dumps are being saved, install Microsoft's free WinDbg debugger, and read the result.
What a minidump contains
Microsoft describes the small memory dump (minidump) as the smallest set of useful information that may help identify why a computer stopped unexpectedly. It includes the stop message and its parameters, the processor context, the process and thread that stopped, and the kernel-mode call stack for that thread. Microsoft also warns that because it holds limited information, errors not directly caused by the running thread may not show up in it.
Windows keeps small dumps in %SystemRoot%\Minidump (usually C:\Windows\Minidump), with a new file for each crash, and writes larger kernel or complete dumps to %SystemRoot%\Memory.dmp.
Step 1: check Windows is saving dump files
Open Control Panel > System > Advanced system settings (in Windows 11 you can also search Start for "advanced system settings").
On the Advanced tab, under Startup and Recovery, select Settings.
Under Write debugging information, choose a dump type. Microsoft notes that small dumps need a paging file of at least 2MB on the boot volume.
Microsoft says you must restart Windows for changes to take effect. If your PC has already crashed, look in C:\Windows\Minidump: if files are there, you can skip ahead.
Step 2: install WinDbg
Microsoft offers WinDbg as a direct download, through the Microsoft Store, or through Windows Package Manager. The quickest way is to open Terminal and run:
winget install Microsoft.WinDbg
To update it later, Microsoft gives the command winget upgrade Microsoft.WinDbg.
Step 3: open the dump file
Start WinDbg. If you prefer, copy the newest .dmp file from C:\Windows\Minidump to your Documents folder first.
Open the dump from the File menu (Microsoft's documentation calls the option Open Crash Dump), then select the file.
Wait for it to load. WinDbg needs symbol files to make sense of the dump; Microsoft's documentation shows the Microsoft symbol server (https://msdl.microsoft.com/download/symbols) being used for this, so keep the PC online.
Step 4: run !analyze -v
In the command box at the bottom, type:
!analyze -v
Microsoft says the !analyze extension displays information about the current exception or bug check, and the -v switch gives verbose output. Look for:
The bug check code and name, which you can look up in Microsoft's bug check code reference.
Any module or driver name the analysis points to. Microsoft notes that, where available, the stop screen also shows the module name of the code that was running.
The stack text, which shows what was running when the crash happened.
Treat the named module as a clue rather than proof: Microsoft warns that a small dump may not reveal errors that weren't directly caused by the thread running at the time.
Step 5: act on what you find
Microsoft's own blue screen advice also suggests removing any newly added hardware, checking Device Manager for devices marked with an exclamation point, and keeping 10% to 15% of the drive free. For the wider troubleshooting checklist, see our guide to fixing a blue screen in Windows 11, and Event Viewer to see when crashes happened.
Our verdict
If blue screens keep coming back, don't guess from the stop code alone. Make sure Windows is saving minidumps, install WinDbg with winget, open the newest file in C:\Windows\Minidump and run !analyze -v. The bug check name and the module it names usually tell you whether to look at a driver, your memory or Windows itself.