Error Medic

Critical Process Died Windows 11: Complete Fix Guide for BSOD Stop Code

Fix the Critical Process Died BSOD on Windows 11 with step-by-step solutions including SFC, DISM, driver rollback, and boot recovery commands.

Last updated:
Last verified:
2,083 words
Key Takeaways
  • Root cause 1: Corrupt or incompatible device drivers (especially after Windows Updates or third-party installs) terminate a critical kernel process, triggering the 0x000000EF stop code.
  • Root cause 2: Corrupted system files (ntoskrnl.exe, winlogon.exe, csrss.exe) or a damaged Windows Registry cause the kernel to forcibly halt to prevent data loss.
  • Root cause 3: Faulty RAM, failing SSD/HDD, or overclocked hardware causes memory corruption that kills critical processes mid-execution.
  • Quick fix summary: Boot into Safe Mode or WinRE, run SFC and DISM to repair system files, roll back or uninstall problematic drivers, check hardware health with built-in diagnostics, and use Startup Repair or System Restore if the machine cannot boot normally.
Fix Approaches Compared
MethodWhen to UseTimeRisk
SFC /scannow + DISMCorrupt system files detected; Windows still boots to Safe Mode15-30 minLow
Driver Rollback / UninstallBSOD started after a Windows Update or new hardware install5-15 minLow
Startup Repair (WinRE)Cannot boot into Windows at all; boot loop10-20 minLow
System RestoreRecent software or update caused the crash; restore point exists20-40 minLow-Medium
RAM / Disk Diagnostics (memtest, chkdsk)Random crashes across different scenarios; suspect hardware1-8 hrsLow
In-place Upgrade Repair InstallSevere system file corruption; other fixes failed60-90 minMedium
Factory Reset (Keep Files)All software fixes exhausted; hardware confirmed healthy90-120 minMedium
Clean Install Windows 11Persistent corruption, failing drive replacement, total rebuild2-3 hrsHigh (data loss)

Understanding the 'Critical Process Died' Error in Windows 11

The Critical Process Died BSOD (Blue Screen of Death) displays the stop code 0x000000EF and appears when Windows 11 detects that a process flagged as critical to system operation has unexpectedly terminated. The full error screen typically reads:

Your PC ran into a problem and needs to restart.
Stop code: CRITICAL_PROCESS_DIED

Windows deliberately crashes rather than continuing to run in a potentially unsafe or unstable state. Critical processes include:

  • ntoskrnl.exe – Windows NT OS Kernel
  • csrss.exe – Client/Server Runtime Subsystem
  • winlogon.exe – Windows Logon Process
  • wininit.exe – Windows Initialization
  • smss.exe – Session Manager Subsystem
  • lsass.exe – Local Security Authority Subsystem

If any of these are terminated outside their normal shutdown procedure, the 0x000000EF bug check fires immediately.


Phase 1: Initial Diagnosis — Can You Boot Windows?

Scenario A: Windows 11 Still Boots (Intermittent Crashes)

If the machine occasionally BSODs but you can reach the desktop, start here.

Step 1: Check the Event Viewer Mini-dump

Press Win + X → Event Viewer → Windows Logs → System. Look for Critical or Error events timestamped at the crash time. Note the faulting module name.

Alternatively, open WinDbg or use the built-in Reliability Monitor: Control Panel → Security and Maintenance → View Reliability History.

Step 2: Run SFC in an Elevated Terminal

Open Windows Terminal as Administrator and run the System File Checker:

sfc /scannow

Wait for the scan to complete (do not interrupt). If it reports "Windows Resource Protection found corrupt files but was unable to fix some of them," proceed to DISM:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

After DISM completes successfully, re-run SFC to allow it to repair files using the freshly restored component store.

Step 3: Identify the Problematic Driver

Open Device Manager (Win + X → Device Manager). Look for any device with a yellow warning triangle. Right-click → Properties → Driver tab → Roll Back Driver if the option is available.

