How to Fix Blue Screen of Death (BSOD) in Windows 11 and 10: Complete Guide

Computer monitor on a desk showing a solid blue screen with a white sad face, a blue screen of death illustration.

This guide explains how to fix blue screen of death (BSOD) problems in Windows 11 and Windows 10. A blue screen appears when Windows hits an error it cannot safely recover from, so it stops and restarts. The method is to read the stop code, find the likely cause, and then work through the fixes in a sensible order, starting with the safest checks. Some Windows 11 versions show the same message on a black screen. The stop code, such as PAGE_FAULT_IN_NONPAGED_AREA, is your best clue.

Last reviewed: November 19, 2026. The steps and menu paths were compared with Microsoft documentation (listed under Sources). Menu names vary by Windows build, so trust what your own screen shows. No step was run on a real PC for this review.

Before you start

If Windows starts, copy your important files before you change anything. Follow the backup guide, or copy the files to an external drive or OneDrive. If Windows will not start, read which path you are on first, and do not run repairs on a drive you are worried about.

Start here: pick your situation

Windows starts but occasionally crashesRecord the stop code, then work through the full route.Go to the full routeWindows crashes during startupReach Safe Mode or the recovery menu first.Go to Safe Mode and recoveryThe computer keeps restartingStop the automatic restart so you can read the screen.Go to restart loopsProblems began after an update or driver installationUndo the latest change before anything else.Go to undo recent changesBlue screens happen during gamingCheck graphics drivers, heat and overclock or XMP settings.Go to gaming crashesI have a stop code and want to understand itFind the code in the table and follow its link.Go to the stop code table

Which path are you on?

Path A: Windows starts

You can sign in, even if the PC crashes now and then. Work through the full route in order.

  1. Write down the stop code
  2. Back up your files
  3. Undo the latest change
  4. Update Windows and drivers
  5. Test the memory
  6. Check the drive
  7. Repair system files
  8. Check overheating and power
  9. Scan for malware

Path B: I cannot reach Windows

Windows stops before sign-in, or restarts before you can use it. Start with the recovery menu, and back up only if you can do so safely.

  1. Reach Safe Mode or the recovery menu
  2. Force the recovery environment
  3. Try Startup Repair and the recovery options
  4. Know when to get professional help

The short version

Quick fix summary

  1. Write down the stop code and any driver file name shown on the screen.
  2. If Windows starts, back up your important files before any repair.
  3. Check recent hardware changes: unplug non-essential devices, one change at a time.
  4. Start in Safe Mode, or open the recovery menu if Windows will not start.
  5. Undo the most recent driver, update, program or hardware change.
  6. Update Windows, then the driver named on the screen, then graphics, chipset, network and storage drivers.
  7. Run Windows Memory Diagnostic with XMP or EXPO turned off.
  8. Check free space and drive health, then run chkdsk C: /scan.
  9. Repair system files with DISM, then sfc /scannow.
  10. Check temperatures and power.
  11. Scan for malware.
  12. If crashes continue, back up and choose by situation. If Windows starts, use System Restore, then a repair install run from inside Windows, or a reset that keeps your files. If Windows will not start, use Startup Repair, System Restore or Reset this PC from the recovery menu.

In this guide

What a blue screen is and why it happens

A blue screen is a safety stop. The Windows kernel, the core of the operating system, detects a fault it cannot correct. It halts to prevent further damage, then the PC restarts or waits for a restart.

The screen shows a stop code, also called a bug check. The name describes the type of failure, not always the faulty part. Use it to narrow the search, then test the likely cause. Most blue screens come from drivers, updates, memory, storage, system files, heat or power, overclocks, malware or failing hardware.

What happens during a blue screen

This diagram shows the five stages, so you know which clue to collect and when.

  1. A fault occurs.A driver, memory, the drive or a system file does something Windows cannot handle safely.
  2. Windows stops.The kernel halts everything to protect your data and hardware.
  3. The stop code appears.The screen shows a code and sometimes a driver file name. This is your best clue.
  4. A record may be saved.Windows can save a small crash file and an event log entry for later.
  5. The PC restarts.It restarts on its own unless you turned automatic restart off.

Common causes and what to try first

Use this table to match what you noticed with a first step. Software causes are quicker to check, so start with them before you test hardware.

CauseTypical clueFirst thing to try
DriversCrash began after a driver update or new hardware; a .sys file is namedRoll back or update the driver named on screen
Windows updatesCrashes started right after an update was installedUninstall the latest update, then check for a fixed version
Memory (RAM)Random crashes, different stop codes, crashes under heavy loadWindows Memory Diagnostic with XMP or EXPO off
StorageSlow start, file errors, a nearly full drive, crash when reading or writing large filesCheck free space and drive health, then run chkdsk C: /scan
Corrupted system filesWindows Update errors, apps that will not open, CRITICAL_PROCESS_DIEDRun DISM, then sfc /scannow
Overheating or powerCrash under load, loud fans, PC switches off suddenlyCheck temperatures; clean vents and fans
Overclock or XMP/EXPOCrash began after you changed BIOS memory or CPU settingsReturn memory and CPU settings to default
MalwareNew programs you did not install, slow PC, unexpected changesRun a full scan with Windows Security
Failing hardwareCrashes continue after software fixes; clicking from the driveBack up your files, run your PC maker’s start-up hardware test (Step 3), then test one part at a time

