Error codeBlue screens
CRITICAL_PROCESS_DIED blue screen
CRITICAL_PROCESS_DIED0x000000EF
- Applies to
- Windows 11 and Windows 10
- Difficulty
- Moderate
- Time
- About 60 min
- Risk
- Changes settings
- Reviewed
Quick answer
A core Windows process stopped unexpectedly, so Windows stopped too. Unplug any new hardware and restart, install updates, then repair system files with DISM and sfc /scannow.
What this code means
CRITICAL_PROCESS_DIED (stop code 0x000000EF) means one of the programs Windows can't run without stopped unexpectedly. These include the processes that manage sign-in, services and your desktop session, such as csrss.exe, wininit.exe, smss.exe, services.exe and winlogon.exe. When one of them ends, Windows can no longer trust its own state, so it stops on purpose.
The process itself is rarely the real culprit. Something damaged it or cut it off: usually a driver, new hardware, damaged system files or problems on the drive.
Common causes
- Hardware you added recently, or a driver that came with it.
- A new or updated driver, app or system service, especially security software or system utilities.
- Damaged or missing Windows system files.
- File system errors or a failing drive.
- Malware that damaged system files.
- Outdated PC firmware (BIOS or UEFI).
Fix 1Remove new hardware and undo recent changes
Microsoft's first suggestion for this code is to remove hardware or drivers added just before the crashes started. Reversing a recent change is the quickest test and doesn't affect your files.
- If you added hardware recently, shut down, remove it and restart.
- If a driver was updated recently, right-click Start and open Device Manager (the list of every part Windows knows about). Right-click the device, select Properties, open the Driver tab and select Roll Back Driver.
- In Device Manager, also look for any device with a yellow exclamation mark. Right-click it and select Update driver.
- If you installed an app just before the crashes began, remove it from Settings then
Apps then (on Windows 10, Settings thenInstalled apps Apps then ).Apps & features
Fixed? You can stop here. Still happening: go to Fix 2
Fix 2Install Windows and driver updates
Updates fix known crash bugs in Windows and in drivers. Some driver fixes only appear under optional updates, so check there too.
- Open Settings then
Windows Update and select Check for updates (on Windows 10, Settings thenUpdate & Security then ). Install everything offered.Windows Update - Go to Settings then
Windows Update then and install any driver updates. On Windows 10, select View optional updates.Advanced options then Optional updates - Restart. Then check your PC maker's support site for firmware (BIOS or UEFI) and chipset updates for your model.
Fixed? You can stop here. Still happening: go to Fix 3
Fix 3Repair Windows system files
Because this code is about a core Windows process failing, damaged system files are a common cause. Microsoft suggests the System File Checker for this stop code. Running DISM first repairs the store that System File Checker copies good files from.
- Select Start, type cmd, right-click Command Prompt and select Run as administrator.
- Repair Windows' store of system files. It takes several minutes:
It should end with "The restore operation completed successfully."
DISM.exe /Online /Cleanup-image /RestorehealthHow do I open Command Prompt as administrator?
Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.
- Check and repair the system files:
"Windows Resource Protection did not find any integrity violations" or "found corrupt files and successfully repaired them" are both good results. Restart afterward.
sfc /scannow
More detail on reading the results is in the Health Check.
Fixed? You can stop here. Still happening: go to Fix 4
Fix 4Check the drive and scan for malware
If the drive has file system errors, Windows can read a damaged copy of a critical file. Malware can also damage system files. Both checks below run while Windows keeps working, so you can carry on using the PC.
- In Command Prompt as administrator, check drive C: for file system errors while Windows keeps running:
A healthy drive reports "Windows has scanned the file system and found no problems." If it reports a problem, it tells you what to run next.
chkdsk C: /scan - Select Start, type Windows Security and open it. Go to Virus & threat protection and select Quick scan. For a deeper check, select Scan options, choose Full scan and start it.
Fixed? You can stop here. Still happening: go to Fix 5
Fix 5If it crashes every time Windows starts
When the crash happens before or just after sign-in, you can't run the fixes above normally. Windows' recovery screen lets you start in Safe Mode, which loads only basic drivers, or undo recent changes without starting Windows.
- Turn the PC on and hold the power button for about 10 seconds as soon as the logo appears. Do this twice. On the third start, Windows should show the Automatic Repair screen. Select Advanced options.
- For Safe Mode, go to Troubleshoot then
Advanced options then , select Restart, and press 4 or F4. If Windows stays up, try the fixes above from there.Startup Settings - To undo recent changes, use Troubleshoot then
Advanced options then , or Troubleshoot thenUninstall Updates Advanced options then to go back to a restore point from before the crashes. System Restore keeps your personal files but removes apps and drivers installed after that point.System Restore
If BitLocker asks for a recovery key, get it at account.microsoft.com/devices/recoverykey. If none of this works, see the Automatic Repair loop page for more recovery options and the Reset this PC guide as a last resort.
Fixed? You can stop here. Still happening: what to do next
If none of these worked
Stop here rather than trying riskier changes. These are the right places to go next:
- Microsoft SupportOfficial help for Windows, including the Get Help app built into Windows.
- Your PC maker's support siteFor hardware faults, drivers and warranty repairs. Find your model in Settings then
System then , then type the maker's web address yourself.About - A local repair shop you can visitFor hardware faults such as a failing drive, screen or battery.
Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam
Sources and review
Checked against Microsoft's own documentation:
- Microsoft Learn: Bug Check 0xEF CRITICAL_PROCESS_DIED
- Microsoft Support: Troubleshooting Windows unexpected restarts and stop code errors
- Microsoft Support: Use the System File Checker tool
Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.