To find recently installed drivers via PowerShell:

Get-WinEvent -LogName System | Where-Object {$_.Id -eq 7045} | Select-Object TimeCreated, Message | Sort-Object TimeCreated -Descending | Select-Object -First 20

If a specific driver is suspect, uninstall it:

pnputil /delete-driver oem<number>.inf /uninstall /force

Step 4: Check Disk Health

# Check for disk errors and schedule repair on next reboot
chkdsk C: /f /r /x

For NVMe or SSD, also use:

Get-PhysicalDisk | Get-StorageReliabilityCounter | Select-Object DeviceId, ReadErrorsTotal, WriteErrorsTotal, Temperature

Scenario B: Windows 11 Cannot Boot — Boot Loop with Critical Process Died

If the machine enters a BSOD loop and cannot reach the desktop, you need to access Windows Recovery Environment (WinRE).

Accessing WinRE:

  1. Force shutdown the PC 3 times in a row by holding the power button during boot — Windows 11 will automatically enter Automatic Repair mode on the 3rd attempt.
  2. Alternatively, boot from a Windows 11 USB installation media and select "Repair your computer."

Step 1: Run Startup Repair

From WinRE: Troubleshoot → Advanced Options → Startup Repair. Let it run automatically. This resolves bootloader corruption and some critical system file issues.

Step 2: Use Command Prompt in WinRE

If Startup Repair fails: Troubleshoot → Advanced Options → Command Prompt.

:: Identify your Windows drive letter (may not be C: in WinRE)
diskpart
list volume
exit

:: Run SFC offline against the Windows installation
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

:: Run DISM offline repair
Dism /Image:C:\ /Cleanup-Image /RestoreHealth

:: Repair the Boot Configuration Data (if boot issues persist)
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

Step 3: Attempt System Restore from WinRE

Troubleshoot → Advanced Options → System Restore. Choose a restore point dated before the crashes began. This rolls back drivers, registry changes, and system files without affecting personal files.

Step 4: Disable Automatic Restart to Read the Full Stop Code

In WinRE Command Prompt:

bcdedit /set {default} recoveryenabled No
bcdedit /set {default} bootstatuspolicy ignoreallfailures

This forces Windows to display the BSOD instead of auto-restarting, giving you time to read the full stop code and faulting module.


Phase 2: Hardware Diagnostics

RAM Testing

From WinRE or Windows Search: Windows Memory Diagnostic. Restart and let it run. For more thorough testing, use MemTest86 from a bootable USB (run for at least 2 full passes).

Disk Health

In WinRE Command Prompt, run CHKDSK against your system partition:

chkdsk C: /f /r

If the drive shows thousands of bad sectors, replace it before reinstalling Windows.


Phase 3: Advanced Recovery Options

In-Place Upgrade (Repair Install Without Losing Data)

  1. Download the Windows 11 ISO from Microsoft and mount it.
  2. Run setup.exe from within Windows (or from WinRE using the USB).
  3. Choose "Keep personal files and apps."
  4. Let setup reinstall Windows 11 over itself, repairing corrupted components.

This is the most effective non-destructive fix for severe system file corruption.

Reset This PC (Keep My Files)

Settings → System → Recovery → Reset this PC → Keep my files. This reinstalls Windows 11 while preserving your personal documents but removes apps and settings.


Phase 4: Prevention

  • Enable Driver Isolation via Windows Security → Device Security → Core Isolation.
  • Avoid beta/unsigned drivers — always download drivers from the OEM's official site.
  • Create restore points before major updates: checkpoint-computer -Description "Pre-Update" -RestorePointType MODIFY_SETTINGS
  • Keep Windows Update current — many Critical Process Died bugs are patched in cumulative updates.
  • Monitor system health with tools like CrystalDiskInfo (disk S.M.A.R.T.) and HWiNFO64 (temperatures, voltages).

Frequently Asked Questions