Overclocks and XMP or EXPO profiles can look like random hardware faults. A crash that began after a change is the strongest clue, so think about recent programs, drivers, updates and devices.

How to read the stop code

The stop code is the most useful clue you have. Record it before you try any fix, because it can disappear after the next restart.

Read what the screen shows

Write down the stop code exactly, such as DRIVER_IRQL_NOT_LESS_OR_EQUAL. Note any file name on the screen, especially a driver that ends in .sys. A photo works just as well as written notes.

Microsoft says Windows 11 version 24H2 and later show the stop error on a black screen, and earlier versions show a blue screen. Some versions also show a QR code that may open online help. The Microsoft article on troubleshooting unexpected restarts and stop code errors explains these screens.

This diagram lists what to copy from a stop screen. It is a diagram, not a screenshot, and what your screen shows depends on your Windows version.

  1. Stop code name.The words in capital letters, such as DRIVER_IRQL_NOT_LESS_OR_EQUAL. Copy them exactly.
  2. Hex number, where one is shown.A value such as 0x000000D1. Some versions show it, and the event log may include it. Match it to the table below.
  3. A file name ending in .sys.If a driver file is named, write it down. It is a lead to test, not proof of the cause.
  4. A QR code, on some versions.It can open online help. Photograph the whole screen so you still have the code after the restart.

Stop the automatic restart

If the PC restarts before you can read the screen, turn off automatic restart. Menu names can vary by Windows build, so check the labels on your own screen.

  1. Press Windows + R, type sysdm.cpl and press Enter. When System Properties opens, select the Advanced tab if it is not already showing. To go straight to Advanced system properties, you can run SystemPropertiesAdvanced instead of sysdm.cpl.

    You should see: the System Properties window, with the Advanced tab selected and a Startup and Recovery area near the bottom.

    If this fails: if the window opens on a different tab, select Advanced at the top. If the command does not run, search Start for “View advanced system settings” and open it from there. Microsoft lists SystemPropertiesAdvanced.exe among the Control Panel items you can run by name, but its page does not say which tab opens first.

  2. Under Startup and Recovery, select Settings. Untick Automatically restart. Keep Write debugging information on Automatic memory dump, then select OK.

    You should see: the Automatically restart box is empty and the dump setting is still Automatic memory dump.

    If this fails: if you cannot change the setting, sign in with an administrator account and try again.

If the computer keeps restarting

Microsoft says that when Windows restarts often because of the same stop code, the basic steps in this guide are the right next move. Turn off automatic restart first, so the stop code stays on screen long enough to write down.

If the restart loop shows Automatic Repair, read the Automatic Repair loop guide. If Startup Repair is the tool you need, read the Startup Repair guide. Both lead back to the recovery options below.

Check the event log and crash files

Once Windows runs again, check what it recorded. Reliability Monitor shows a timeline of crashes. Search Start for Reliability Monitor (its name and location can vary by Windows build) and select a failure to see its details. For more, read how to use Reliability Monitor.

Event Viewer can also record the crash. Open Windows Logs > System and look for an entry from the source WER-SystemErrorReporting, which is often Event ID 1001. The exact event ID can vary by Windows version, and the description may include the stop code.

Windows also saves small crash files in C:\Windows\Minidump. Each file records one crash. If the folder is empty, dumps were not being saved, so turn on the setting above and wait for the next crash.

WinDbg is Microsoft’s debugger. Use it only to open a dump file and run !analyze -v, which often names the module involved. It does not change your PC.

Common stop codes and where to look next

The hexadecimal number is the value in Microsoft’s bug check code reference. The 15 values below match that reference. The usual cause is a common pattern, not a diagnosis.

The 15 common stop codes

Stop code (hex)Usual causeStart withMore help
MEMORY_MANAGEMENT (0x1A)Memory, a driver or system filesMemory test (Step 7)Fix MEMORY_MANAGEMENT
KMODE_EXCEPTION_NOT_HANDLED (0x1E)A driver that crashed in kernel modeThe driver named on screen (Step 6)Step 6
IRQL_NOT_LESS_OR_EQUAL (0xA)A driver or faulty memoryRecent drivers, then memoryFix IRQL_NOT_LESS_OR_EQUAL
SYSTEM_SERVICE_EXCEPTION (0x3B)A driver, often graphics or security softwareGraphics drivers (Step 6)Fix SYSTEM_SERVICE_EXCEPTION
PAGE_FAULT_IN_NONPAGED_AREA (0x50)Faulty memory, a driver or damaged filesMemory test (Step 7)Steps 6, 7 and 9
INACCESSIBLE_BOOT_DEVICE (0x7B)Windows cannot read its drive: storage driver, SATA or RAID mode, cable, driveBIOS storage settings, then Startup RepairStartup Repair guide
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (0x7E)A driver or system componentThe driver named on screen (Step 6)Steps 6 and 9
DRIVER_IRQL_NOT_LESS_OR_EQUAL (0xD1)A driver that accessed memory it should notThe driver named on screen (Step 6)Step 6
CRITICAL_PROCESS_DIED (0xEF)A core Windows process stoppedSystem files (Step 9), then drive health (Step 8)Fix CRITICAL_PROCESS_DIED; what it means
WHEA_UNCORRECTABLE_ERROR (0x124)A hardware fault, overheating or an unstable overclockReset overclocks, check temperatures (Step 10)Fix WHEA_UNCORRECTABLE_ERROR
DPC_WATCHDOG_VIOLATION (0x133)A driver or storage device that does not respondStorage drivers, then drive healthSteps 6 and 8
KERNEL_SECURITY_CHECK_FAILURE (0x139)Damaged kernel data, often from a driver or memoryDISM and SFCStep 9
UNEXPECTED_STORE_EXCEPTION (0x154)A storage driver, drive fault or damaged filesDrive healthSteps 6 and 8
DRIVER_POWER_STATE_FAILURE (0x9F)A driver that failed during sleep or a power changeDrivers, then power settingsStep 6
NTFS_FILE_SYSTEM (0x24)An error in the drive’s file systemDrive health, then chkdsk C: /scanStep 8

