Error Medic

BSOD on Windows 11 (and Windows 8/Vista): Complete Fix Guide for Blue Screen of Death Errors

Fix BSOD on Windows 11, 8, and Vista with step-by-step commands, driver rollbacks, memory checks, and registry fixes. Resolve blue screen errors fast.

Last updated:
Last verified:
2,300 words
Key Takeaways
  • Root Cause 1: Faulty, outdated, or incompatible device drivers (especially GPU, NIC, and storage drivers) are the #1 trigger for BSOD on Windows 11, 8, and Vista — stop codes like DRIVER_IRQL_NOT_LESS_OR_EQUAL and PAGE_FAULT_IN_NONPAGED_AREA point directly to driver corruption.
  • Root Cause 2: Corrupted system files, failed Windows Updates, or damaged RAM/storage hardware cause critical stop errors such as CRITICAL_PROCESS_DIED, MEMORY_MANAGEMENT, and IRQL_NOT_LESS_OR_EQUAL across all Windows versions.
  • Quick Fix Summary: Boot into Safe Mode, run 'sfc /scannow' and 'DISM /RestoreHealth' to repair system files, use Windows Memory Diagnostic or MemTest86 to check RAM, roll back or uninstall the most recently installed drivers, and analyze minidump files in WinDbg or BlueScreenView to identify the exact failing module.
Fix Approaches Compared
MethodWhen to UseTimeRisk
SFC + DISM System File RepairCorrupted OS files, failed updates, recurring random BSODs15-45 minutesLow
Driver Rollback / UninstallBSOD started after driver or Windows update installation5-15 minutesLow
Windows Memory Diagnostic / MemTest86MEMORY_MANAGEMENT or random BSODs with no clear software cause30 min – 8 hoursNone
Minidump Analysis with WinDbg / BlueScreenViewIdentifying the exact faulty driver or module from crash logs10-30 minutesNone
Startup Repair via WinRESystem won't boot at all, repeated BSODs at startup20-40 minutesLow
System Restore / Reset This PCAll software fixes failed, system unstable after update30-120 minutesMedium (data loss possible on Reset)
Check Disk (chkdsk)NTFS_FILE_SYSTEM or storage-related stop codes20-60 minutesLow
BIOS/UEFI Firmware UpdateHardware incompatibility BSODs on new hardware or after CPU upgrade15-30 minutesMedium (brick risk if interrupted)

Understanding BSOD on Windows 11, 8, and Vista

A Blue Screen of Death (BSOD) — technically a Stop Error — occurs when the Windows kernel encounters a condition it cannot safely recover from. The system halts completely to prevent data corruption. On Windows 11 you'll see a sad emoji face with a QR code; on Windows 8 you see a simpler sad-face screen; on Vista you see the classic blue text wall with a STOP code like STOP: 0x0000007E.

All BSODs share the same anatomy:

  • Stop Code (e.g., CRITICAL_PROCESS_DIED, PAGE_FAULT_IN_NONPAGED_AREA)
  • Faulting Module (e.g., ntoskrnl.exe, nvlddmkm.sys, NETIO.SYS)
  • Memory Address where the fault occurred
  • Minidump file written to C:\Windows\Minidump\ for post-mortem analysis

Step 1: Capture the Stop Code and Minidump

Before fixing anything, identify what you're dealing with.

On Windows 11/10/8:

  1. Go to Settings → System → About → Advanced system settings → Startup and Recovery → Settings.
  2. Ensure Write debugging information is set to Small memory dump (256 KB) and the path is %SystemRoot%\Minidump.
  3. After a crash, minidump files (.dmp) appear in C:\Windows\Minidump\.
  4. Note the exact stop code displayed on the blue screen (take a photo with your phone if the crash is fast).

Common Windows 11 stop codes and their meanings:

  • DRIVER_IRQL_NOT_LESS_OR_EQUAL — Driver accessing invalid memory address at elevated IRQL
  • PAGE_FAULT_IN_NONPAGED_AREA — Memory page requested is not in RAM (bad RAM or driver)
  • CRITICAL_PROCESS_DIED — A critical OS process (lsass.exe, csrss.exe, etc.) crashed
  • MEMORY_MANAGEMENT — Serious memory subsystem error
  • SYSTEM_SERVICE_EXCEPTION — Driver or service violated memory access rules
  • KERNEL_SECURITY_CHECK_FAILURE — Kernel-mode data structure corruption (often malware or old driver)
  • NTFS_FILE_SYSTEM — NTFS filesystem corruption on disk
  • WHEA_UNCORRECTABLE_ERROR — Hardware error (CPU, RAM, power instability)

