Your PC stopped with a blue or black screen showing Stop code: CRITICAL_PROCESS_DIED, then restarted. For some people it happens once out of the blue. For others it repeats, sometimes every time Windows starts.

What it means

Windows relies on a small set of core processes: background programs that start Windows, handle sign-in and run its services. Microsoft names some of them, including csrss.exe, wininit.exe, winlogon.exe, smss.exe and services.exe. If one of these ends unexpectedly or becomes damaged, Windows can no longer trust itself to run safely, so it stops on purpose.

The process that ended is rarely the real cause. It usually points to something underneath it: damaged system files, a faulty driver or a problem with the drive.

Common causes

  • Damaged or missing Windows system files, often after an interrupted update or a sudden power cut.
  • A faulty or incompatible driver, especially one installed or updated recently.
  • Errors on the drive, or a drive that is starting to fail.
  • A Windows update that didn't install cleanly.
  • Less often, malicious software. If you suspect it, read Remove malware with Windows Security.

Fix 1: Undo recent hardware and driver changes

10 to 20 minutesChanges settings

If the crashes began after you added a device or installed a driver or app, that change is the most likely trigger. Undoing it is quick and changes nothing else.

  1. Shut down and unplug any device you added recently, such as a USB drive, dock or new internal part.
  2. If you installed an app or driver shortly before the crashes began, uninstall it:

    Windows 11

    Settings, then Apps, then Installed apps, then select … beside it and choose Uninstall.

    Windows 10

    Settings, then Apps, then Apps & features, then select it and choose Uninstall.
  3. If a driver was updated, right-click Start, select Device Manager, open that device's Properties and select Roll Back Driver on the Driver tab.
  4. Restart the PC.

Did that fix it?

No, try fix 2

Fix 2: Install updates and the latest drivers

20 to 60 minutesChanges settings

Updates replace Windows files and fix known faults in drivers. A fully updated PC rules out problems Microsoft or your PC maker has already fixed.

  1. Open Windows Update:

    Windows 11

    Settings, then Windows Update

    Windows 10

    Settings, then Update & Security, then Windows Update
  2. Select Check for updates, install everything offered and restart.
  3. In Device Manager, look for devices with a yellow warning mark. For those, and for the graphics, chipset and storage drivers, get the latest versions from your PC maker's support site. Never use a "driver download" site.

Did that fix it?

No, try fix 3

Fix 3: Repair system files with DISM and SFC

20 to 40 minutesChanges settings

Damaged system files are one of the most common reasons a core process fails. DISM repairs the store of files Windows uses for repairs, then SFC checks every protected system file and replaces damaged ones. Your personal files are not touched.

  1. Open Command Prompt as administrator.
  2. Type each command and press Enter. Wait for the first to finish before typing the second.
    Type this in Command Prompt, as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
    sfc /scannow
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt in the results and choose Run as administrator. Select Yes if Windows asks for permission.

  3. If SFC says Windows Resource Protection found corrupt files and successfully repaired them, restart and use the PC as normal. If it says it could not perform the operation, run it again from Safe Mode.

Did that fix it?

No, try fix 4

Fix 4: Check the drive for errors

10 to 30 minutesChanges settings

If parts of the drive can't be read, the files a core process needs may be damaged each time Windows loads them. This check looks at the drive's file system without a restart.

  1. Open Command Prompt as administrator, type this command and press Enter:
    Type this in Command Prompt, as administrator
    chkdsk C: /scan
  2. If it says problems need fixing, type chkdsk C: /f and press Enter. When asked whether to check the drive the next time the system restarts, type Y, press Enter and restart.

If the check keeps reporting problems, or the drive makes clicking sounds, back up your files now and have the drive tested by your PC maker or a repair shop.

Did that fix it?

No, try fix 5

Fix 5: Remove the latest update or use System Restore

20 to 40 minutesChanges settings

If the crashes started right after an update, removing it often stops them. System Restore goes further and takes Windows' system files, drivers and apps back to an earlier point. Neither changes your personal files.

  1. To remove the latest update:

    Windows 11

    go to Settings, then Windows Update, then Update history, select Uninstall updates, then select Uninstall beside the most recent one.

    Windows 10

    go to Settings, then Update & Security, then Windows Update, select View update history, then Uninstall updates, and uninstall the most recent one.
  2. If that doesn't help, press Windows logo key + R, type the command below and select OK to open System Restore.
    Type this in Run box
    rstrui.exe
    How do I open Run box?

    Press the Windows logo key and R together, type the text into the Open box and select OK.

  3. Select Next, choose a restore point from before the crashes began, then select Next and Finish.

See Uninstall an update that caused problems and Use System Restore for more detail.

Did that fix it?

For the general order of fixes for any stop code, read What to do after a blue screen. Other common codes: IRQL_NOT_LESS_OR_EQUAL, DPC_WATCHDOG_VIOLATION and MEMORY_MANAGEMENT.