Dell laptops and single-code guides

If your stop code appears on a Dell laptop, the Dell route has model-specific steps: blue screen of death on a Dell laptop. The single-code guides linked above go deeper on one code each.

Decision tree: where to start

Answer these questions in order. Follow the first path that fits, then go to the matching step in the full route.

  • Can Windows start normally?
    • No: Start at the recovery menu (Step 4), then try Startup Repair.
    • Yes, but it crashes: Continue with the next question.
  • Did the crashes begin after a change?
    • Yes: Undo that change first (Step 5), then check the matching driver (Step 6).
    • No: Continue with the next question.
  • Does the stop code name a driver or point to memory?
    • Yes: Work on the driver (Step 6) or run the memory test (Step 7).
    • No: Go to the drive and system file checks.
  • Does the drive health check show warnings?
    • Yes: Back up your files now (Step 2), then stop running repairs on the drive.
    • No: Run the chkdsk scan and the DISM and SFC repairs (Steps 8 and 9).
  • Are the crashes still there after the software steps?
    • Yes: Check temperatures and power (Step 10), then use the recovery options.
    • No: Keep the fixes and follow the prevention tips.

How to fix blue screen of death: the full route, in order

Work through these steps in order and stop when the crashes stop. Write down each change, so you can undo it. Change one thing at a time, or you will not know which fix worked.

The safe order of repairs

The route goes from the least risky checks to the most drastic repairs.

  1. Record and back up.Steps 1 and 2: note the stop code, then copy your files.
  2. Undo recent changes.Steps 3 to 5: unplug new devices, then undo the newest driver, update or program.
  3. Update.Step 6: install Windows updates and the driver named on screen.
  4. Test hardware.Steps 7, 8 and 10: memory, drive, heat and power.
  5. Repair Windows.Steps 9 and 11: system files, then a malware scan.
  6. Use recovery options.System Restore, Startup Repair, repair install, reset, and only last a clean install.

Step 1: Write down the stop code

What this does: keeps the clue, the stop code and any driver file name, that narrows the search.

Record the stop code, any driver file name and the time of the crash. Keep these notes for the rest of the route.

You should see: a stop code, and possibly a .sys file name, in your notes.

If this fails: if the screen disappears too fast, turn off automatic restart as described above and try again.

How to check it worked: your notes contain the code exactly as it appeared.

Step 2: Back up your files

What this does: copies your personal files somewhere safe before any repair, so a failed fix cannot take them with it.

Do this early, while Windows still starts. Repairs, resets and drive checks can go wrong, and a backup is your safety net. The full method is in the backup guide. Choose one of these methods:

  1. File History: connect an external drive, then open Control Panel > System and Security > File History and turn it on. Windows 10 also offers Settings > Update & Security > Backup. Menu names vary by build.

    Control PanelSystem and SecurityFile History

  2. Copy to an external drive: open File Explorer, select your Documents, Desktop, Pictures and Downloads folders, and copy them to the drive.
  3. Copy to OneDrive: copy the folders you need into your OneDrive folder, then wait until the OneDrive icon shows the files as synced.

What you should see

A File History status with a recent backup time, or copied folders on the external drive or in OneDrive.

If the drive will not read

Stop. Do not run chkdsk /f, chkdsk /r or other repair tools on a drive that will not read or shows errors. Go to the recovery options and the professional repair section, and tell the technician that the drive would not read.

How to check it worked

Open a few copied files from the backup, such as a document and a photo, and confirm they open. If the drive is encrypted, keep the BitLocker key ready, and see the BitLocker recovery key guide.

Step 3: Check recent hardware changes

What this does: finds a new device or part that could be causing the crashes.

Think about the last few days. A new USB gadget, extra memory, a new graphics card or a new printer can all trigger crashes. Microsoft advises removing new hardware first, then restarting.

  1. Unplug non-essential devices: USB drives, printers, docking stations, game controllers and webcams. Keep the keyboard and mouse. Restart and see whether the crashes stop.

    You should see: the crashes stop, or stay the same with the device still connected.

    If this fails: if the crashes continue with everything unplugged, the device is not the cause. Carry on with the route.

  2. Change one thing at a time. If a device stops the crashes, plug it back in alone, restart, and test again.
  3. Desktop only: turn the PC off and unplug it from the wall. Open the case as the maker describes, then reseat the memory sticks and the graphics card firmly. Do not force any part.

    You should see: each part sits flush in its slot and clips or screws are secure.

    If this fails: if a part will not seat, stop. Ask a technician rather than forcing it.

  4. Laptop: do not open the case unless the maker’s manual shows a user-replaceable panel. Ask the maker or a technician about any internal part.

