The short answer

A blue (or, on newer Windows 11, black) “Your device ran into a problem” screen means Windows stopped itself to prevent damage. One crash after a restart is usually nothing to worry about. If it keeps happening, write down the stop code, undo whatever changed last (new hardware, driver or app), install updates, check free space, and test your memory and drive.

Before you begin

If the PC crashes before you can reach the desktop, Safe Mode is your friend. Back up important files as soon as you can get to them. Ignore pop-ups or calls claiming a blue screen means your PC is infected and offering paid remote repair: real Windows crash screens never show a phone number.

What a stop code is

When Windows hits a problem it cannot safely recover from, it stops everything and shows a screen with the message “Your device ran into a problem and needs to restart”. Microsoft calls this a stop code error or bug check; most people call it the blue screen of death, or BSOD. On Windows 11 version 24H2 and later the screen is black instead of blue, but it means the same thing.

At the bottom you will see a stop code in capital letters, such as MEMORY_MANAGEMENT, and sometimes a file name such as nvlddmkm.sys. That file name is gold: it is often the driver that caused the crash. Take a photo of the screen with your phone before it restarts.

Microsoft says an unexpected restart might be caused by a hardware device, its driver, or software, and that in most cases the restart fixes it and no action is needed. Start troubleshooting only if the same crash keeps returning.

The stop codes people see most

Microsoft publishes a technical page for every bug check. Here is what the common ones mean in plain English, and where to look first.

Stop codePlain-English meaningCheck first
MEMORY_MANAGEMENT (0x1A)A serious memory management error.RAM test, recent RAM upgrade, drivers.
PAGE_FAULT_IN_NONPAGED_AREA (0x50)Windows tried to read memory that was not there.Faulty driver, antivirus, RAM, disk.
IRQL_NOT_LESS_OR_EQUAL (0xA) / DRIVER_IRQL_NOT_LESS_OR_EQUAL (0xD1)A driver tried to use memory it should not have.The driver file named on screen; network and graphics drivers.
CRITICAL_PROCESS_DIED (0xEF)A core Windows process stopped unexpectedly.System file repair (DISM, SFC), drive health, recent updates.
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (0x7E)A system program hit an error it could not handle, usually a driver.The file name on screen; roll back the newest driver.
KERNEL_SECURITY_CHECK_FAILURE (0x139)Windows detected corruption in important data.Drivers, RAM, system files.
DPC_WATCHDOG_VIOLATION (0x133)A driver or device took too long to respond.Storage (SSD) firmware and drivers, docks and USB devices.
INACCESSIBLE_BOOT_DEVICE (0x7B)Windows lost access to the drive it starts from.Drive cables, BIOS storage settings, failing drive.
WHEA_UNCORRECTABLE_ERROR (0x124)The hardware itself reported a fatal error.Overheating, overclocking, power supply, CPU or RAM.

A code points you in a direction; it rarely proves one cause. A pattern of different stop codes often means hardware (RAM, drive or overheating) rather than a single bad driver.

Step 1: Undo what changed last

Most crash streaks start right after something changed. Think back over the last few days:

  • New hardware? Microsoft’s first suggestion is to shut down, remove it, and restart.
  • New driver or Windows update? In Device Manager, open the device, choose the Driver tab and select Roll Back Driver. For a Windows update, go to Settings > Windows Update > Update history > Uninstall updates.
  • New antivirus, VPN, game anti-cheat or “system booster”? These install low-level drivers. Uninstall to test.
  • Overclocking or tuning tools? Return the PC to default settings.

Step 2: Use Safe Mode if you cannot reach the desktop

If Windows crashes during startup, it should open the recovery screen after two or three failed starts. Choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 for Safe Mode or 5 for Safe Mode with Networking. Safe Mode loads only basic drivers, so you can uninstall the troublesome program or roll back a driver from there. From the same Advanced options menu you can also use System Restore to go back to a restore point from before the crashes started.

Step 3: Update Windows and drivers, and check free space

  • Install everything in Settings > Windows Update, including optional driver updates.
  • In Device Manager (right-click Start), look for any device with a yellow exclamation mark. Right-click it and choose Update driver.
  • Get graphics, chipset and storage drivers from your PC or component maker’s official site.
  • Microsoft recommends keeping 10 to 15 percent of your drive free so Windows can work properly. See how to free up storage.

Step 4: Repair Windows files

For codes like CRITICAL_PROCESS_DIED, damaged system files are a common cause. Open Command Prompt as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth, then sfc /scannow. Restart when both finish. Neither command touches your personal files.

Step 5: Test memory, drive and temperature

  • Memory: Press Windows key + R, type mdsched.exe and choose Restart now and check for problems. Windows Memory Diagnostic runs before Windows starts and shows the result after you sign in. Any error means a RAM problem.
  • Drive: Many PC makers include a built-in hardware test (often reached by pressing a key such as F2 or F12 at startup). Your SSD maker’s free app can show drive health and install firmware updates.
  • Heat: Crashes during games, video calls or heavy work point to overheating. Clean vents and read our laptop overheating guide.
  • History: Type reliability in Start and open View reliability history. It shows each crash with a date, so you can match crashes to updates or new apps.

When it is time for repair or reset

If memory or drive tests fail, the fix is replacing that part; back up first. If tests pass but crashes continue after all of the above, Microsoft’s recovery options include Reset this PC with “Keep my files”, which reinstalls Windows without deleting personal files (you will need to reinstall apps). If your PC is under warranty, contact the maker through its official website. Our guides to a frozen computer and a computer that won’t turn on help if the problem turns into a hang or no power at all.

Common questions

Is one blue screen something to worry about?

Usually not. Microsoft says that in most cases the restart resolves the problem and no further action is needed. Start troubleshooting if the same stop code keeps coming back.

Why is my Windows 11 crash screen black instead of blue?

Starting with Windows 11 version 24H2, Microsoft changed the stop code screen to black. The message and stop codes work the same way as the old blue screen.

Can a virus cause a blue screen?

It is possible but uncommon. Drivers, hardware and damaged system files are far more frequent causes. A real crash screen never shows a phone number; one that does is a scam page.

How do I find my old stop codes?

Open Start, type reliability, and select View reliability history. Critical events list each crash with its date and details. Event Viewer also logs them under Windows Logs > System.

What does the .sys file name on the crash screen mean?

It is the driver Windows was running when it crashed. Search the file name on the device maker’s official site, then update, roll back or uninstall that driver.

Will resetting my PC fix blue screens?

It fixes crashes caused by software or Windows files, and the “Keep my files” option keeps your documents. It will not fix failing RAM, a failing drive or overheating.

Recommended: online backup

Repeated crashes can damage files. Keep a current backup:

  • IDrive online backup (automatic cloud backup for PCs, Macs and phones in one account; keeps earlier versions of files; free 10 GB plan to try it)

We may earn a commission if you sign up through this link. It does not change our advice. Affiliate disclosure.

What you might need

If the cause turns out to be hardware:

As an Amazon Associate I earn from qualifying purchases. We may also earn a commission from eBay links. Affiliate disclosure.

Sources and further help

Official and primary sources used to check this guide. Menus, prices and plan details can change; confirm current terms with the provider.

Spot an error or an outdated step? Tell the editor. Please never send passwords or private files.