Error Medic

Windows 11 Blue Screen of Death (BSOD): Complete Fix Guide for All Stop Errors

Fix Windows 11 Blue Screen of Death errors fast. Step-by-step repair for BSOD stop codes including 22H2 crashes, driver faults, and memory issues.

Last updated:
Last verified:
2,366 words
Key Takeaways
  • Root cause 1: Outdated, corrupt, or incompatible device drivers (especially GPU and NIC drivers) are the leading cause of Windows 11 BSODs, responsible for roughly 70% of stop errors.
  • Root cause 2: Faulty or incompatible RAM, failing NVMe/SSD drives, and hardware overheating trigger hardware-level stop codes such as MEMORY_MANAGEMENT (0x0000001A), WHEA_UNCORRECTABLE_ERROR (0x00000124), and CRITICAL_PROCESS_DIED (0x000000EF).
  • Root cause 3: Corrupted Windows system files, failed Windows Update patches (particularly after upgrading to 22H2), and conflicting third-party antivirus or kernel-mode software cause stop codes like SYSTEM_SERVICE_EXCEPTION (0x0000003B) and PAGE_FAULT_IN_NONPAGED_AREA (0x00000050).
  • Quick fix summary: Boot into Safe Mode, run SFC and DISM to repair system files, update or roll back drivers, run Windows Memory Diagnostic, and use WinDbg or the built-in Event Viewer to decode the minidump file for a precise root cause.
Fix Approaches Compared
MethodWhen to UseTimeRisk
SFC /scannow + DISM restore healthCorrupted system files, post-update BSODs10-30 minLow
Driver rollback or updateBSOD appeared after driver or Windows update5-15 minLow
Windows Memory Diagnostic / MemTest86Stop codes: MEMORY_MANAGEMENT, BAD_POOL_HEADER30 min – 8 hrsLow
Check Disk (chkdsk /r /f)NTFS_FILE_SYSTEM or INACCESSIBLE_BOOT_DEVICE stop codes20-60 minLow
Startup Repair via WinRESystem will not boot past BSOD loop10-20 minLow
Uninstall recent Windows Update (wusa)BSOD began immediately after a cumulative update10 minLow-Medium
System RestoreKnown good restore point exists before crashes began15-30 minMedium
Clean driver install (DDU + latest driver)GPU/NIC BSOD, TDR failures20-40 minMedium
Reset this PC (keep files)Persistent BSODs with no identifiable cause30-90 minMedium
Clean Windows 11 reinstallHardware confirmed good but OS unrecoverable1-3 hrsHigh

Understanding the Windows 11 Blue Screen of Death

A Blue Screen of Death (BSOD), officially called a Stop Error or Bug Check, occurs when Windows 11 encounters a fatal kernel-level fault it cannot safely recover from. The screen displays a QR code, a sad face emoji, a stop code string (e.g., CRITICAL_PROCESS_DIED), and a hex bug check code (e.g., 0x000000EF). Windows automatically writes a minidump file to C:\Windows\Minidump\ and a full memory dump to C:\Windows\MEMORY.DMP for post-mortem analysis.

Windows 11 22H2 introduced several regressions that elevated BSOD rates, particularly around Wi-Fi drivers (Intel AX series), certain AMD GPU driver builds, and the Windows Resilient File System (ReFS). If your BSODs began after upgrading to 22H2 or 23H2, driver compatibility and update conflicts are the first places to look.


Step 1: Capture the Stop Code and Minidump

Before fixing anything, record the exact stop code. If the machine reboots too fast to read it:

  1. Go to Settings → System → About → Advanced system settings → Startup and Recovery → Settings.
  2. Under "System failure," uncheck Automatically restart.
  3. Set "Write debugging information" to Small memory dump (256 KB).

Now reproduce or wait for the next BSOD. The stop code appears in the format:

Your PC ran into a problem and needs to restart.
STOP CODE: MEMORY_MANAGEMENT
Failing module: ntoskrnl.exe

Common Windows 11 stop codes and their typical causes:

Stop Code Hex Likely Cause
CRITICAL_PROCESS_DIED 0x000000EF Corrupt system process
MEMORY_MANAGEMENT 0x0000001A Faulty RAM or driver
SYSTEM_SERVICE_EXCEPTION 0x0000003B Driver bug, antivirus
WHEA_UNCORRECTABLE_ERROR 0x00000124 CPU/hardware error
IRQL_NOT_LESS_OR_EQUAL 0x0000000A Driver accessing invalid memory
PAGE_FAULT_IN_NONPAGED_AREA 0x00000050 RAM or driver paging error
NTFS_FILE_SYSTEM 0x00000024 Disk corruption
DRIVER_POWER_STATE_FAILURE 0x0000009F Sleep/wake driver issue
KERNEL_SECURITY_CHECK_FAILURE 0x00000139 Stack corruption, malware
VIDEO_TDR_FAILURE 0x00000116 GPU driver crash

