CRITICAL_PROCESS_DIED: How to Fix the Microsoft Stop Code on Windows 10 & 11
Fix the CRITICAL_PROCESS_DIED blue screen (BSOD) on Windows with step-by-step commands, driver rollbacks, SFC/DISM scans, and memory diagnostics.
- CRITICAL_PROCESS_DIED (Stop Code 0x000000EF) occurs when a core Windows kernel process terminates unexpectedly due to corruption, bad drivers, or hardware faults.
- Corrupt system files, faulty or outdated device drivers, failing RAM, and damaged disk sectors are the most common root causes.
- Run SFC /scannow and DISM /RestoreHealth first, then check Event Viewer for the offending process, roll back or update drivers, run Windows Memory Diagnostic, and perform a CHKDSK scan to resolve the error in most cases.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| SFC + DISM Scan | Suspected system file corruption after update or malware | 15–30 min | Low |
| Driver Rollback / Update | BSOD started after a new hardware install or Windows Update | 10–20 min | Low-Medium |
| Windows Memory Diagnostic | Random BSODs with no consistent trigger, possible RAM failure | 20–40 min | Low |
| CHKDSK /f /r | BSOD accompanied by disk read errors or slow storage | 30–120 min | Low |
| System Restore | Error appeared suddenly after a recent change or update | 15–30 min | Low |
| Startup Repair (WinRE) | System cannot boot into Windows at all | 20–45 min | Low-Medium |
| Clean Windows Install | All other fixes failed; severe OS corruption confirmed | 60–120 min | High (data loss risk) |
Understanding the CRITICAL_PROCESS_DIED Error
When Windows displays the blue screen of death (BSOD) with the stop code CRITICAL_PROCESS_DIED (bug check code 0x000000EF), it means a process that the Windows kernel deemed essential for system operation terminated abnormally. Unlike optional services that can crash and restart, critical processes such as smss.exe (Session Manager), csrss.exe (Client/Server Runtime), wininit.exe, or lsass.exe cannot die without bringing down the entire OS.
The full error string displayed on the blue screen reads:
Your PC ran into a problem and needs to restart.
Stop Code: CRITICAL_PROCESS_DIED
On older Windows 10 builds you may also see the legacy format referencing microsoft.com/stopcode critical process died, which points users to the Microsoft support page for bug check 0xEF.
Step 1: Capture Crash Dump Information from Event Viewer
Before applying any fix, identify exactly which process triggered the crash.
- Press Win + R, type
eventvwr.msc, and press Enter. - Navigate to Windows Logs > System.
- Filter by Event ID 41 (Kernel-Power unexpected shutdown) and Event ID 1001 (BugCheck).
- Open the most recent BugCheck event and note the parameters — the second parameter (P2) is the memory address of the offending process object.
- Also check Windows Logs > Application for any crashes from
smss.exe,csrss.exe,wininit.exe, orlsass.exein the minutes before the BSOD.
Alternatively, use WinDbg or the built-in minidump files:
- Minidumps are stored at
C:\Windows\Minidump\ - Open them in WinDbg and run
!analyze -vfor a full stack trace.
Step 2: Run SFC and DISM to Repair System Files
System File Checker and the Deployment Image Servicing and Management tool repair corrupted Windows OS files — the single most common cause of CRITICAL_PROCESS_DIED.
Open Command Prompt as Administrator and run:
sfc /scannow
Wait for the scan to complete (do not interrupt). If SFC reports Windows Resource Protection found corrupt files but was unable to fix some of them, run DISM next:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
After DISM completes, run sfc /scannow a second time, then restart.
Step 3: Identify and Fix Problematic Drivers
Driver-related BSODs are extremely common. Use Driver Verifier to stress-test drivers (only on a test machine or VM, as it can cause intentional BSODs to isolate the bad driver).
Check recently installed or updated drivers:
driverquery /v /fo csv > C:\drivers.csv
Open the CSV and sort by Driver Start Mode and Link Date to find recently changed drivers.
Roll back a driver via Device Manager:
- Press Win + X > Device Manager.
- Expand the relevant category (Display Adapters, Network Adapters, etc.).
- Right-click the device > Properties > Driver tab > Roll Back Driver.
Update all drivers via Windows Update:
Get-WindowsUpdate -MicrosoftUpdate -AcceptAll -Install -AutoReboot
(Requires PSWindowsUpdate PowerShell module.)
Disable a specific driver temporarily:
sc config <ServiceName> start= disabled
Step 4: Run Windows Memory Diagnostic
Faulty RAM causes random kernel-mode crashes, including CRITICAL_PROCESS_DIED.
- Press Win + R, type
mdsched.exe, press Enter. - Choose Restart now and check for problems.
- Windows boots into the diagnostic tool and runs two passes by default.
- After reboot, check Event Viewer > Windows Logs > System for Event ID 1201 or 1101 from
MemoryDiagnostics-Results.
For a more thorough test, use MemTest86 (bootable USB tool) and run at least two full passes overnight.
If errors are found: reseat RAM sticks, test each stick individually, and replace any failing modules.
Step 5: Check and Repair Disk Errors with CHKDSK
A failing drive or corrupted file system can cause critical system processes to crash when they cannot read essential data.
chkdsk C: /f /r /x
Windows will ask to schedule the check on next reboot. Type Y and restart. CHKDSK may take 1–2 hours on large drives. After completion, review results in Event Viewer > Windows Logs > Application > Source: Wininit (the full CHKDSK log is stored here).
For NVMe/SSD drives, also check health with manufacturer tools (Samsung Magician, CrystalDiskInfo, or smartctl):
smartctl -a /dev/sda
Step 6: Use System Restore or Startup Repair
System Restore (if a restore point exists):
- Press Win + R, type
rstrui.exe. - Choose a restore point dated before the BSODs began.
- Follow the wizard and restart.
Startup Repair (if Windows cannot boot):
- Boot from Windows installation media (USB/DVD).
- Select Repair your computer > Troubleshoot > Advanced Options > Startup Repair.
- Let Windows diagnose and auto-repair boot issues.
Command Prompt from WinRE for manual repair:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Step 7: Check for Malware
Rootkit or bootkit malware frequently targets lsass.exe and csrss.exe. Run an offline scan:
- Boot from a Windows Defender Offline scan (Settings > Windows Security > Virus & Threat Protection > Scan Options > Microsoft Defender Antivirus Offline Scan).
- Or use a third-party bootable scanner such as Malwarebytes Rescue Disk or ESET SysRescue.
Step 8: Last Resort — Reset or Clean Install Windows
If all previous steps fail:
- Go to Settings > System > Recovery > Reset this PC.
- Choose Keep my files for a soft reset, or Remove everything for a full clean install.
- Alternatively, perform a clean install from bootable media and format the system partition.
Before this step, back up all user data to an external drive or cloud storage.
Frequently Asked Questions
# ============================================================
# CRITICAL_PROCESS_DIED Diagnostic & Fix Script
# Run all commands in an elevated Command Prompt or PowerShell
# (Right-click > Run as Administrator)
# ============================================================
# --- 1. Check System File Integrity ---
sfc /scannow
# --- 2. DISM: Repair Windows Image ---
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
# Re-run SFC after DISM
sfc /scannow
# --- 3. Check Disk for Errors (schedule for next boot) ---
chkdsk C: /f /r /x
# Type Y when prompted, then restart manually
# --- 4. List Installed Drivers (export for review) ---
driverquery /v /fo csv > C:\drivers_report.csv
echo Drivers exported to C:\drivers_report.csv
# --- 5. View Recent Minidump Files ---
dir C:\Windows\Minidump\ /od
# Open the most recent .dmp file in WinDbg
# In WinDbg run: !analyze -v
# --- 6. View BugCheck Event (PowerShell) ---
Get-WinEvent -LogName System | Where-Object { $_.Id -eq 1001 } | Select-Object -First 5 | Format-List TimeCreated, Message
# --- 7. Check Memory for Errors (schedule diagnostic) ---
mdsched.exe
# Select 'Restart now and check for problems'
# --- 8. View Memory Diagnostic Results after reboot ---
Get-WinEvent -LogName System | Where-Object { $_.ProviderName -eq 'Microsoft-Windows-MemoryDiagnostics-Results' } | Format-List TimeCreated, Message
# --- 9. Boot Repair Commands (run from WinRE Command Prompt) ---
# bootrec /fixmbr
# bootrec /fixboot
# bootrec /scanos
# bootrec /rebuildbcd
# --- 10. Roll Back a Specific Driver (example: display adapter) ---
# Get the service name first:
sc query type= kernel state= all | findstr SERVICE_NAME
# Then disable a suspect driver:
# sc config <ServiceName> start= disabled
# --- 11. Enable Driver Verifier (advanced — use on test system only) ---
# verifier /standard /all
# Reboot; upon next BSOD the verifier will pinpoint the bad driver
# To disable verifier: verifier /reset
# --- 12. System Restore via Command Line (WinRE) ---
# rstrui.exe
# --- 13. Check SMART Status of All Disks (PowerShell) ---
Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus, OperationalStatus, Size
# ============================================================
# If all above fails: Reset PC
# Settings > System > Recovery > Reset this PC
# ============================================================Error Medic Editorial
Error Medic Editorial is a team of senior DevOps engineers, SREs, and Windows system administrators with 10+ years of experience diagnosing and resolving critical Windows kernel errors, BSOD stop codes, and enterprise infrastructure failures. Our guides are tested on real hardware and reviewed against official Microsoft documentation to ensure accuracy and actionability.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0xef--critical-process-died
- https://support.microsoft.com/en-us/windows/blue-screen-errors-in-windows-d7e2b03e-3e67-4d4b-81b5-62e5a77caed8
- https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-recovery-environment--windows-re--technical-reference
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sfc
- https://stackoverflow.com/questions/tagged/bsod
- https://answers.microsoft.com/en-us/windows/forum/all/blue-screen-critical-process-died/6fa8a7d4-4ff5-4f48-8a42-e1e3e1a3f2d1