A blue screen of death (BSOD) is Windows stopping itself on purpose because something, usually a driver or a hardware fault, put the system in a state where continuing could corrupt data. The stop code on the screen (for example DPC_WATCHDOG_VIOLATION) names what went wrong, so note it, then update or roll back recently changed drivers, check for Windows updates and test your memory and disk.
What the blue screen is telling you
Microsoft calls it a bug check or stop error. The screen reads "Your device ran into a problem and needs to restart" and shows two useful details:
- The stop code, such as
PAGE_FAULT_IN_NONPAGED_AREAorMEMORY_MANAGEMENT. Every code also has a hex number;MEMORY_MANAGEMENTis0x0000001A. - What failed, when Windows can tell: the name of the module (often a driver file ending in
.sys) that was running when the crash happened.
The look depends on the version. Microsoft notes that Windows 11 version 24H2 and later show a black screen, while 23H2 and older use the older layout. Either way, Windows restarts on its own after a few seconds, which is why most people never get to read the code.
Microsoft's own analysis of crash root causes puts about 70% on third-party driver code, 10% on hardware, 5% on Microsoft code, and 15% unknown because memory was too corrupted to analyse. Drivers are the first suspect.
Find the stop code after Windows restarts
If the screen vanished before you could read it, Windows logged the crash. In PowerShell:
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-WER-SystemErrorReporting'; Id=1001} -MaxEvents 5 |
Format-List TimeCreated, Message
Each event's message includes the bug check code. On a machine with no recorded crashes, the command reports that no events match (that is what it printed on the Windows 11 machine used for this article). You can also open Event Viewer (eventvwr.msc) > Windows Logs > System and look for event ID 1001 around the time of the crash.
Windows also saves memory dumps. Small dumps go to %SystemRoot%\Minidump (usually C:\Windows\Minidump) and kernel, complete and automatic dumps to %SystemRoot%\MEMORY.DMP. These are what WinDbg reads, covered at the end.
Common stop codes and what they usually mean
| Stop code | Hex | Usual direction to look |
|---|---|---|
IRQL_NOT_LESS_OR_EQUAL | 0x0A | A driver accessed memory it shouldn't have; recent driver changes, then RAM |
KMODE_EXCEPTION_NOT_HANDLED | 0x1E | Microsoft: disable or remove the driver named on the screen, or recently added drivers |
MEMORY_MANAGEMENT | 0x1A | Memory problems; test RAM, undo memory overclocks such as XMP |
NTFS_FILE_SYSTEM | 0x24 | Microsoft: file system corruption or bad sectors; check the disk |
SYSTEM_SERVICE_EXCEPTION | 0x3B | Drivers and corrupted system files; Microsoft suggests System File Checker |
PAGE_FAULT_IN_NONPAGED_AREA | 0x50 | Microsoft: update or disable the named driver, run chkdsk /f /r, reinstall recently added software |
INACCESSIBLE_BOOT_DEVICE | 0x7B | Windows can't reach the boot drive: storage driver, BIOS storage mode change, or a failing drive |
DRIVER_IRQL_NOT_LESS_OR_EQUAL | 0xD1 | Microsoft: update drivers, network drivers in particular |
CRITICAL_PROCESS_DIED | 0xEF | A core Windows process ended; corrupted system files or a failing disk |
VIDEO_TDR_FAILURE | 0x116 | Graphics driver or GPU; get an updated display driver |
WHEA_UNCORRECTABLE_ERROR | 0x124 | A fatal hardware error; check overclocks, temperatures and power |
DPC_WATCHDOG_VIOLATION | 0x133 | Microsoft: a faulty driver that didn't finish its work in time |
KERNEL_SECURITY_CHECK_FAILURE | 0x139 | Corrupted data structure, often driver-related |
Rows marked "Microsoft" follow Microsoft's troubleshooting guidance for that code; the rest describe what the code name refers to. Microsoft's Bug Check Code Reference lists every code with a page for each. The driver name on the screen or in the dump is usually more useful than the code itself.
How to fix a blue screen, step by step
This order combines Microsoft's consumer steps and its IT-pro checklist. Stop when the crashes stop.
- Undo the last change. If you added hardware just before the crashes started, shut down, remove it and restart. If a driver was just updated, roll it back: Device Manager > right-click the device > Properties > Driver > Roll Back Driver.
- Update drivers, starting with the one named. Open Device Manager (right-click Start > Device Manager), look for devices with a yellow exclamation mark, right-click > Update driver. For graphics, network and storage drivers, get the current version from the device or PC manufacturer.
- Install Windows updates. Start > Settings > Windows Update > Check for updates. Microsoft also recommends keeping BIOS and firmware up to date.
- Free up disk space. Microsoft recommends keeping 10 to 15% of the system drive free.
- Repair system files. In an elevated Command Prompt, run DISM first, then SFC:
"Windows Resource Protection did not find any integrity violations" means the system files are fine and you can move on.DISM.exe /Online /Cleanup-image /Restorehealth sfc /scannow - Test the memory. Run
mdsched.exeand choose to restart and check for problems. If you enabled XMP or EXPO, or overclocked anything, return to default settings first; unstable memory settings cause crashes that look like software faults. See what is XMP. - Check the disk.
chkdsk C: /f /rschedules a scan at the next restart. Check the drive's own health too: how to check SSD health. - Check temperatures and power. Crashes under load (gaming, rendering) that disappear at idle point to heat or a struggling power supply. See how to check CPU and GPU temperature.
- Scan for malware with Microsoft Defender or Microsoft Safety Scanner.
- Restore Windows to a restore point, or use the other recovery options, if nothing else helps.
When Windows blue-screens before you can log in
Start in Safe Mode, which loads a minimal set of drivers, and do the steps above from there. To get there from a working session, open Settings > System > Recovery on Windows 11 (Settings > Update & Security > Recovery on Windows 10) and under Advanced startup click Restart now. Then choose Troubleshoot > Advanced options > Startup Settings > Restart and press 4 (or F4) for Safe Mode, or 5 for Safe Mode with Networking. A crash that doesn't happen in Safe Mode points to a third-party driver or startup program.
Read the dump file to find the driver
For repeated crashes with no obvious cause, the dump file usually names the culprit. Microsoft's IT-pro procedure:
- Install WinDbg (part of Debugging Tools for Windows).
- Open the dump: a file from
C:\Windows\MinidumporC:\Windows\MEMORY.DMP(copy it somewhere readable first, since the folder needs administrator access). - Let it use Microsoft's public symbol server,
https://msdl.microsoft.com/download/symbols. - Run
!analyze -v.
In the output, look at MODULE_NAME and IMAGE_NAME, which name the faulting driver file, and the STACK_TEXT section. If the driver belongs to a device you can identify, update, roll back or remove it. If it's a core Windows file such as ntoskrnl.exe, the real cause is often elsewhere (bad RAM, or another driver corrupting memory), and the memory test and Driver Verifier are the next steps. Microsoft warns that Driver Verifier slows the PC down, can cause further crashes and should be pointed at groups of suspicious drivers, not all of them at once.
Frequently asked questions
- Is a blue screen of death a virus?
- Rarely. Microsoft's analysis of crash causes attributes about 70% to third-party driver code, 10% to hardware, 5% to Microsoft code and 15% to unknown causes. Malware can cause crashes, which is why Microsoft's checklist includes a virus scan, but a driver or a hardware fault is far more likely.
- Is one blue screen something to worry about?
- A single crash after a driver update, a power glitch or an unusual workload is usually not a sign of a failing PC. Note the stop code and carry on. If it happens again, especially with the same code or the same driver name, work through the troubleshooting steps, because a repeating crash points to a specific cause.
- Why is my blue screen black now?
- Microsoft changed the design. On Windows 11 version 24H2 and later the stop screen is black, while 23H2 and older use the familiar blue layout. Preview builds of Windows have used a green screen. The stop code and the troubleshooting are the same whatever the colour.
- Can a blue screen damage my computer?
- The crash itself is Windows stopping on purpose to avoid corrupting data, so it does not damage hardware. Work you hadn't saved is lost, and a crash during a disk write can occasionally corrupt a file. The underlying cause, such as an overheating component or a failing drive, is the thing that can do damage, so don't ignore repeated crashes.