PC Blue Screen (BSOD) Troubleshooting Guide: Causes, Fixes & Recovery for Windows
Fix PC blue screen errors (BSOD) fast. Covers kernel security check failure, memory management, gaming crashes & recovery steps for Windows 10/11.
- Most PC blue screens (BSODs) are caused by faulty or incompatible drivers, bad RAM, overheating hardware, or corrupted Windows system files.
- Gaming-related BSODs (e.g., CyberPower PC, Xbox Game Pass crashes) are frequently triggered by GPU driver conflicts, insufficient power delivery, or overclocked memory instability.
- Quick fix summary: Boot into Safe Mode, run 'sfc /scannow' and 'DISM /RestoreHealth', update or roll back GPU/chipset drivers, test RAM with Windows Memory Diagnostic, and check temperatures with HWMonitor or HWiNFO64.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| Run SFC & DISM repair | Corrupted system files suspected; PC boots to desktop | 10-20 min | Low |
| Roll back or update GPU drivers (DDU) | BSOD appears during gaming or after driver update | 15-30 min | Low-Medium |
| Windows Memory Diagnostic / MemTest86 | MEMORY_MANAGEMENT or random BSODs with no pattern | 30 min - 8 hrs | Low |
| Check & reseat RAM/GPU hardware | New PC BSOD, or BSOD after hardware change | 15-30 min | Medium |
| Boot into Safe Mode & uninstall recent software | BSOD after installing new app or update | 10-15 min | Low |
| Use WinDbg / Event Viewer to read minidump | Need to identify exact failing driver or module | 20-40 min | Low |
| Startup Repair / Automatic Repair | PC blue screen and then won't boot; stuck in loop | 10-20 min | Low |
| Reset or Reinstall Windows | All other fixes failed; 'There was a problem resetting your PC' BSOD | 1-2 hrs | High (data risk) |
| Check PSU & power delivery | Gaming PC BSOD under load, especially with high-end GPU | 15-30 min | Medium |
| Disable XMP/EXPO in BIOS | New PC BSOD with overclocked RAM profile enabled | 5-10 min | Low |
Understanding the PC Blue Screen of Death (BSOD)
A Blue Screen of Death (BSOD) is Windows' last-resort safety mechanism. When the OS kernel detects a fatal, unrecoverable error — such as a hardware failure, driver corruption, or memory fault — it halts all processes and displays a blue screen with a stop code. On Windows 10 and 11, you'll see a message like:
Your PC ran into a problem and needs to restart.
Stop code: MEMORY_MANAGEMENT
Common stop codes include:
- KERNEL_SECURITY_CHECK_FAILURE — A data structure integrity violation, often from a buggy driver or malware.
- MEMORY_MANAGEMENT — RAM errors, faulty memory modules, or driver conflicts.
- IRQL_NOT_LESS_OR_EQUAL — A driver accessed an invalid memory address.
- PAGE_FAULT_IN_NONPAGED_AREA — Memory referencing error, often RAM or SSD-related.
- SYSTEM_SERVICE_EXCEPTION — A system service triggered an exception, frequently GPU or antivirus drivers.
- WHEA_UNCORRECTABLE_ERROR — Hardware error, often CPU overheating or overclocking instability.
- CRITICAL_PROCESS_DIED — A critical Windows process terminated unexpectedly.
- VIDEO_TDR_FAILURE — GPU driver crash, very common during gaming.
Step 1: Record the Stop Code and Check Event Viewer
Before doing anything else, note the stop code displayed on the blue screen. If your PC reboots too fast:
- Go to Settings > System > About > Advanced system settings.
- Under Startup and Recovery, click Settings.
- Uncheck Automatically restart under System failure.
- Set Write debugging information to Small memory dump (256 KB).
Minidumps are saved to C:\Windows\Minidump\. Use WinDbg Preview (available in the Microsoft Store) to analyze them. Open Event Viewer (eventvwr.msc) and navigate to Windows Logs > System, filtering for Critical and Error events around the crash time.
Step 2: Boot into Safe Mode
If your PC blue screens after startup or won't boot normally:
- Interrupt the boot process three times by holding the power button during startup. Windows will enter Automatic Repair mode.
- Navigate to Advanced options > Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 to boot into Safe Mode or 5 for Safe Mode with Networking.
From Safe Mode, you can uninstall recent drivers or software that may be causing the BSOD.
Step 3: Repair System Files with SFC and DISM
Corrupted Windows system files are a frequent BSOD trigger. Run these commands in an elevated Command Prompt:
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Restart after completion and test for stability.
Step 4: Update or Roll Back GPU Drivers (Critical for Gaming BSODs)
If your PC blue screens when playing games or while gaming (common on CyberPower PCs, gaming rigs, and Xbox Game Pass sessions), the GPU driver is the #1 suspect.
Using Display Driver Uninstaller (DDU) for a clean reinstall:
- Boot into Safe Mode.
- Download DDU from Wagnardsoft.
- Run DDU and select Clean and restart.
- After restart, download the latest driver from NVIDIA or AMD and install.
If the BSOD started after a driver update, use Device Manager > Display Adapters > Right-click GPU > Properties > Driver tab > Roll Back Driver.
Step 5: Test RAM with Windows Memory Diagnostic and MemTest86
For MEMORY_MANAGEMENT or random BSODs with no clear pattern:
- Open Windows Memory Diagnostic (
mdsched.exe) and select Restart now and check for problems. - For a thorough test, download MemTest86 and run it from a USB drive for at least 2 full passes.
If errors are found, try reseating your RAM modules. If you have multiple sticks, test each one individually to isolate the faulty module.
New PC BSODs are very commonly caused by XMP/EXPO memory profiles in the BIOS. These overclock your RAM beyond JEDEC spec. Enter your BIOS (press Del/F2 on boot) and disable XMP or EXPO to run RAM at stock speed. If stability returns, your RAM may not support the XMP profile reliably.
Step 6: Check Temperatures and Power Delivery
For gaming PC blue screens under load:
- Install HWiNFO64 or HWMonitor to monitor CPU and GPU temperatures.
- CPU should stay below 90°C under load; GPU below 85°C.
- If temperatures spike before the BSOD, clean dust from heatsinks and reapply thermal paste.
- A weak or failing PSU (Power Supply Unit) can cause BSODs under gaming load. Check that your PSU wattage meets your GPU's requirement (e.g., RTX 4080 recommends an 800W PSU).
- Check BIOS for CPU/GPU power limit warnings or voltages out of spec.
Step 7: Fix 'PC Blue Screen and Then Won't Boot'
If Windows is stuck in a BSOD restart loop:
- Boot from a Windows 11/10 installation USB.
- Select Repair your computer > Troubleshoot > Startup Repair.
- If Startup Repair fails, try:
- System Restore (if restore points exist)
- Command Prompt and run:
bootrec /fixmbr,bootrec /fixboot,bootrec /rebuildbcd
Step 8: Address 'There Was a Problem Resetting Your PC' BSOD
This error appears during a Windows Reset and often indicates:
- A corrupted Windows Recovery Environment (WinRE).
- A damaged system partition.
Fix via installation media:
- Boot from Windows USB.
- Open Command Prompt and run:
reagentc /enable - Retry the reset. If it fails again, perform a clean Windows install.
Step 9: KERNEL_SECURITY_CHECK_FAILURE Specific Fixes
This stop code often points to:
- Incompatible or outdated drivers (especially older antivirus, VPN, or virtualization drivers).
- Memory integrity issues (RAM errors or overclocking).
- Malware corrupting kernel structures.
Fixes:
- Disable Memory Integrity in Windows Security > Device Security > Core Isolation temporarily to identify conflicting drivers.
- Run
verifier.exe(Driver Verifier) to stress-test drivers and identify the offender — only do this on a secondary test session as it can trigger more BSODs. - Run a full malware scan with Windows Defender or Malwarebytes.
- Check
C:\Windows\Minidumpfiles in WinDbg for the specific module that failed.
Step 10: Kernel Security Check Failure via Driver Verifier
If you want to pinpoint the exact faulty driver:
verifier /standard /all
Restart and reproduce the crash. Analyze the resulting minidump in WinDbg with !analyze -v. To disable Driver Verifier afterward:
verifier /reset
Frequently Asked Questions
# ============================================================
# PC BLUE SCREEN (BSOD) DIAGNOSTIC & FIX COMMANDS
# Run all commands in an elevated Command Prompt (Run as Administrator)
# ============================================================
# --- 1. System File Checker: Repair corrupted Windows files ---
sfc /scannow
# --- 2. DISM: Restore Windows image health ---
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
# --- 3. View recent critical errors in Event Log ---
wevtutil qe System /q:"*[System[(Level=1 or Level=2) and TimeCreated[timediff(@SystemTime) <= 86400000]]]" /f:text /rd:true /c:20
# --- 4. List recent minidump files (replace path if needed) ---
dir C:\Windows\Minidump /od
# --- 5. Open Windows Memory Diagnostic ---
mdsched.exe
# --- 6. Check disk health for C: drive ---
chkdsk C: /f /r /x
# --- 7. List all installed drivers with version (look for old/unsigned drivers) ---
driverquery /v /fo list | findstr /i "module name display name version"
# --- 8. Enable small memory dumps for future BSODs ---
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v CrashDumpEnabled /t REG_DWORD /d 3 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v MinidumpDir /t REG_EXPAND_SZ /d "%SystemRoot%\Minidump" /f
# --- 9. Fix BCD (for 'PC won't boot after BSOD') --- Run from Windows Recovery Command Prompt ---
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
# --- 10. Re-enable Windows Recovery Environment ---
reagentc /enable
reagentc /info
# --- 11. Driver Verifier: Identify faulty drivers (use cautiously, may cause more BSODs) ---
# Enable:
verifier /standard /all
# Disable after identifying faulty driver:
verifier /reset
# --- 12. Reset Windows Update components (if BSOD after update) ---
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
# --- 13. Check for Windows Updates ---
wuauclt /detectnow
# --- 14. Reset Xbox services (for Xbox Game Pass BSOD) ---
wsreset.exe
Get-AppxPackage -AllUsers *XboxApp* | Remove-AppxPackage
# --- 15. PowerShell: Get system crash summary from event log ---
Get-WinEvent -FilterHashtable @{LogName='System'; Id=41} | Select-Object -First 10 | Format-List TimeCreated, MessageError Medic Editorial
The Error Medic Editorial team is composed of senior DevOps engineers, SREs, and Windows systems specialists with 10+ years of experience diagnosing hardware failures, kernel panics, and system crashes across enterprise and consumer environments. We write actionable, command-driven troubleshooting guides tested on real hardware to help you resolve errors fast.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/analyzing-a-kernel-mode-dump-file
- https://support.microsoft.com/en-us/windows/fix-blue-screen-errors-in-windows-7cd4f99b-5a2a-4d21-8ae9-3f5d15c0e87f
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sfc
- https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-recovery-environment--windows-re--technical-reference
- https://stackoverflow.com/questions/tagged/blue-screen-of-death
- https://www.memtest86.com/technical.htm