On Windows Vista (legacy): Stop codes appear as hex: STOP: 0x0000007E (0xFFFFFFFFC0000005, ...) — map these to symbolic names using Microsoft's Stop Error Reference.


Step 2: Boot Into Safe Mode

If Windows won't start normally:

Windows 11/8:

  1. At login screen, hold Shift and click Restart.
  2. Navigate to Troubleshoot → Advanced Options → Startup Settings → Restart.
  3. Press F4 for Safe Mode or F5 for Safe Mode with Networking.

Windows Vista:

  1. Press F8 repeatedly during boot.
  2. Select Safe Mode from the Advanced Boot Options menu.

In Safe Mode, only essential drivers load — if BSODs stop in Safe Mode, the cause is almost certainly a third-party driver or startup program.


Step 3: Repair System Files with SFC and DISM

Open Command Prompt as Administrator and run these commands in order:

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

SFC scans and repairs protected Windows system files using the Windows Component Store. DISM repairs the Component Store itself using Windows Update as the source. After both complete, restart and check if BSODs recur.

If SFC reports: Windows Resource Protection found corrupt files but was unable to fix some of them — boot from Windows installation media, open Recovery Command Prompt, and run:

sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

Step 4: Analyze Minidump Files

Option A — BlueScreenView (no install required):

  1. Download BlueScreenView from NirSoft.
  2. It automatically loads all .dmp files from C:\Windows\Minidump\.
  3. Look at the Caused By Driver column — this is your primary suspect.

Option B — WinDbg (most accurate):

  1. Install Windows Debugging Tools from the Windows SDK.
  2. Open WinDbg, go to File → Open Crash Dump, select the .dmp file.
  3. Run: !analyze -v
  4. Look for IMAGE_NAME: and MODULE_NAME: in the output.

If the faulting module is a third-party .sys file (e.g., nvlddmkm.sys = NVIDIA, iaStorAC.sys = Intel RST), proceed to driver fix.


Step 5: Fix Driver-Related BSODs

Roll back a driver:

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

Uninstall and clean-install driver:

  1. In Device Manager, right-click → Uninstall device → check Delete the driver software for this device.
  2. For GPU drivers, use Display Driver Uninstaller (DDU) in Safe Mode for a complete wipe.
  3. Download fresh drivers from the manufacturer's official site and install.

Disable driver signature enforcement (temporary diagnosis): At startup, press F7 (Startup Settings) to disable driver signature enforcement and see if the BSOD is caused by an unsigned driver.


Step 6: Check RAM with Windows Memory Diagnostic

  1. Press Win+R, type mdsched.exe, press Enter.
  2. Select Restart now and check for problems.
  3. The tool runs on reboot and reports errors on the next Windows login.

For thorough testing (especially for WHEA_UNCORRECTABLE_ERROR or MEMORY_MANAGEMENT), use MemTest86 from a bootable USB — run at least two full passes overnight.

If RAM errors are found: reseat DIMMs, test sticks individually, and replace faulty sticks.


Step 7: Check Disk Health

For NTFS_FILE_SYSTEM or storage-related BSODs:

chkdsk C: /f /r /x

This schedules a disk check on the next reboot. For SSD health, use:

wmic diskdrive get status

or manufacturer tools (CrystalDiskInfo, Samsung Magician, Intel MAS).


Step 8: Windows-Version-Specific Fixes

Windows 11 specific:

  • Disable Memory Integrity (Core Isolation) if a driver is incompatible: Settings → Privacy & Security → Windows Security → Device Security → Core Isolation Details → toggle off Memory Integrity.
  • Check Windows Update for cumulative updates that patch known BSOD-causing bugs.
  • Roll back a bad Windows 11 update: Settings → Windows Update → Update History → Uninstall Updates.

Windows 8 specific:

  • Use Automatic Repair: boot from installation media → Repair Your Computer → Troubleshoot → Automatic Repair.
  • Run: bootrec /fixmbr && bootrec /fixboot && bootrec /rebuildbcd if BSOD occurs at boot.

Windows Vista specific:

  • Vista's Stop errors often stem from unsigned or 32-bit-only drivers. Use verifier /standard /all carefully in Safe Mode to identify the culprit.
  • Vista SP2 is critical — ensure it is installed before all other fixes.
  • Disable UAC temporarily during diagnosis if Stop 0x0000007B (INACCESSIBLE_BOOT_DEVICE) appears.

