How to Fix a Blue Screen of Death (BSOD)
In this article
A Blue Screen of Death (BSOD) means Windows hit a critical error and stopped to prevent damage. You can often fix it yourself by identifying the error code, checking recently changed hardware or software, and running built-in repair tools. Start with the simplest fixes—restart, check connections, and note the error code—before trying more advanced steps.
What You'll Need
- Your Windows PC (desktop or laptop)
- Access to the Windows Recovery Environment (WinRE) – usually automatic after multiple failed boots
- If the BSOD repeats, a second device to search for error codes or download drivers
- Optional: a USB drive with Windows installation media for advanced repair
Step-by-Step
- Write down the error code and stop code. The BSOD screen shows a sad face and a message like SYSTEM_THREAD_EXCEPTION_NOT_HANDLED or CRITICAL_PROCESS_DIED. Note the code and any file names (e.g., driver.sys). If the screen disappears too fast, disable automatic restart: press F8 during boot (or use the recovery environment) to access Startup Settings and uncheck “Automatically restart.”
- Restart your PC normally. Some BSODs are one-time glitches. If it boots fine, check for Windows updates and run a quick disk check (see step 6). If it crashes again, continue.
- Remove recently added hardware or software. If you just installed a new graphics card, RAM, or a program, uninstall it or remove the hardware. For software, boot into Safe Mode (from the login screen, hold Shift and click Restart, then choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 or 5 for Safe Mode) and uninstall the problematic app.
- Run Windows built-in repair tools. In Safe Mode or the recovery environment, open Command Prompt (Troubleshoot > Advanced options > Command Prompt) and run:
sfc /scannow– scans and repairs system files.DISM /Online /Cleanup-Image /RestoreHealth– repairs the system image (requires internet).
- Check for driver issues. Many BSODs are caused by faulty drivers. In Safe Mode, open Device Manager (right-click Start), expand categories, and look for devices with a yellow exclamation mark. Right-click and choose “Update driver” or “Uninstall device” (then restart). For graphics drivers, download the latest from the manufacturer’s official site (NVIDIA, AMD, Intel) and install in normal mode.
- Run a memory test. Faulty RAM is a common cause. Type “Windows Memory Diagnostic” in the Start menu and run it. It will restart and test your RAM. If errors are found, replace the faulty stick.
- Check your hard drive or SSD. Open Command Prompt as administrator and run
chkdsk /f /ron your system drive (usually C:). It will ask to schedule a scan on next restart – accept and restart. - Update Windows. Go to Settings > Update & Security > Windows Update and click “Check for updates.” Install all updates, including optional driver updates.
- Restore to a previous point. If the BSOD started recently, use System Restore: in the recovery environment, choose Troubleshoot > Advanced options > System Restore, and pick a restore point from before the problem started.
- Reset or reinstall Windows. If nothing else works, back up your files (if possible) and use “Reset this PC” (Settings > Update & Security > Recovery) to reinstall Windows while keeping or removing your files. This is a last resort because it removes installed apps.
Common Mistakes
- Ignoring the error code – it’s your best clue. Search it online with your Windows version.
- Immediately reinstalling Windows without trying safe mode or system restore.
- Overheating – check that fans are spinning and vents are clear; dust can cause BSODs.
- Using third-party “BSOD fixers” or registry cleaners – they often do more harm.
- Assuming it’s always a hardware issue – software conflicts are just as common.
Tips
- Keep your system and drivers updated to prevent future BSODs.
- Use reliable antivirus software and run a full scan – malware can cause crashes.
- If you overclocked your CPU or GPU, revert to stock speeds.
- Create a system restore point before making major changes.
- If the BSOD occurs during a specific task (like gaming), test your GPU temperature and update its driver.
Troubleshooting
If the steps above didn’t fix it, try these in order:
- If you can’t boot into Windows at all: Use Windows installation media (USB) to access the recovery environment. Boot from the USB, select your language, then click “Repair your computer” instead of “Install now.”
- If Safe Mode also crashes: The problem is likely hardware (RAM, hard drive, or motherboard). Test with minimal hardware – remove all non-essential devices (extra RAM, external drives, expansion cards) and try to boot.
- If the BSOD shows a specific file like ntoskrnl.exe: This often indicates RAM or driver issues. Run the memory test and update all drivers.
- If you suspect a recent Windows update: Uninstall the latest update from Settings > Update & Security > View update history > Uninstall updates.
- If you have a desktop PC: Open the case and reseat RAM sticks and expansion cards – poor connections can cause intermittent BSODs.
Frequently Asked Questions
Why does my PC keep getting a BSOD?
Common causes are faulty drivers, failing hardware (especially RAM or hard drive), overheating, or corrupted system files. The error code usually points to the culprit.
Can a BSOD damage my computer?
No, a BSOD itself doesn’t damage hardware. It’s a protective stop. However, the underlying cause (like overheating or a failing drive) can cause damage if ignored.
How do I find the BSOD error code after the screen disappears?
Disable automatic restart: go to Settings > System > About > Advanced system settings > Startup and Recovery > Settings, and uncheck “Automatically restart.” Or check the Event Viewer under Windows Logs > System for “BugCheck” events.
Is it safe to use third-party BSOD repair tools?
No, most are scams or ineffective. Stick with built-in tools like SFC, DISM, and chkdsk, or consult a professional.
Will resetting Windows fix a BSOD?
Yes, if the cause is software-related. It reinstalls Windows while keeping your personal files (if you choose “Keep my files”), but removes installed apps and drivers.
Should I replace my RAM if the memory test shows errors?
Yes, RAM errors are almost always a hardware failure. Replace the faulty stick or have it checked by a technician if under warranty.