Step 2: Analyze the Minidump with WinDbg

Install WinDbg Preview from the Microsoft Store (free). Open a minidump:

  1. Launch WinDbg → File → Open dump file → browse to C:\Windows\Minidump\<date>.dmp.
  2. In the command window, type: !analyze -v
  3. Look for the FAULTING_MODULE and IMAGE_NAME fields. These identify the exact driver or binary that caused the crash.

Example output:

BugCheck 1A, {41790, ffffb000a1234000, ...}
Probably caused by: nvlddmkm.sys (NVIDIA GPU driver)
FAILURE_BUCKET_ID: AV_nvlddmkm!...

This tells you immediately to target the NVIDIA driver.


Step 3: Repair System Files (SFC and DISM)

Open an elevated PowerShell or Command Prompt:

# Step 3a: Repair the Windows component store
DISM /Online /Cleanup-Image /RestoreHealth

# Step 3b: Scan and repair protected system files
sfc /scannow

# Step 3c: Review SFC log for details
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log | more

If SFC reports Windows Resource Protection found corrupt files but was unable to fix some of them, boot from Windows 11 installation media and run SFC offline:

# From WinRE command prompt, identify your Windows drive letter (usually D: or C:)
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

Step 4: Update or Roll Back Drivers

Drivers are the #1 cause of Windows 11 BSODs. Focus on GPU, network, chipset, and storage drivers.

To roll back a driver:

  1. Press Win + X → Device Manager.
  2. Right-click the suspect device → Properties → Driver tab → Roll Back Driver.

To update drivers via PowerShell:

# Check for driver updates through Windows Update
Get-WindowsUpdate -Category Drivers -AcceptAll -Install

For GPU BSODs (VIDEO_TDR_FAILURE / nvlddmkm.sys / atikmpag.sys):

  • Download Display Driver Uninstaller (DDU) from Wagnardsoft.
  • Boot into Safe Mode.
  • Run DDU to fully remove the current GPU driver.
  • Install the latest stable driver (not beta) from NVIDIA.com or AMD.com.

Step 5: Test RAM with Windows Memory Diagnostic

# Launch Windows Memory Diagnostic (reboots system)
mdsched.exe

Choose Restart now and check for problems. For more thorough testing, use MemTest86 (bootable USB, 2+ passes). If errors are found:

  • Reseat RAM sticks.
  • Test each stick individually.
  • Check RAM is on the motherboard's QVL (Qualified Vendor List) for your system.
  • If XMP/EXPO profile is enabled in BIOS, try disabling it and running at stock speeds.

Step 6: Check Disk for File System Errors

# Schedule a disk check on the system drive (runs on next reboot)
chkdsk C: /r /f

# View SMART data for early drive failure warning
wmic diskdrive get model,status

# Using PowerShell for detailed SMART
Get-Disk | Get-StorageReliabilityCounter | Select-Object DeviceId, ReadErrorsTotal, Temperature, Wear

If chkdsk reports bad sectors or the drive status is not OK, back up data immediately and replace the drive.


Step 7: Uninstall a Problematic Windows Update

If BSODs began after a specific cumulative update (common with 22H2 patches):

# List recently installed updates
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10

# Uninstall a specific update by KB number (example: KB5028185)
wusa /uninstall /kb:5028185 /quiet /norestart

# Or via Settings: Settings → Windows Update → Update history → Uninstall updates

Step 8: Check Event Viewer for Crash Context

# Get critical and error events from the last 24 hours
Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; StartTime=(Get-Date).AddDays(-1)} |
  Select-Object TimeCreated, Id, Message | Format-List

# Look specifically for BugCheck events
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1001} | Select-Object -First 5 | Format-List

Event ID 1001 (BugCheck) and Event ID 41 (Kernel-Power, unexpected shutdown) are the most relevant for BSOD analysis.


Step 9: Boot into Safe Mode for Isolation

If Windows 11 cannot boot normally due to a BSOD loop:

  1. Power on and force shutdown 3 times during boot to trigger Windows Recovery Environment (WinRE).
  2. Navigate to Troubleshoot → Advanced options → Startup Settings → Restart.
  3. Press 4 (Safe Mode) or 5 (Safe Mode with Networking).