Right-click StartDevice Manager

How to check it worked: Device Manager shows no devices with an exclamation mark, and the crashes do not return during normal use with the changed part in place.

Run your PC maker’s start-up hardware test

Many PC makers build a hardware test into the start-up menu. It runs before Windows loads, so it can work even when Windows keeps crashing. The keys differ by maker and model, so check the maker’s own page for your PC. Do not change any BIOS setting while you do this.

  • Dell: at the Dell logo, press F12 several times until the One Time Boot Menu appears, then choose Diagnostics. See Dell’s preboot diagnostics page, or our Dell laptop blue screen guide.
  • HP: turn the PC on and press Esc, then F2, to open HP PC Hardware Diagnostics UEFI. HP’s user guide notes that some products need a USB drive set up first.
  • Lenovo ThinkPad and ThinkBook: press F10 repeatedly at the Lenovo logo (Lenovo’s page). For IdeaPad, Legion, Yoga and LOQ models, Lenovo points to the Novo Button Menu instead (Lenovo’s page).

You should see: a pass, or a message naming a part and an error code.

How to read it: a named failing part is a strong lead, so write the code down and contact the maker. A pass only means the test found nothing at that moment. It does not prove every part is healthy, because some faults come and go. If your maker offers no built-in test, carry on with the Windows checks in Steps 7 and 8.

Step 4: Start in Safe Mode or the recovery menu

What this does: starts Windows with only basic drivers and services, or opens the menu that holds repair tools when Windows will not start.

If Windows still starts, restart it in Safe Mode. If the crashes stop there, a driver or installed program is the likely cause. See how to boot into Safe Mode.

In Windows 11, go to Settings > System > Recovery, select Restart now next to Advanced startup, then choose Troubleshoot > Advanced options > Startup Settings > Restart. In Windows 10, go to Settings > Update & Security > Recovery > Advanced startup. Press 4 or F4 for Safe Mode, 5 or F5 for Safe Mode with Networking, or 6 or F6 for Safe Mode with Command Prompt.

SettingsSystemRecoveryRestart now (Advanced startup)TroubleshootAdvanced optionsStartup SettingsRestart

You should see: the Advanced startup or Startup Settings screen with numbered options.

If this fails: create a recovery drive on another PC, or start from Windows installation media and choose Repair your computer (not Install now, which starts a clean install) to reach the recovery tools. The setup screen wording varies by version. You will need one of these for the recovery options below.

How to check it worked: in Safe Mode, the words Safe Mode usually appear in the corners of the screen.

If Windows will not reach the sign-in screen

Microsoft describes a way to force the recovery environment (WinRE) by interrupting startup twice. Windows then opens Automatic Repair on the third start.

  1. Start the PC.Wait for the Windows or manufacturer logo to appear.
  2. Force a shutdown.As soon as the logo appears, press and hold the power button until the device shuts off.
  3. Repeat once.Turn the device on again and repeat step 2 a second time.
  4. Let it reach recovery.Turn the device on a third time. Windows should show the Automatic Repair screen.
  5. Open the options.Select Advanced options, then choose Troubleshoot to reach Startup Repair or Startup Settings.

Warning

Forced power-offs are a last resort. Never do this during an update progress screen, because stopping an update can damage Windows. If a progress screen seems stuck, wait and check again rather than forcing a shutdown.

Good to know

If a BitLocker recovery key screen appears, do not guess and never try to bypass it. Find the 48-digit key on another device. For a personal Microsoft account, go to aka.ms/myrecoverykey. For a work or school account, go to aka.ms/aadrecoverykey. Use the key ID shown on the screen to pick the right key. See how to find your BitLocker recovery key.

Step 5: Undo the latest driver, update or program change

What this does: removes the newest change, which is the most likely cause when crashes began suddenly.

Think about the last few days: a new program, a Windows update or a driver. Undo the newest one first, test, then move on.

  1. Roll back a driver. Right-click Start, select Device Manager, expand the category and double-click the device named in your notes. On the Driver tab, select Roll Back Driver if it is available, follow the prompts, then restart.

    Right-click StartDevice ManagerDriver tabRoll Back Driver

    You should see: the previous driver is installed and the crashes stop or change.

    If this fails: the button is greyed out when no earlier driver is saved. Go to Step 6.

  2. Uninstall a recent Windows update. Use the path below. Windows 10 uses Settings > Update & Security > Windows Update and then the update history.

    SettingsWindows UpdateUpdate historyUninstall updates

    You should see: a list of recent updates you can remove.

    If this fails: if the option is missing, read how to uninstall a Windows update.

  3. Remove a recent program. Uninstall software you installed just before the crashes, especially tools that change drivers or system settings.

    SettingsAppsInstalled apps

    You should see: the program is gone from the list after it uninstalls.

    If this fails: if the uninstaller asks you to restart, do so and check again.

How to check it worked: use the PC normally for a while, with the same task that caused the crash. If the stop code does not return, the change was the likely cause.

Step 6: Update Windows and the driver named on the screen

What this does: installs the fixes that Microsoft and device makers have released for the parts named in your stop code.

Windows Update first

Microsoft advises installing the latest Windows updates. Install everything, restart, then check whether the stop code returns.

