Blue screen · Windows 11
Fix a blue screen with stop code CRITICAL_PROCESS_DIED
A blue screen is alarming, but this stop code carries a clear message: a process Windows depends on has ended, so Windows stopped rather than carry on in a damaged state. The process itself rarely fails for no reason — something underneath it did, usually a recent update or driver, a damaged system file, or a drive error. Undo the recent change first, then repair the files, in the order below.
What you need
- The exact stop code, written down. Photograph the blue screen if you can. CRITICAL_PROCESS_DIED is one code among many, and the fix order differs by code — guessing from “it was a blue screen” leads to the wrong repairs.
- A note of when it happens. During startup, right after sign-in, or only under load, an hour into use. Timing is the best clue you have, and it is free to collect before you change anything.
- A way back in if Windows will not start. The recovery environment opens on its own after repeated failed starts, and Safe Mode is reached from there. You do not need any disk or download to reach either.
Read the stop code before you touch it
- Understand what the code is telling you. CRITICAL_PROCESS_DIED is bug check 0xEF. Microsoft’s reference, Bug Check 0xEF CRITICAL_PROCESS_DIED, describes it as a critical system process — such as csrss, wininit, or the services process — ending unexpectedly. Windows cannot continue safely without those processes, so it stops. The code names the victim, not the cause: your job is to find what made that process fail.
- Separate a boot crash from an in-use crash. If the blue screen arrives before or during sign-in, every time, suspect a system file, a driver that loads early, or the drive. If Windows runs for a while and crashes later, suspect a driver or service that only starts with use, or a fault that appears under load or heat.
- Name the most recent change. A Windows update, a driver update, new hardware, or new low-level software such as antivirus in the last few days is the prime suspect. Crashes that start the same day as a change are caused by that change far more often than by coincidence.
The simple fixes, in order
- Undo the recent change first. If the crashes began after a Windows update, go to Settings > Windows Update > Update history > Uninstall updates and remove the most recent one, then restart and test. If they began after a driver update, open Device Manager, find that device, and use Properties > Driver > Roll Back Driver. Undoing one known change beats repairing the whole system on a guess.
- Test in Safe Mode. Hold Shift while choosing Restart, then go to Troubleshoot > Advanced options > Startup Settings > Restart and press 4. Use the PC in Safe Mode for a while. If it stays stable there, a third-party driver or service that Safe Mode skips is the likely cause — think about what loads in a normal start that Safe Mode leaves out. If it crashes in Safe Mode too, the cause sits deeper: system files or the drive.
- Look at the crash record in Event Viewer, at a modest level. Search the Start menu for Event Viewer, open it, and go to Windows Logs > System. Find the critical event at the time of a crash and the errors in the minutes just before it. You are looking for a pattern — the same driver or service named before each crash — not a full diagnosis. One repeated name is a useful lead; a single vague error is not.
- Note whether a minidump exists. Windows usually saves a small crash file in C:\Windows\Minidump. Its presence confirms Windows captured the crash, and its date tells you whether the crashes you remember are the ones being recorded. Reading deep into a minidump needs specialist tools — for this fault, the timing, the recent change, and the Event Viewer pattern carry most of the answer.
The advanced route: repair files and scan the drive
- Open an administrator terminal. Right-click the Start button and choose Terminal (Admin). Work from Safe Mode if a normal start will not stay up long enough to finish — the commands run the same way there.
- Repair the Windows image with DISM first. Type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. DISM repairs the component store that Windows uses as its source of clean system files, as described in the Microsoft Learn page Repair a Windows image, so it goes first: the next step draws its replacements from that store. Let it finish even if progress seems to pause. - Run the System File Checker second. Type
sfc /scannowand press Enter. SFC scans protected system files and replaces damaged ones, as covered in the Microsoft Learn page sfc reference. A damaged file belonging to one of those critical processes is a direct cause of this stop code, and this is the step that repairs it. Restart when it completes. - Scan the drive for file system errors. In the same terminal, type
chkdsk C: /scanand press Enter. This runs an online scan of the system drive, as described in the Microsoft Learn page chkdsk reference — it checks the file system while Windows keeps running, and it does not schedule a restart the way a repair scan does. If it reports errors it cannot fix online, note them: a drive that keeps producing file system errors is itself a suspect, not just a victim.
End state
- The PC starts, signs in, and runs through a normal session — including the point where it used to crash — with no blue screen.
- The stability holds across several restarts, not just the first one after the repair.
- No new critical events matching the crash appear in Event Viewer during normal use.
When it goes wrong
- The blue screen shows a different stop code. A different code means a different fault with a different fix order, even though the screen looks the same. The general blue screen stop code guide covers how to read the code you actually have and where it leads.
- Windows crashes before you can run any fix. Work entirely from Safe Mode or the recovery environment. If even Safe Mode crashes within minutes, the drive and the memory move to the top of the list — back up anything you can reach before going further.
- The crash returns days after a clean repair. Something is damaging the files again — most often a failing drive writing bad data back, or the same driver update being reinstalled by Windows Update. Check the drive scan result first, and watch whether an update reinstalls right before the crash returns.
- SFC reports files it could not repair. Run the DISM step and then SFC once more, in that order — a repaired component store sometimes lets the second SFC pass finish what the first could not. If the same files still fail, note their names from the result before deciding the next step.
Related fixes
-
Fix a blue screen with stop code KMODE_EXCEPTION_NOT_HANDLED
KMODE_EXCEPTION_NOT_HANDLED means a kernel-mode program, usually a driver, hit an error it did not know how to handle. The blue screen often names the driver file responsible, which makes this one of the more direct blue screens to fix: deal with the named driver first, then recent installs, then the system files.
-
Fix a blue screen with stop code UNEXPECTED_STORE_EXCEPTION
This stop code points at the storage stack — the drive, its driver, or the file system Windows keeps its memory store on. The good news is that the fix order is short: check the drive's health, repair the file system and system files, and update the storage driver before you consider anything drastic.
-
Fix a blue screen with stop code INACCESSIBLE_BOOT_DEVICE
INACCESSIBLE_BOOT_DEVICE means Windows lost its boot drive during startup, often after a storage mode change or update. Check the BIOS mode first, then work through recovery to confirm the drive and boot entries.
-
Fix a blue screen error: read the stop code and find the cause
Capture the stop code, match it to what changed, test in Safe Mode, and check memory and disk in order.
Sources
- Microsoft Learn, Bug Check 0xEF CRITICAL_PROCESS_DIED — what the stop code means and which processes it involves.
- Microsoft Learn, Repair a Windows image — using DISM to repair the Windows image and component store.
- Microsoft Learn, sfc — SFC switches and what the System File Checker does.
- Microsoft Learn, chkdsk — chkdsk switches, including the online scan.