In Safe Mode, only essential Microsoft drivers load. If BSODs stop in Safe Mode, a third-party driver or service is the culprit. Use msconfig to isolate it via selective startup.


Step 10: Last Resort — Reset or Reinstall Windows 11

If all steps above fail:

# Initiate a Reset This PC (keep personal files) from PowerShell
systemreset --factoryreset

# Or navigate to:
# Settings → System → Recovery → Reset this PC → Keep my files

For a clean reinstall, download the Windows 11 Installation Assistant or create bootable media using the Media Creation Tool from Microsoft's official site. Perform a full format of the system partition during setup.

Frequently Asked Questions

powershell
# ============================================================
# Windows 11 BSOD Diagnostic & Repair Script
# Run as Administrator in PowerShell
# ============================================================

Write-Host "=== Step 1: Collect Recent BSOD Events ==" -ForegroundColor Cyan
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1001; StartTime=(Get-Date).AddDays(-7)} |
  Select-Object TimeCreated, @{N='BugCheck';E={$_.Message}} |
  Format-List

Write-Host "=== Step 2: List Minidump Files ==" -ForegroundColor Cyan
Get-ChildItem C:\Windows\Minidump -Filter *.dmp -ErrorAction SilentlyContinue |
  Sort-Object LastWriteTime -Descending | Select-Object -First 10

Write-Host "=== Step 3: Check System File Integrity ==" -ForegroundColor Cyan
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Write-Host "=== Step 4: Scan CBS Log for SFC Errors ==" -ForegroundColor Cyan
Get-Content "$env:windir\Logs\CBS\CBS.log" |
  Where-Object { $_ -match '\[SR\]' } |
  Select-Object -Last 30

Write-Host "=== Step 5: Check Disk Health ==" -ForegroundColor Cyan
Get-Disk | ForEach-Object {
  Write-Host "Disk $($_.Number): $($_.FriendlyName) - Status: $($_.OperationalStatus)"
}
wmic diskdrive get model,status

Write-Host "=== Step 6: Schedule CHKDSK on C: ==" -ForegroundColor Cyan
# Uncomment below line to schedule (requires reboot)
# chkdsk C: /r /f
Write-Host "CHKDSK not auto-scheduled. Run manually: chkdsk C: /r /f"

Write-Host "=== Step 7: List Recent Windows Updates ==" -ForegroundColor Cyan
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 15 |
  Format-Table HotFixID, Description, InstalledOn -AutoSize

Write-Host "=== Step 8: List Third-Party Kernel Drivers ==" -ForegroundColor Cyan
Get-WmiObject Win32_SystemDriver |
  Where-Object { $_.PathName -notlike '*\Windows\*' -and $_.State -eq 'Running' } |
  Select-Object DisplayName, PathName | Format-Table -AutoSize

Write-Host "=== Step 9: Check Driver Signature Enforcement ==" -ForegroundColor Cyan
Bcdedit /enum | Select-String -Pattern 'nointegritychecks|testsigning'

Write-Host "=== Step 10: RAM Diagnostic (launches on reboot) ==" -ForegroundColor Cyan
# Uncomment to schedule memory test
# MdSched.exe
Write-Host "Memory diagnostic not auto-launched. Run: MdSched.exe"

Write-Host "=== Step 11: GPU Driver Info ==" -ForegroundColor Cyan
Get-WmiObject Win32_VideoController |
  Select-Object Name, DriverVersion, DriverDate, Status | Format-List

Write-Host "=== Step 12: Export Event Log for Analysis ==" -ForegroundColor Cyan
$exportPath = "$env:USERPROFILE\Desktop\BSOD_SystemLog.evtx"
wevtutil epl System $exportPath
Write-Host "System event log exported to: $exportPath"

Write-Host "
=== DIAGNOSTIC COMPLETE ==" -ForegroundColor Green
Write-Host "Review output above. Check minidumps with WinDbg: !analyze -v"
Write-Host "Open exported log in Event Viewer for full event details."
E

Error Medic Editorial

The Error Medic Editorial team is composed of senior DevOps engineers, SREs, and Windows systems administrators with a combined 40+ years of experience diagnosing and resolving OS-level failures across enterprise and consumer environments. Our guides are grounded in real-world incident response, official Microsoft documentation, and community-validated fixes. Every command and procedure is tested on live Windows 11 hardware before publication.

Sources

Related Articles in Windows 11 Blue Screen Of Death

Explore More windows Guides