SettingsWindows UpdateCheck for updates

On Windows 10, go to Settings > Update & Security > Windows Update > Check for updates. Read how to install Windows updates for Microsoft’s current wording.

You should see: Windows reports that it is up to date, or it installs updates and restarts.

If this fails: if updates keep failing, note the error code and move on to Step 7. Do not install a driver from an unknown site to fix an update error.

Update or replace the driver named on screen

Start with the driver named on the screen. If there is none, check graphics, chipset, network and storage drivers. Use Windows Update or the device maker’s own support site, and avoid driver updater tools that promise to fix every driver.

  1. Open Device Manager and find the device named in your notes. A yellow exclamation mark shows a problem. Right-click the device, select Update driver, choose Search automatically for drivers, then restart.

    Right-click StartDevice ManagerUpdate driverSearch automatically for drivers

    You should see: either a message that the best driver is installed, or a newer version in the device properties.

    If this fails: download the latest driver from the maker’s support site for your exact model, install it and restart. See how to update drivers in Windows 11.

How to check it worked: the device shows no warning mark, and the stop code does not return during normal use.

Gaming crashes

If blue screens happen mainly during games, work through these checks one at a time. Graphics drivers are a common source of SYSTEM_SERVICE_EXCEPTION, and the guide to updating or reinstalling graphics drivers covers the steps.

  • Graphics driver: install it from the graphics maker’s site for your exact card. Where the installer offers a clean install option, use it. Change one driver at a time and test after each change.
  • Temperatures: watch the graphics and processor temperatures during a game with the monitoring tool from the maker, and compare them with the limits the maker lists.
  • Overclock and XMP or EXPO test: write down the current values, then turn the overclock and the memory profile off while you test. If the crashes stop, the setting was the likely cause. Keep it off until you have a stable setting.

If the crashes continue with a SYSTEM_SERVICE_EXCEPTION stop code, read the full SYSTEM_SERVICE_EXCEPTION guide.

Step 7: Test the memory

What this does: runs a built-in memory check that can find faulty RAM.

Memory faults can cause random crashes and stop codes such as MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA. Windows Memory Diagnostic is built into Windows and is a sensible first test. Read how to test RAM with Windows Memory Diagnostic for more detail.

MEMORY_MANAGEMENT stop code?

If your stop code is MEMORY_MANAGEMENT, read the MEMORY_MANAGEMENT guide. It covers the memory-specific checks in more depth than this step.

Run the memory test

  1. Save your open work. Press Windows + R, type mdsched.exe and press Enter. If User Account Control appears, approve it with an administrator account. Select Restart now and check for problems (recommended).

    Windows + Rmdsched.exeRestart now and check for problems

    You should see: the PC restarts and the Windows Memory Diagnostic test screen appears.

    If this fails: if the tool does not open, search Start for Windows Memory Diagnostic and open it from the results.

  2. Optional: run a more thorough test. On the test screen, press F1. Under Test Mix, use the arrow keys to change Standard to Extended, then press F10 to apply. Standard is the default. Extended is more thorough and takes longer, and Microsoft does not give a run time.

    You should see: Test Mix shows Extended before the test continues.

    If this fails: if the options do not change, let the standard test finish and check the result in the next step.

  3. Wait for the result. When the tests finish, the PC restarts and goes to the sign-in screen. Sign in and wait a few minutes. A Windows Memory Diagnostic notification near the clock shows the result.

    You should see: a notification that reports the result of the memory test.

    If this fails: if the notification is missed or dismissed, open Event Viewer and go to Application and Services Logs > Microsoft > Windows > MemoryDiagnostics-Results > Debug, which is the place Microsoft documents. Some guides place the result under Windows Logs > System with the source MemoryDiagnostics-Results, so check there too if you cannot find it. Microsoft associates Event ID 2001 with a run that found no memory errors. Read the wording rather than relying on a number alone.

Before you change memory settings

Warning

XMP or EXPO is a BIOS setting. Write down the current values before you change anything. Set memory to default only for testing, and keep your BitLocker recovery key ready. Load Optimized Defaults is a last resort, not a first step.

If the test reports errors

If the test reports errors, shut the PC down, unplug it and reseat the memory. On a desktop, test one stick at a time, and replace any stick that still reports errors. On a laptop, check the maker’s manual before opening anything, and ask a technician if the memory is not user-replaceable. If errors continue with XMP or EXPO on, an unstable memory profile is a likely cause, so test with it off.

If the test reports no errors, that does not prove the memory is perfect, because some faults come and go. If the crashes continue, test one stick at a time on a desktop, or run your PC maker’s start-up hardware test from Step 3.

How to check it worked: the test reports no problems, and the crashes do not return during normal use.

Step 8: Check the drive and file system

What this does: checks free space and the drive’s health, then runs an online scan of the C: volume with chkdsk.

A failing or nearly full drive can cause crashes, especially the storage stop codes in the table above. Check free space first, then the drive’s health. Read how to check hard drive or SSD health, or use the drive maker’s own tool.

Check free space on the Windows drive first

Microsoft notes that if your PC is running out of storage space, you may notice slower performance or trouble installing Windows updates. Look at how much room the Windows drive (usually C:) has left before you run any repair.

