Independent guides. Not affiliated with Microsoft. We never ask you to call, pay, or let anyone connect to your PC.

How we work
Fixpath

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.

  1. If you added hardware recently, shut down, remove it and restart.
  2. 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.
  3. In Device Manager, also look for any device with a yellow exclamation mark. Right-click it and select Update driver.
  4. If you installed an app just before the crashes began, remove it from Settings then Apps then Installed apps (on Windows 10, Settings then 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.

  1. Open Settings then Windows Update and select Check for updates (on Windows 10, Settings then Update & Security then Windows Update). Install everything offered.
  2. Go to Settings then Windows Update then Advanced options then Optional updates and install any driver updates. On Windows 10, select View optional updates.
  3. 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.

  1. Select Start, type cmd, right-click Command Prompt and select Run as administrator.
  2. Repair Windows' store of system files. It takes several minutes:
    Command Prompt as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.

    It should end with "The restore operation completed successfully."
  3. Check and repair the system files:
    Command Prompt as administrator
    sfc /scannow
    "Windows Resource Protection did not find any integrity violations" or "found corrupt files and successfully repaired them" are both good results. Restart afterward.

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.

  1. In Command Prompt as administrator, check drive C: for file system errors while Windows keeps running:
    Command Prompt as administrator
    chkdsk C: /scan
    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.
  2. 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.

  1. 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.
  2. For Safe Mode, go to Troubleshoot then Advanced options then Startup Settings, select Restart, and press 4 or F4. If Windows stays up, try the fixes above from there.
  3. To undo recent changes, use Troubleshoot then Advanced options then Uninstall Updates, or Troubleshoot then Advanced options then System Restore 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.

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:

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:

Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.