A blue screen (Windows 11 may show a black one instead) means Windows hit an error it could not recover from and restarted to protect your data. The stop code on the screen tells you where to start looking. This guide explains how to find the code and fix the most common ones.

Step 1: Find the stop code
If you missed the code on screen, open Event Viewer, go to Windows Logs › System and look for an error with the source BugCheck or event ID 1001. You can also open Reliability Monitor by searching for “reliability history” in Start. It lists every critical event on a timeline.

Step 2: Look up common stop codes
| Stop code | Usual cause | First fix to try |
|---|---|---|
| CRITICAL_PROCESS_DIED | Corrupt system files or a failing driver | Run SFC and DISM |
| IRQL_NOT_LESS_OR_EQUAL | Faulty driver or RAM | Update drivers, test memory |
| PAGE_FAULT_IN_NONPAGED_AREA | RAM, antivirus or disk problems | Memory diagnostic, chkdsk |
| SYSTEM_SERVICE_EXCEPTION | Graphics or third-party driver | Update or roll back the graphics driver |
| DPC_WATCHDOG_VIOLATION | Storage controller or SSD firmware | Update SSD firmware and chipset drivers |
| KMODE_EXCEPTION_NOT_HANDLED | Incompatible driver | Uninstall recently added software |
| WHEA_UNCORRECTABLE_ERROR | Hardware fault, often overclocking or heat | Reset BIOS to defaults, check temperatures |
| MEMORY_MANAGEMENT | Faulty RAM | Run Windows Memory Diagnostic |
Step 3: Undo the last change
Most blue screens start right after something changed: a new driver, an update, an app or a hardware part. Undo it first. Use uninstall a Windows update or a System Restore point. If Windows will not stay up long enough, boot into Safe Mode from Settings › System › Recovery › Advanced startup.
Step 4: Repair system files
Open Terminal (Admin) and run:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Read SFC vs DISM explained to understand what each one does.
Step 5: Test your memory and disk
- Press Win + R, type
mdschedand choose Restart now and check for problems. - After it finishes, run
chkdsk C: /scanin an admin terminal. - If memory errors appear, reseat or replace the RAM stick.

Step 6: Update drivers the right way
Get chipset, storage and graphics drivers from your PC or motherboard maker, or from Windows Update under Advanced options › Optional updates. Avoid “driver updater” utilities; they often install the wrong versions.
Step 7: Read the minidump (optional)
Windows saves crash details in C:\Windows\Minidump. Install WinDbg from the Microsoft Store, open the newest .dmp file and run !analyze -v. The MODULE_NAME and IMAGE_NAME lines usually name the driver that crashed.
When it is hardware
If blue screens continue after a clean reinstall, the cause is almost certainly hardware: RAM, the SSD, the power supply or overheating. Check temperatures, remove any overclock and test the parts one at a time.