File ExplorerThis PCDevices and drives

  1. Open File Explorer and select This PC in the left pane. Under Devices and drives, find the drive with the Windows logo, usually C:. The bar under it shows how much space is free.
  2. To see what uses the space, open Settings > System > Storage. Menu names vary by build.

You should see: the C: drive with its free space in GB, and a bar that is not almost full.

How to read it: Microsoft’s stop-code troubleshooting guidance recommends keeping about 10 to 15 percent of the drive free (see the Microsoft Learn stop code troubleshooting page). Microsoft’s Storage Sense page also says that what counts as low free space depends on the disk size and what the system needs, and Windows 11 itself requires a storage device of 64 GB or more. The exact amount you need varies with your PC, your Windows version and how much you install.

If free space is low: free some before you run the repairs below. Our guide to freeing up disk space on Windows 11 and the article on what takes up space on a full C drive explain the safe options. Do not delete system folders by hand.

Check the drive’s health and run the scan

  1. Check the drive’s health and note the status.

    You should see: a status of good or OK, with no warnings.

    If this fails: if the health check shows a warning or failure, back up your files now and stop running repairs on that drive. See the professional repair section below.

  2. Open Command Prompt as administrator and run the scan below. Microsoft Learn describes /scan as an online scan of the volume. It can repair some problems it finds, so make sure your files are backed up first. Plain chkdsk C: with no switches only reports problems.

    Search StartcmdRun as administrator

    chkdsk C: /scan

    You should see: a report that finds no errors, or a list of problems to note.

    If this fails: if the scan lists errors, back up your files before you do anything else.

Warning

Do not run chkdsk /f or chkdsk /r as a first step. Microsoft says /f fixes errors on the disk and /r also looks for bad sectors, so both write to the drive and can take a long time. Use them only after a full backup, a clean health check and a /scan result that points to errors you need to fix. As general advice, never run them on a drive that is clicking or failing.

Step 9: Repair Windows system files

What this does: repairs damaged or missing Windows system files with DISM, then checks them with the System File Checker (SFC).

Damaged system files can cause CRITICAL_PROCESS_DIED and other stop codes. Run DISM first. Microsoft says DISM provides the files that SFC needs to repair damaged files. Microsoft’s guide on using the System File Checker tool covers both tools, and how to repair Windows system files with SFC and DISM gives more detail.

This diagram shows what each command does and why the order matters. It is a diagram, not a screenshot.

  1. Open an administrator window.Search Start for cmd, then choose Run as administrator.
  2. DISM repairs the Windows image.It needs an internet connection, and it supplies the clean files that SFC will use.
  3. SFC checks protected files.It replaces damaged system files using the repaired image.
  4. Restart and test.Use the PC as you normally would and see whether the crash returns.
  1. Open an administrator Command Prompt and run DISM. It needs an internet connection. Wait for it to finish.

    Search StartcmdRun as administrator

    DISM /Online /Cleanup-Image /RestoreHealth

    You should see: a completion message from DISM. The exact wording can vary by Windows version.

    If this fails: if DISM reports an error, check your internet connection and run it again.

  2. Run the System File Checker in the same window, then restart the PC.
    sfc /scannow

    You should see: either "Windows Resource Protection did not find any integrity violations." or "Windows Resource Protection found corrupt files and successfully repaired them."

    If this fails: if SFC reports files it cannot repair, run the DISM command again, restart the PC, then run sfc /scannow once more.

How to check it worked: the crashes do not return during normal use, and Windows Update and apps that failed before now work.

Step 10: Check overheating and power

What this does: looks for overheating and power problems, which can cause crashes under load, especially WHEA_UNCORRECTABLE_ERROR.

Heat and an unstable power supply can cause crashes when the PC is busy. Use the monitoring tool from the CPU or graphics maker to watch temperatures during normal use. Compare what you see with the limits the maker publishes for your exact parts, because the safe range differs between models.

  1. Run a task that normally makes the PC busy. Note the highest CPU and graphics temperatures the monitoring tool reports.

    You should see: temperatures that stay within the limits the maker lists for your parts.

    If this fails: if temperatures reach the maker’s limits, or the PC shuts off, stop heavy use and continue with the next point.

  2. With the PC off and unplugged, clean dust from the vents and fans. Use compressed air in short bursts, and hold each fan blade still with a soft plastic stick or a cotton swab while you do, so the fan does not spin freely and get damaged.

    You should see: clear vents and fans that turn smoothly.

    If this fails: if a fan is noisy or stops, ask a technician to replace it.

  3. Check the power supply only as far as is safe. If the PC shuts off suddenly, or you suspect the power supply, ask a technician to test or replace it.

Warning

Turn the PC off and unplug it before you open the case. Do not open a power supply. A capacitor can hold a charge after the PC is off.

For WHEA stop codes, read the WHEA_UNCORRECTABLE_ERROR guide. It explains the hardware and overclock checks in more detail.

How to check it worked: temperatures stay within the maker’s limits during normal use, and the PC does not shut off under load.

Step 11: Scan for malware

What this does: looks for malware, which can cause crashes and unexpected changes.