powershell
# ============================================================
# Windows 11 Critical Process Died - Diagnostic & Fix Script
# Run as Administrator in Windows Terminal / PowerShell
# ============================================================

Write-Host "=== Step 1: System File Checker ==" -ForegroundColor Cyan
sfc /scannow

Write-Host "
=== Step 2: DISM Component Store Repair ===" -ForegroundColor Cyan
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

# Re-run SFC after DISM restores the component store
Write-Host "
=== Step 3: SFC Re-run After DISM ===" -ForegroundColor Cyan
sfc /scannow

Write-Host "
=== Step 4: Check Disk for Errors (schedule on next reboot) ===" -ForegroundColor Cyan
chkdsk C: /f /r /x

Write-Host "
=== Step 5: List Recently Installed Drivers ===" -ForegroundColor Cyan
Get-WinEvent -LogName System | Where-Object {$_.Id -eq 7045} |
  Select-Object TimeCreated, Message |
  Sort-Object TimeCreated -Descending |
  Select-Object -First 20 | Format-List

Write-Host "
=== Step 6: Export Minidump List for Analysis ===" -ForegroundColor Cyan
$dumpPath = "C:\Windows\Minidump"
if (Test-Path $dumpPath) {
  Get-ChildItem $dumpPath -Filter "*.dmp" |
    Sort-Object LastWriteTime -Descending |
    Select-Object Name, LastWriteTime, @{N='SizeMB';E={[math]::Round($_.Length/1MB,2)}} |
    Format-Table -AutoSize
} else {
  Write-Host "No minidump files found. Check if memory dumps are enabled." -ForegroundColor Yellow
}

Write-Host "
=== Step 7: Check Physical Disk Health via Storage Reliability ===" -ForegroundColor Cyan
Get-PhysicalDisk | ForEach-Object {
  $disk = $_
  $counter = $disk | Get-StorageReliabilityCounter
  [PSCustomObject]@{
    DiskNumber       = $disk.DeviceId
    Model            = $disk.Model
    HealthStatus     = $disk.HealthStatus
    ReadErrors       = $counter.ReadErrorsTotal
    WriteErrors      = $counter.WriteErrorsTotal
    Temperature      = $counter.Temperature
    Wear             = $counter.Wear
  }
} | Format-Table -AutoSize

Write-Host "
=== Step 8: Check for Unsigned / Non-WHQL Drivers ===" -ForegroundColor Cyan
$sig = Get-AuthenticodeSignature (Get-ChildItem C:\Windows\System32\drivers\*.sys -ErrorAction SilentlyContinue) 2>$null
$sig | Where-Object {$_.Status -ne 'Valid'} |
  Select-Object Path, Status |
  Format-Table -AutoSize

Write-Host "
=== Step 9: Create a System Restore Point Before Further Changes ===" -ForegroundColor Cyan
Enable-ComputerRestore -Drive "C:\"
Checkpoint-Computer -Description "Pre-CriticalProcessDied-Fix" -RestorePointType MODIFY_SETTINGS
Write-Host "Restore point created successfully." -ForegroundColor Green

# ============================================================
# WinRE / Offline Commands (run from WinRE Command Prompt)
# Uncomment and adapt the drive letter as needed
# ============================================================
# sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
# Dism /Image:C:\ /Cleanup-Image /RestoreHealth
# bootrec /fixmbr
# bootrec /fixboot
# bootrec /scanos
# bootrec /rebuildbcd
# bcdedit /set {default} recoveryenabled No
# bcdedit /set {default} bootstatuspolicy ignoreallfailures
E

Error Medic Editorial

Error Medic Editorial is a team of senior DevOps engineers, Windows SREs, and systems administrators with 10+ years of combined experience diagnosing kernel panics, BSODs, and OS-level failures across enterprise and consumer Windows environments. We specialize in translating complex stop-code analysis into actionable, step-by-step remediation guides.

Sources

Related Articles in Windows 11 Critical Process Died Windows 11

Explore More windows Guides