Step 9: Last Resort — System Restore or Reset

System Restore (preserves files):

  1. Press Win+Rrstrui.exe
  2. Choose a restore point dated before BSODs began.

Reset This PC (nuclear option):

  1. Settings → System → Recovery → Reset this PC.
  2. Choose Keep my files (or Remove everything for clean slate).
  3. This reinstalls Windows while optionally preserving personal data.

Fresh install from media: If all else fails, download the Windows 11 Media Creation Tool, create a bootable USB, and perform a clean install. Always back up data first.

Frequently Asked Questions

powershell
# ============================================================
# BSOD Diagnostic & Fix Script for Windows 11 / 8 / Vista
# Run as Administrator in PowerShell or Command Prompt
# ============================================================

# --- 1. Check and display recent BSOD events from Event Log ---
Write-Host "=== Recent BSOD / Critical System Events ==="
Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; Id=41,6008,1001} -MaxEvents 20 |
  Select-Object TimeCreated, Id, Message |
  Format-List

# --- 2. List all minidump files with timestamps ---
Write-Host "`n=== Minidump Files ==="
Get-ChildItem -Path "C:\Windows\Minidump" -Filter "*.dmp" -ErrorAction SilentlyContinue |
  Sort-Object LastWriteTime -Descending |
  Select-Object Name, LastWriteTime, @{N='SizeMB';E={[math]::Round($_.Length/1MB,2)}}

# --- 3. Repair system files (DISM then SFC) ---
Write-Host "`n=== Running DISM Health Check ==="
DISM /Online /Cleanup-Image /CheckHealth

Write-Host "`n=== Running DISM RestoreHealth (requires internet) ==="
DISM /Online /Cleanup-Image /RestoreHealth

Write-Host "`n=== Running SFC System File Checker ==="
sfc /scannow

# --- 4. Schedule disk check on next reboot ---
Write-Host "`n=== Scheduling CHKDSK on next reboot ==="
echo Y | chkdsk C: /f /r /x

# --- 5. Check RAM slots and capacity (basic hardware info) ---
Write-Host "`n=== RAM Information ==="
Get-WmiObject Win32_PhysicalMemory | Select-Object BankLabel, Capacity, Speed, Manufacturer | Format-Table -AutoSize

# --- 6. Check disk health via SMART status ---
Write-Host "`n=== Disk SMART Status ==="
Get-WmiObject -Namespace root\wmi -Class MSStorageDriver_FailurePredictStatus |
  Select-Object InstanceName, PredictFailure, Reason | Format-Table -AutoSize

# --- 7. List recently installed drivers (last 30 days) ---
Write-Host "`n=== Drivers Installed in Last 30 Days ==="
$cutoff = (Get-Date).AddDays(-30)
Get-WmiObject Win32_PnPSignedDriver |
  Where-Object { $_.DriverDate -and [datetime]::ParseExact($_.DriverDate.Substring(0,8),'yyyyMMdd',$null) -gt $cutoff } |
  Select-Object DeviceName, DriverVersion, DriverDate, Manufacturer |
  Sort-Object DriverDate -Descending |
  Format-Table -AutoSize

# --- 8. Enable Driver Verifier for next boot (use carefully, disable after diagnosis) ---
# Uncomment the line below ONLY for diagnosis — may cause intentional BSOD to catch bad drivers
# verifier /standard /all

# --- 9. Export system info for offline analysis ---
Write-Host "`n=== Exporting System Info to Desktop ==="
$outPath = "$env:USERPROFILE\Desktop\BSODReport_$(Get-Date -Format 'yyyyMMdd_HHmm').txt"
msinfo32 /report $outPath
Write-Host "Report saved to: $outPath"

# --- 10. Disable Memory Integrity (Windows 11 only) if driver incompatibility suspected ---
# Run from elevated PowerShell:
# Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity' -Name 'Enabled' -Value 0
# Restart-Computer

Write-Host "`n=== Diagnostic Complete. Review output above and check $outPath ==="
E

Error Medic Editorial

Error Medic Editorial is a team of senior DevOps engineers, SREs, and Windows system architects with 15+ years of combined experience diagnosing and resolving operating system failures across enterprise and consumer environments. Our contributors have worked with Fortune 500 IT departments, Microsoft Certified Partners, and open-source communities to document reproducible, command-driven solutions to the most frustrating Windows stop errors. Every guide is tested on real hardware running Windows 11, Windows 10, Windows 8, and legacy Vista systems before publication.

Sources

Related Articles in Other Bsod Windows

Explore More windows Guides