Use Windows Security, the antivirus built into Windows, to run a full scan. A full scan checks more files than a quick scan and takes longer. For more help, read how to remove virus and malware from a Windows PC.

  1. Open Windows Security and go to Virus & threat protection > Scan options.

    Windows SecurityVirus & threat protectionScan options

  2. Select Full scan, then select Scan now. If you are still unsure after the scan, use the Microsoft Defender Offline scan from the same Scan options menu, if your build offers it. It restarts the PC and scans before Windows loads.

    You should see: a scan report, with any threats removed or quarantined.

    If this fails: if Windows Security is turned off, or another antivirus is installed, use only one main antivirus at a time. If a threat cannot be removed, follow the malware guide above.

How to check it worked: the scan report shows no active threats, and the crashes do not return during normal use.

Recovery options, from least to most drastic

Use these options only after the earlier steps. Each one is more drastic than the one before it. Back up your files before you use any of them.

Warning

Back up your personal files before any recovery, reset, disk or BIOS action. Keep your BitLocker recovery key somewhere safe. If the drive is encrypted and you change the BIOS or repair the drive, Windows can ask for this key. Find it with Microsoft’s guide to finding your BitLocker recovery key.

Which option fits depends on whether Windows still starts. This diagram shows the choice. It is a diagram, not a screenshot.

  1. Windows starts.Try System Restore. Then a repair install or Reinstall now, both started while you are signed in to Windows.
  2. Windows starts, but the repairs fail.Back up, then use Reset this PC and keep your files.
  3. Windows will not start.Use the recovery menu: Startup Repair, System Restore or Reset this PC. A repair install that keeps your apps needs a working Windows, so it is not on this list.
  4. Nothing else works.Clean install from a USB drive. It erases everything on the drive you choose.

System Restore

Search StartCreate a restore pointSystem Restore

What this does: returns system files, drivers and settings to a restore point made before the crashes.

  1. Search Start for Create a restore point (menu names vary by Windows build), select System Restore, choose a restore point dated before the crashes, and follow the prompts.

    You should see: a list of restore points with dates and descriptions.

    If this fails: if no restore point is listed, move on to Startup Repair.

System Restore does not change personal files such as documents and photos, but apps, drivers or updates added after that point may be removed. See how to use System Restore.

Startup Repair

TroubleshootAdvanced optionsStartup Repair

What this does: runs from the Windows Recovery Environment and tries to fix common problems that stop Windows from starting.

  1. From the Advanced startup screen, choose Troubleshoot > Advanced options > Startup Repair, then sign in if asked.

    You should see: a Preparing Automatic Repair screen, then a result. The PC may restart more than once.

    If this fails: note the message. If Windows starts, you can try the repair install below. If Windows still will not start, try System Restore or Reset this PC from the same Troubleshoot menu, because a repair install needs a working Windows. See the Startup Repair guide.

Repair install, keeping your files and apps

Signed in to Windowssetup.exeChange what to keepKeep personal files and apps

What this does: reinstalls Windows over the current copy and keeps personal files and apps.

Run it from inside Windows. A repair install that keeps your files and apps is started while you are signed in to a working Windows, by running setup.exe from the installation media or an ISO. Microsoft describes two routes: reinstalling while signed in (an in-place upgrade), or from the Windows Recovery Environment (a clean install). The clean install removes personal files, apps and settings. If your PC cannot start, use the recovery options above, a recovery drive or installation media to reach them. Do not expect a keep-my-apps choice from that route.

Windows 11 also has a simpler way to reinstall the same version. Go to Settings > System > Recovery and, under Fix problems using Windows Update, select Reinstall now. Microsoft says it preserves your apps, files and settings, and that the PC should stay connected to power and the internet throughout. See Microsoft’s page on reinstalling the current version of Windows.

Warning

Back up first. A repair install keeps personal files and apps, but a failed setup can still leave the PC in a difficult state. Have your BitLocker key ready.

  1. While signed in to Windows, connect the installation USB drive, or right-click the ISO file and choose Mount. In File Explorer, open the drive and run setup.exe from its main folder. When Setup offers it, select Change what to keep, then choose Keep personal files and apps. The wording varies by Windows version.

    You should see: Setup may restart the PC several times. After sign-in, check Windows Update.

    If this fails: if Setup does not offer to keep your files and apps, or stops with an error code, write down what it says. Back up your files, then follow the guide to repairing Windows 11 without losing files, or use Reset this PC below.

See Microsoft’s page on reinstalling Windows with installation media for the current steps.

Reset this PC, keep my files

SettingsSystemRecoveryReset this PCGet startedKeep my files

What this does: reinstalls Windows and keeps your personal files, but removes installed apps and settings.

Warning

Keep my files removes apps and settings. It keeps personal files, but back them up first. Keep your BitLocker key ready before you reset an encrypted drive.

  1. In Windows 11, go to Settings > System > Recovery, select Reset this PC, then Get started, and choose Keep my files. In Windows 10, go to Settings > Update & Security > Recovery, then select Reset this PC and Get started. If Windows will not start, Microsoft says to reach it from the recovery environment: Troubleshoot > Reset this PC.

    You should see: Windows reinstalls, your personal files remain, and apps must be installed again.

    If this fails: write down the message. If Windows starts, try the repair install above. If it does not, go to the clean install below after you have backed up what you can. Guide: how to reset Windows 11 and keep your files.

Clean install, the last resort

Create installation media on another PCBoot from USBCustom install

What this does: installs a fresh copy of Windows on the drive you choose and removes everything on it.

Warning

