Error Medic

Windows 11 Critical Process Died (BSOD): Complete Fix Guide for Stop Code 0x000000EF

Fix Windows 11 'Critical Process Died' BSOD (stop code 0x000000EF) with step-by-step commands, safe mode workarounds, and driver repair tools.

Last updated:
Last verified:
2,263 words
Key Takeaways
  • Root Cause 1: A critical Windows kernel process (such as csrss.exe, winlogon.exe, or smss.exe) was terminated unexpectedly due to corrupt system files, a faulty driver, or bad RAM.
  • Root Cause 2: Third-party drivers — especially antivirus, GPU, or storage drivers — conflict with Windows 11 kernel integrity, triggering stop code 0x000000EF on boot or during use.
  • Root Cause 3: Corrupted Windows system files or a failed Windows Update left the OS in an inconsistent state, causing the critical process to exit abnormally.
  • Quick Fix Summary: Run SFC and DISM from an elevated command prompt or recovery environment, update or roll back problematic drivers, disable Fast Startup, and use Windows Memory Diagnostic to rule out RAM faults. If the system cannot boot, use WinRE (Windows Recovery Environment) to access repair tools without safe mode.
Fix Approaches Compared
MethodWhen to UseTimeRisk
SFC /scannow + DISMCorrupted system files suspected after a failed update or install10–30 minLow
Roll Back / Uninstall DriverBSOD started after a recent driver update (GPU, NIC, storage)5–15 minLow
Disable Fast StartupBSOD occurs specifically on cold boot or after hibernate/sleep2 minVery Low
Windows Memory DiagnosticRandom BSODs across different scenarios suggesting hardware fault15–60 minVery Low
System RestoreProblem began after a recent software or system change15–30 minLow
Startup Repair (WinRE)Cannot boot into Windows at all; safe mode also fails10–20 minLow
Reset / Reinstall WindowsAll other fixes failed; system is unbootable or severely corrupt1–3 hoursHigh (data loss risk)
Check Disk (chkdsk)SSD/HDD errors or bad sectors suspected20–60 minLow

Understanding the 'Critical Process Died' Error in Windows 11

When you see a blue screen with the message CRITICAL_PROCESS_DIED and stop code 0x000000EF, Windows has detected that a process essential to the operating system's operation terminated unexpectedly. Unlike user-mode application crashes, these are kernel-level failures where Windows cannot continue safely and forces an immediate shutdown to prevent data corruption.

The exact screen you see reads:

Your PC ran into a problem and needs to restart.
We're just collecting some error info, and then we'll restart for you.

Stop code: CRITICAL PROCESS DIED

Processes that commonly trigger this error include:

  • csrss.exe (Client/Server Runtime Subsystem)
  • winlogon.exe (Windows Logon Application)
  • smss.exe (Session Manager Subsystem)
  • wininit.exe (Windows Initialization)
  • services.exe (Service Control Manager)

Any of these exiting without authorization causes Windows to issue stop code 0x000000EF immediately.


Step 1: Identify the Triggering Driver or Process via Minidump

If Windows can boot at all, examine the minidump file to pinpoint the exact cause.

  1. Press Win + R, type %SystemRoot%\Minidump, press Enter.
  2. Look for .dmp files with timestamps matching your BSOD.
  3. Open Event Viewer (Win + X → Event Viewer) → Windows Logs → System → filter for Critical and Error entries around the crash time.
  4. Use WhoCrashed (free tool) or WinDbg to analyze the dump file and identify the faulting module.

In WinDbg, run:

!analyze -v

This outputs the faulting driver name (e.g., nvlddmkm.sys for NVIDIA, amdkmdag.sys for AMD).


Step 2: Run System File Checker (SFC) and DISM

Corrupt system files are the most common fixable cause. Run these commands in order from an elevated Command Prompt (Run as Administrator):

Step 2a — SFC scan:

sfc /scannow

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

Step 2b — DISM repair:

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

After DISM completes, run sfc /scannow again to allow it to repair any files DISM restored.

Reboot after both complete.


Step 3: Fix Drivers (Update, Roll Back, or Remove)

Driver conflicts are the second most common cause, particularly after Windows Update installs new driver versions automatically.

To roll back a driver:

  1. Press Win + X → Device Manager.
  2. Expand the category (Display Adapters, Network Adapters, Storage Controllers).
  3. Right-click the device → Properties → Driver tab → Roll Back Driver.

To uninstall a problematic driver completely:

pnputil /delete-driver <oemNN.inf> /uninstall /force

Replace <oemNN.inf> with the INF file name shown in Device Manager under Driver Details.

For GPU drivers specifically, use Display Driver Uninstaller (DDU) in safe mode for a clean removal before reinstalling the correct version.

To update all drivers via Windows Update:

usoclient StartScan

Or navigate to Settings → Windows Update → Advanced Options → Optional Updates → Driver Updates.


Step 4: Disable Fast Startup

Fast Startup (hybrid shutdown) can cause stale kernel states that trigger CRITICAL_PROCESS_DIED on subsequent boots, especially on systems with certain storage or chipset drivers.

  1. Press Win + R → type powercfg.cpl → Enter.
  2. Click Choose what the power buttons do.
  3. Click Change settings that are currently unavailable.
  4. Uncheck "Turn on fast startup (recommended)".
  5. Click Save changes.

Alternatively via command line:

powercfg /h off

Step 5: Run Windows Memory Diagnostic

Faulty RAM causes unpredictable kernel failures including CRITICAL_PROCESS_DIED.

MdSched.exe

Choose "Restart now and check for problems." The tool runs before Windows loads and reports errors on next login.

