CRITICAL_PROCESS_DIED (0x000000EF): Complete Fix Guide for Windows 10, 11, and Server
Fix the CRITICAL_PROCESS_DIED BSOD (stop code 0x000000EF) on Windows 10/11. Step-by-step guide covering SFC, DISM, safe mode, driver rollback, and more.
- Root Cause 1: A critical Windows kernel process (e.g., ntoskrnl.exe, csrss.exe, wininit.exe) terminated unexpectedly due to corrupted system files, a bad driver, or faulty hardware.
- Root Cause 2: Incompatible, outdated, or corrupted device drivers — especially after a Windows Update, game installation (e.g., Valorant anti-cheat), or hardware change — are the most common software triggers.
- Root Cause 3: Failing RAM, a dying hard drive/SSD, or overheating hardware can corrupt in-memory kernel structures and trigger this stop code during boot, gaming, or shutdown.
- Quick Fix Summary: Boot into Safe Mode, run 'sfc /scannow' followed by DISM, roll back or uninstall recently added drivers, and check hardware health with MemTest86 and CrystalDiskInfo. If the system won't boot at all, use Windows Recovery Environment (WinRE) to access command-line repair tools.
| Method | When to Use | Time Required | Risk Level |
|---|---|---|---|
| SFC /scannow (System File Checker) | Corrupted or missing Windows system files after update or crash | 5–15 min | Low |
| DISM RestoreHealth | SFC fails or reports errors it cannot fix; component store corruption | 15–45 min | Low |
| Safe Mode + Driver Rollback | Error appeared after installing a new driver or Windows Update | 10–20 min | Low |
| Startup Repair (WinRE) | System won't boot to desktop; stuck in BSOD loop | 5–20 min | Low |
| MemTest86 RAM Test | Random BSODs across multiple activities; suspect faulty RAM | 30–120 min | None (read-only) |
| CHKDSK /f /r | BSOD on startup; suspect hard drive/SSD errors or bad sectors | 30–240 min | Low |
| System Restore | Error started after a specific event; restore points available | 20–40 min | Medium (rolls back apps/drivers) |
| Reset / Clean Install Windows | All other methods fail; severe corruption or unknown root cause | 60–180 min | High (data loss if not careful) |
Understanding the CRITICAL_PROCESS_DIED Error
The CRITICAL_PROCESS_DIED Blue Screen of Death (BSOD), identified by stop code 0x000000EF, appears when Windows detects that a process essential to the operating system's operation has terminated unexpectedly or entered an invalid state. Unlike ordinary application crashes, these are processes that Windows cannot run without — if they die, the entire OS must halt immediately to prevent data corruption.
Common critical processes include:
ntoskrnl.exe— the Windows NT kernel itselfcsrss.exe— the Client/Server Runtime Subsystemwininit.exe— Windows initialization processsmss.exe— Session Manager Subsystemlsass.exe— Local Security Authority
You may see the full error on your screen as:
Your PC ran into a problem and needs to restart.
Stop Code: CRITICAL_PROCESS_DIED
or the older format: *** STOP: 0x000000EF
Step 1: Identify When the Error Occurs
Before applying fixes, narrow down when the crash happens, as this guides the most likely cause:
- On startup/boot loop → Likely driver, boot sector, or file system corruption
- After Windows Update → Update introduced incompatible driver or corrupted system files
- When playing games (e.g., Valorant) → Anti-cheat driver conflict or GPU/CPU overheating
- When shutting down → Power management driver or corrupted shutdown sequence
- Randomly during use → Hardware failure (RAM, SSD) or overheating
- After System Restore → Restore created a driver/OS version mismatch
Step 2: Boot Into Safe Mode
If Windows won't start normally, access Windows Recovery Environment (WinRE):
- Force shut down your PC 3 times in a row during boot (hold power button). Windows will automatically enter WinRE.
- Navigate to Troubleshoot → Advanced Options → Startup Settings → Restart.
- Press F4 for Safe Mode or F6 for Safe Mode with Networking.
If Safe Mode itself crashes with CRITICAL_PROCESS_DIED, suspect a hardware issue (RAM or storage) rather than a software/driver problem — skip to the hardware diagnostics section.
Step 3: Run SFC and DISM to Repair System Files
This is the most common fix for post-update or post-crash corruption. Open Command Prompt as Administrator (or use WinRE → Command Prompt):
:: Step 1 - Run System File Checker
sfc /scannow
:: Step 2 - If SFC reports errors, run DISM to repair the component store
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
:: Step 3 - Run SFC again after DISM
sfc /scannow
SFC will scan and attempt to replace corrupted protected system files. DISM downloads clean replacements from Windows Update servers (requires internet) or from a Windows ISO mounted as a source.
After completing both tools, restart your PC. This alone resolves the error in a large percentage of cases.
Step 4: Check and Repair the File System with CHKDSK
If you suspect hard drive or SSD issues (common on older machines or if the BSOD mentions ntoskrnl.exe reading bad sectors):
:: Replace C: with the drive letter of your Windows installation
chkdsk C: /f /r /x
You'll be prompted to schedule this for next reboot. Press Y, then restart. On SSDs, CHKDSK /r can take a very long time — this is normal. Let it complete.
Step 5: Identify and Roll Back Problematic Drivers
Driver conflicts are the #1 cause of this BSOD on otherwise healthy systems. Here's how to identify and fix them:
Find the crashing driver from the minidump:
- Navigate to
C:\Windows\Minidump. - Open the most recent
.dmpfile using WinDbg (from Microsoft Store) or upload it to an online analyzer like WhoCrashed.
Roll back a driver in Safe Mode:
- Press
Win + X→ Device Manager. - Right-click the suspected device (Display Adapter, Network Adapter, etc.) → Properties.
- Go to Driver tab → Roll Back Driver.
Uninstall a driver completely:
:: Use Device Manager or pnputil
pnputil /enum-drivers
:: Remove a specific driver package
pnputil /delete-driver oem10.inf /uninstall /force
For GPU drivers (especially common with gaming BSODs):
Use DDU (Display Driver Uninstaller) in Safe Mode to completely remove GPU drivers, then reinstall the latest stable version from NVIDIA, AMD, or Intel directly.
Step 6: Undo Recent Windows Updates
If the error started after a Windows Update:
- Boot into Safe Mode.
- Go to Settings → Windows Update → Update History → Uninstall Updates.
- Sort by date and uninstall the most recent cumulative update.
Alternatively, via Command Prompt:
:: List installed updates
wmic qfe list brief /format:table
:: Uninstall a specific update (replace KB number)
wusa /uninstall /kb:5034441 /quiet /norestart
Step 7: Diagnose Hardware — RAM and Storage
If software fixes haven't resolved the issue, faulty hardware is likely.
Test RAM:
- Windows Memory Diagnostic: Press
Win + R, typemdsched.exe, and choose to restart and check for problems. - MemTest86: Download from memtest86.com, create a bootable USB, and run an extended test (minimum 2 passes). Any errors = faulty RAM.
Test Storage:
:: Check SSD/HDD SMART health
wmic diskdrive get status,model,size
:: For more detail, use CrystalDiskInfo (GUI tool) or smartctl
smartctl -a /dev/sda
If SMART data shows Reallocated Sectors, Pending Sectors, or Uncorrectable Errors > 0, your drive is failing. Back up data immediately and replace the drive.
Step 8: Use Startup Repair (WinRE)
For persistent boot loops, let Windows try its own repair:
- Boot into WinRE (3 forced shutdowns or use Windows installation media).
- Go to Troubleshoot → Advanced Options → Startup Repair.
- Select your Windows installation and let it run.
This fixes MBR/BCD corruption and missing boot files automatically.
Step 9: Last Resort — System Restore or Reset
System Restore:
If you have restore points (enabled before the issue started):
- WinRE → Troubleshoot → Advanced Options → System Restore.
- Choose a restore point dated before the issue began.
Note: System Restore does not affect personal files but removes apps and drivers installed after the restore point.
Reset Windows:
If all else fails:
- WinRE → Troubleshoot → Reset this PC.
- Choose Keep my files for a less destructive reset, or Remove everything for a clean slate.
- For Alienware, Dell, HP, and other OEM systems: check if your manufacturer provides a recovery partition or recovery USB tool.
Special Scenarios
Critical Process Died on Windows Server 2012 R2 / 2016
On server environments, this often relates to corrupted servicing stack or failed Windows Server Updates. Run SFC and DISM as above, and check the CBS.log at C:\Windows\Logs\CBS\CBS.log for detailed error information. Consider using the Windows Server installation media as the DISM source: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess
Critical Process Died with Valorant / Anti-Cheat
Valorant's Vanguard anti-cheat requires TPM 2.0 and Secure Boot. If these are misconfigured in BIOS, Vanguard may crash a kernel process. Ensure TPM 2.0 is enabled in UEFI/BIOS settings and Secure Boot is active. Update Vanguard and your GPU drivers.
Critical Process Died on Alienware Laptops
Alienware systems with Alienware Command Center or AWCC software can conflict with kernel drivers. Update AWCC from Dell's support site and ensure your EC firmware is up to date via Dell SupportAssist.
Frequently Asked Questions
:: ============================================================
:: CRITICAL_PROCESS_DIED (0x000000EF) - Full Diagnostic Script
:: Run all commands as Administrator in Command Prompt
:: ============================================================
:: --- STEP 1: System File Checker ---
echo [1/7] Running System File Checker...
sfc /scannow
echo SFC complete. Review output above for errors.
:: --- STEP 2: DISM Component Store Repair ---
echo [2/7] Running DISM health check...
DISM /Online /Cleanup-Image /CheckHealth
echo [2/7] Running DISM scan...
DISM /Online /Cleanup-Image /ScanHealth
echo [2/7] Running DISM restore (requires internet)...
DISM /Online /Cleanup-Image /RestoreHealth
echo DISM complete.
:: --- STEP 3: SFC again after DISM ---
echo [3/7] Re-running SFC after DISM repair...
sfc /scannow
:: --- STEP 4: Schedule CHKDSK on next reboot ---
echo [4/7] Scheduling CHKDSK for next reboot...
echo Y | chkdsk C: /f /r /x
:: NOTE: System will prompt to schedule on reboot. Type Y when asked.
:: --- STEP 5: Check disk SMART status ---
echo [5/7] Checking disk SMART status...
wmic diskdrive get model,status,size
:: For detailed SMART: install smartmontools and run:
:: smartctl -a /dev/sda (adjust device path for your OS)
:: --- STEP 6: List recent Windows Updates ---
echo [6/7] Listing 10 most recent Windows Updates...
wmic qfe list brief /format:table | more
:: --- STEP 7: Export Event Log for BSOD events ---
echo [7/7] Exporting System Event Log (BugCheck events)...
wevtutil qe System /q:"*[System[Provider[@Name='Microsoft-Windows-WER-SystemErrorReporting'] and (EventID=1001)]]" /f:text /rd:true /c:10
:: --- BONUS: Open Minidump folder for crash analysis ---
echo Opening minidump folder...
explorer C:\Windows\Minidump
:: --- BONUS: Check driver verifier status ---
echo Checking Driver Verifier status...
verifier /query
:: --- To enable Driver Verifier (catch bad drivers - reboot required) ---
:: WARNING: Only use on a stable system boot; disable after testing
:: verifier /standard /all
:: --- To disable Driver Verifier ---
:: verifier /reset
echo ============================================================
echo Diagnostic complete. Review each section above for errors.
echo Minidump files in C:\Windows\Minidump can be analyzed
echo using WinDbg from the Microsoft Store.
echo ============================================================Error Medic Editorial
The Error Medic Editorial team consists of senior DevOps engineers, Windows SREs, and system administrators with combined experience spanning enterprise IT, cloud infrastructure, and consumer PC support. Our guides are built from real-world incident response runbooks, Microsoft documentation, and community-validated fixes from sources including Microsoft Learn, Reddit's r/techsupport, and Stack Overflow. We prioritize actionable, command-line-verified solutions over generic advice.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0xef--critical-process-died
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sfc
- https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image
- https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36f1-3d16-5f80-bf0f29b2d92c
- https://answers.microsoft.com/en-us/windows/forum/all/critical-process-died-bsod/7b3a23c8-4c3c-4e8d-9e5a-5b5a5d9d0a1c
- https://www.memtest86.com/
- https://stackoverflow.com/questions/tagged/bsod