A clean install erases everything on the drive you choose. Back up all personal files and any data you need. Confirm you have the right drive before you delete any partition.

  1. Create Windows installation media on a USB drive from another PC, start from it, and choose the custom install option. The exact wording varies by Windows version.

    You should see: a list of drives and partitions. Select only the partitions on the correct drive.

    If this fails: if the drive does not appear, check the drive health step first, because a failing drive may not show.

When to stop and get professional repair

Some problems need a technician. Stop the do-it-yourself route and get help if one of these applies.

  • Drive health shows a warning or failure, or the chkdsk scan lists errors.
  • The memory test reports errors after you reseat and test one stick at a time.
  • The PC shuts off, slows badly or runs very hot under light use.
  • You smell burning, see a swollen battery or hear clicking from the drive.
  • The crashes return after a clean install of Windows.

Bring your notes from Step 1, the stop codes, the changes you made and the results of each test. This saves time and helps the technician find the right part.

Keep it from coming back

Good habits prevent many repeat crashes. Change one thing at a time, and keep a short record of what you changed.

  • Install Windows updates regularly, but avoid installing many driver updates at once.
  • Keep a current backup of your files. A system image lets you restore the whole PC.
  • Keep overclocks off unless you have a tested, stable setting, and keep XMP or EXPO on only while memory tests pass.
  • Keep vents and fans clean, check temperatures during heavy work, and run Windows Security scans regularly.

Frequently asked questions

Questions about causes

Can one blue screen damage my files?

A single blue screen rarely damages files on its own. Repeated crashes can leave files damaged, and a failing drive can cause both problems. Back up important files while you troubleshoot.

Is the stop code always the cause?

No. The stop code points to a type of failure and often to a driver or part. Treat it as a clue, and confirm it with the steps in this guide before you replace anything.

Can overclocking or XMP cause a blue screen?

Yes. An unstable overclock or memory profile can cause crashes, sometimes with hardware stop codes such as WHEA_UNCORRECTABLE_ERROR. Return these settings to default while you troubleshoot.

Can bad RAM cause a blue screen?

Yes. Faulty memory can cause blue screens and stop codes such as MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA. Run Windows Memory Diagnostic first, then test one stick at a time on a desktop if errors appear.

Why does it only happen when gaming?

Games put a heavy load on the graphics card and processor, so a graphics driver problem, heat or an unstable overclock may show up only then. Work through the gaming checks above one at a time. The SYSTEM_SERVICE_EXCEPTION guide covers the most common stop code for this case.

Can a virus cause a blue screen?

It is possible. Malware can damage system files or interfere with drivers, which can cause crashes. Run a full scan with Windows Security as described in Step 11, and do not decide the cause from a blue screen alone.

Questions about safety and recovery

Do I need to reinstall Windows?

Usually not at first. Work through the steps and the recovery options in order. A clean install is the last resort, after you have backed up your files.

Can I do a repair install if Windows will not start?

A repair install that keeps your files and apps is started from inside a working Windows session by running setup.exe. If Windows will not start, use the recovery menu instead: Startup Repair, System Restore or Reset this PC. Starting from an installation USB leads to a clean install, which erases files, apps and settings.

How much free space should I keep on the Windows drive?

Microsoft’s stop-code troubleshooting guidance recommends keeping about 10 to 15 percent of the drive free, and the amount you need varies with your PC. Check it in File Explorer under This PC, and free some space before you run repairs if the drive is nearly full.

Should I use a driver updater or a registry cleaner?

No. Use Windows Update, Device Manager and the device maker’s support site. Registry cleaners and third-party driver updaters do not address the usual causes in this guide.

Is it safe to keep using the PC after a blue screen?

If the PC starts and works normally, back up your important files first. If the crashes repeat or the drive shows warnings, stop heavy use and work through the steps in this guide before you continue.

What if Windows will not start at all?

Use the recovery route in Step 4 to reach Advanced startup, then try Startup Repair. If you are stuck in an automatic repair loop, the Automatic Repair loop guide explains the next checks. Back up your files first if you can reach them.

Windows 10 note

Windows 10 reached end of support on October 14, 2025, so it no longer receives free software updates or technical assistance from Microsoft. Microsoft’s consumer Extended Security Updates (ESU) program runs until October 12, 2027 for eligible devices. Check Microsoft’s end-of-support page for the current details.

Many steps in this guide also apply to Windows 10. Where the menu path differs, the Windows 10 path is shown, but menu names vary by build, so check each one on your PC. Keep your PC updated and backed up, and consider Windows 11 if your hardware supports it.

For other crashes and errors, search by symptom in the PC repair guides.

What we could not confirm

Read this before you rely on a menu path

  • No step in this guide was run on a real PC.
  • The following items were not confirmed on a Microsoft page, so check the label on your own screen: the File History and Backup paths in Step 2, the Update history and Installed apps paths in Step 5, the Windows Security scan labels in Step 11, and the exact wording of the reset options.
  • The SystemPropertiesAdvanced shortcut is listed by Microsoft as a file name, but Microsoft does not say which tab it opens.
  • Event ID 1001 and the memory test result location can differ between Windows builds.
  • The maker start-up test keys can differ by model.
  • Microsoft’s bug check pages could not be opened directly, so the stop code table was checked against search results of the reference.

Sources

To capture more detail before choosing a fix, record a stop code when the screen disappears quickly or match a saved minidump to the crash time.