For more thorough testing, use MemTest86 (bootable USB) which runs outside Windows and tests all RAM independently.


Step 6: Check Disk for Storage Errors

chkdsk C: /f /r /x

You will be prompted to schedule the scan on next reboot (type Y). Restart and allow the scan to complete — this can take 30–60 minutes on large drives.


Step 7: If Windows Won't Boot — Using WinRE Without Safe Mode

A common problem reported on Reddit and forums is Windows 11 Critical Process Died on boot with no access to safe mode. Windows 11 significantly shortened the automatic repair trigger window, but you can force it:

Force WinRE entry:

  1. Power on your PC.
  2. As soon as the Windows logo appears, hold the power button to force shutdown.
  3. Repeat 3 times — on the 4th boot, Windows automatically enters Automatic Repair mode.
  4. Click Advanced OptionsTroubleshootAdvanced Options.

From WinRE Advanced Options you can:

  • Startup Repair — automated fix for boot issues.
  • Command Prompt — run SFC, DISM, chkdsk manually.
  • System Restore — revert to a previous restore point.
  • Uninstall Updates — remove a recently installed update that caused the BSOD.

Running SFC from WinRE Command Prompt:

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

Running DISM from WinRE:

DISM /Image:C:\ /Cleanup-Image /RestoreHealth

Step 8: Uninstall Recent Windows Updates

If the BSOD began after a specific Windows Update:

  1. From WinRE: Advanced Options → Uninstall Updates → Uninstall latest quality update.
  2. From within Windows: Settings → Windows Update → Update History → Uninstall Updates.

Or via Command Prompt:

wusa /uninstall /kb:XXXXXXX

Replace XXXXXXX with the KB number visible in Update History.


Step 9: Reset Windows 11 (Last Resort)

If all above steps fail:

  1. Settings → System → Recovery → Reset this PC.
  2. Choose Keep my files (reinstalls Windows, removes apps and settings) or Remove everything (full wipe).
  3. Select Cloud download for the freshest Windows files, especially if local files are suspected corrupt.

Alternatively, perform a clean install using the Windows 11 Installation Media from Microsoft, which completely replaces all system files.


Preventive Measures

  • Enable System Restore and create restore points before major updates.
  • Keep drivers updated through manufacturer websites rather than relying solely on Windows Update.
  • Run sfc /scannow monthly as a health check.
  • Avoid third-party kernel-level tools (game anti-cheat software, aggressive antivirus with kernel drivers) unless necessary.
  • Ensure your system is thermally healthy — overheating can corrupt memory and cause process failures.

Frequently Asked Questions

bash
# ============================================================
# Windows 11 CRITICAL_PROCESS_DIED Diagnostic & Fix Script
# Run all commands in an ELEVATED Command Prompt or PowerShell
# ============================================================

# --- Step 1: Check for corrupt system files ---
sfc /scannow

# --- Step 2: DISM image repair (run in sequence) ---
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

# --- Step 3: Re-run SFC after DISM ---
sfc /scannow

# --- Step 4: Schedule disk check on next reboot ---
chkdsk C: /f /r /x
# Type Y when prompted to schedule on reboot

# --- Step 5: Disable Fast Startup (prevents stale kernel on boot) ---
powercfg /h off

# --- Step 6: Launch Windows Memory Diagnostic ---
MdSched.exe

# --- Step 7: View minidump crash files (open folder) ---
explorer %SystemRoot%\Minidump

# --- Step 8: Export System Event Log errors from last 24 hours ---
powershell -Command "Get-EventLog -LogName System -EntryType Error,Critical -Newest 50 | Export-Csv C:\CrashLog.csv -NoTypeInformation"

# --- Step 9: List all third-party drivers (non-Microsoft) ---
powershell -Command "Get-WindowsDriver -Online | Where-Object {$_.ProviderName -ne 'Microsoft'} | Select-Object Driver, ProviderName, Version, Date | Format-Table -AutoSize"

# --- Step 10: Check for driver verifier issues (advanced) ---
verifier /query

# --- Step 11: Enable Driver Verifier for non-MS drivers (reboot required) ---
# WARNING: This may cause additional BSODs to surface faulty drivers.
# Only run if you can access safe mode to disable it afterward.
verifier /standard /driver <drivername.sys>
# To disable: verifier /reset

# --- Step 12: Uninstall a specific Windows Update by KB number ---
# Replace XXXXXXX with the KB number from Update History
wusa /uninstall /kb:XXXXXXX /quiet /norestart

# --- Step 13: Delete corrupted driver store entries ---
pnputil /enum-drivers
# Then remove a specific entry:
# pnputil /delete-driver oem12.inf /uninstall /force

# --- Step 14: Reset Windows Update components (if update caused BSOD) ---
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

# --- Step 15 (WinRE only): Offline SFC and DISM ---
# Run these from WinRE Command Prompt when Windows cannot boot
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
DISM /Image:C:\ /Cleanup-Image /RestoreHealth

# ============================================================
# After fixes: reboot and monitor Event Viewer for recurrence
# eventvwr.msc -> Windows Logs -> System
# ============================================================
E

Error Medic Editorial

Error Medic Editorial is a team of senior DevOps engineers, SREs, and Windows systems specialists with combined decades of experience diagnosing kernel-level failures, BSOD root causes, and enterprise Windows infrastructure issues. Our guides are built from real incident postmortems, Microsoft documentation, and hands-on lab testing across Windows 10 and Windows 11 environments.

Sources

Related Articles in Windows 11 Critical Process Died

Explore More windows Guides