Skip to content
Windows

Blue screen in Windows: from stop code to fix

Windows restarts with a blue screen and a sad face? How to read the stop code (even after the restart), what it means depending on when it appears, and a table of the most common codes with their specific guide: MEMORY_MANAGEMENT, IRQL, VIDEO_TDR, WHEA and more.

4 minHow we make our guides

Fix it step by step
Quick answer

Note the stop code shown on the "Stop code" line (for example MEMORY_MANAGEMENT) and find its guide in the table below. If the PC restarts before you can read it, turn off automatic restart or check it afterwards in Event Viewer or with BlueScreenView. What fixes most blue screens: a clean graphics driver, removing overclock and XMP to test, and checking RAM and disk.

Illustration of the problem: Blue screen
GlitchFix illustration: what this problem usually looks like.

Step 1: get the stop code

Blue screen with the sad face, a QR code and the stop code line highlighted in yellow under a magnifying glass
The important part is at the bottom, next to the QR: the stop code line and sometimes the file that failed (for example nvlddmkm.sys).

The blue screen shows a stop code in capitals and sometimes, below it, "What failed:" with a .sys file. That file is gold: it tells you which driver caused it.

  • Take a photo with your phone. It's the quickest way.
  • If it restarts first: press Win + R, type sysdm.cpl → Advanced → Startup and Recovery → Settings → untick Automatically restart. The next blue screen will stay on screen.
  • After the restart: open Event Viewer → Windows Logs → System and look for a BugCheck event (ID 1001): it includes the code. Or install BlueScreenView or WhoCrashed (free), which read the dump files in C:\Windows\Minidump and point to the guilty driver.

Step 2: when does it appear?

The timing tells you almost as much as the code:

It appears…Main suspectTry first
Only while gaming or with the GPU maxed outGraphics driver, temperature, PSUClean driver with DDU, temperatures, remove GPU overclock
While Windows boots, before the desktopDisk, storage driver, half-installed updateStartup Repair, chkdsk, uninstall the latest update
At random, even when idleRAM, XMP/EXPO, overclockDisable XMP to test, memory test
Right after installing something (driver, antivirus, program)Whatever you just installedUninstall it or go back to a restore point
When plugging in a specific deviceThat device's driverUnplug it and update or remove its software

Step 3: the most common codes

Stop codeUsually meansGuide
MEMORY_MANAGEMENTRAM, XMP or page fileSee guide
IRQL_NOT_LESS_OR_EQUALA driver accessing memory incorrectlySee guide
VIDEO_TDR_FAILUREThe GPU stopped respondingSee guide
WHEA_UNCORRECTABLE_ERRORHardware error: CPU, voltages, overclockSee guide
DPC_WATCHDOG_VIOLATIONDisk or SSD driver, firmwareSee guide
CRITICAL_PROCESS_DIEDA vital Windows process died: system files or diskSee guide
SYSTEM_SERVICE_EXCEPTIONA failing driver or system serviceSee guide
INACCESSIBLE_BOOT_DEVICEWindows can't see the boot drive (SATA/NVMe mode, disk, update)Repair loop
KERNEL_SECURITY_CHECK_FAILURE, PAGE_FAULT_IN_NONPAGED_AREADamaged driver or RAMGeneral steps below

Step 4: what fixes most blue screens

Computer screen with programming code and the word error highlighted
Behind almost every blue screen is a driver, the memory or the disk. These steps cover all three.
  1. Clean graphics driver: download DDU, restart into safe mode, remove the driver with DDU and install the latest from NVIDIA, AMD or Intel.
  2. Remove overclock and XMP to test: in the BIOS, load defaults (Load Optimized Defaults). If the blue screens stop, the overclock or the RAM at XMP speed was unstable.
  3. Repair Windows: in Command Prompt as administrator, run DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow.
  4. Check the disk: chkdsk C: /scan and its health with CrystalDiskInfo.
  5. Test the RAM: type "Windows Memory Diagnostic" in Start → Restart now and check. For something more reliable, MemTest86 from a USB stick.
  6. Update the BIOS and chipset if they're old: many RAM and new-CPU incompatibilities are fixed this way.

If the blue screens won't even let you reach the desktop, boot into safe mode: on the sign-in screen, hold Shift and click Restart → Troubleshoot → Advanced options → Startup Settings → 4.

Frequently asked questions

Does a blue screen mean something is broken?

Not always. Most are drivers or settings. But if you get a different code each time, at random, suspect the RAM, the PSU or overclocking.

What do I do if a .sys file appears under "What failed"?

Look up the name: nvlddmkm.sys is the NVIDIA driver, amdkmdag.sys AMD's, rtwlane.sys or netwtw.sys the Wi-Fi, and so on. Update or reinstall that specific driver.

Do I lose my files with a blue screen?

Usually not. You may lose whatever wasn't saved at that moment. If they happen often, back up in case the disk is the cause.

If you don't know what your code means, send us a photo of the blue screen via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all PC & Windows guides