CRITICAL_PROCESS_DIED in Windows 11 means that a critical system process terminated; its bug-check value is 0x000000EF. If Windows restarts successfully, back up important files and record what happened before changing drivers or running repairs. If it crashes on every startup, use the recovery branch below rather than entering desktop commands in the recovery console.

I'd start with the failure pattern and the most recent change. The stop code tells you what Windows could no longer continue without; it doesn't identify a failed SSD, a bad driver or a particular damaged file by itself.

Separate a one-time crash from a repeating failure

Microsoft's definition of bug check 0xEF describes a critical-process failure and recommends examining crash evidence and recent changes to find the cause. A blue or black background can accompany a stop-code screen, depending on the Windows version. A blank screen without a stop code needs the black-screen investigation instead.

After Windows finishes collecting crash information and restarts, note which situation you have:

  • One crash, then normal operation: save the code, time and recent changes. Watch for recurrence before applying a collection of unrelated fixes.
  • Crashes during ordinary use: record the activity, connected devices and whether each crash shows the same code or module name.
  • Every normal startup fails, but Safe Mode works: use that access to preserve files and investigate the difference from normal startup.
  • Normal startup and Safe Mode both fail: move to recovery and evidence-led support. That result alone doesn't establish which component failed.

Don't keep forcing the same crash just to reproduce it. If the drive disappears, files become unreadable, or the PC reports a storage diagnostic error, prioritize protecting the files and obtaining manufacturer or data-recovery advice before write-heavy repairs.

If the desktop opens, preserve the useful evidence

Back up files to a separate location while Windows is usable. Record the PC model, Windows version shown by winver, the stop code, any displayed module name and the approximate crash times. Add the last driver, app, Windows update or hardware change. A module name is an investigative lead, not an automatic instruction to delete that file.

Press Windows + R, enter eventvwr.msc and open Windows Logs > System. Look around the crash time, including the entries immediately before it, and save relevant event details. Microsoft's 0xEF guidance specifically recommends checking that log. An unexpected-shutdown entry records a symptom; don't treat its presence as a complete diagnosis.

If Windows generated small memory dumps, keep copies from %SystemRoot%\Minidump before using cleanup tools. Microsoft's small-dump documentation describes this location and the information a small dump can contain. The folder may be empty or absent, depending on the configuration and whether Windows could write the dump. That doesn't disprove the crash.

Keep more than one crash file when available. Comparing failures can reveal a recurring pattern that a single dump misses; small dumps also have limits. Dumps may contain private information, so use a trusted support provider's private upload route instead of posting them publicly.

Follow the change that preceded the crashes

Microsoft's consumer stop-code guidance covers recent hardware, Safe Mode, device warnings, available storage and updates. Use those checks according to what changed on this PC.

If a newly connected external device preceded the problem, shut Windows down and disconnect that device before testing again. Don't remove the system drive or open a laptop merely to complete this check. For newly installed internal hardware, use the manufacturer's instructions or a qualified technician.

For a driver change, open Device Manager, identify the affected device and record its Properties > Driver provider, date and version. If the crashes began directly after that update, try Roll Back Driver when available; administrator permissions are required. Follow Microsoft's rollback and driver-update instructions. If you need a replacement, obtain the compatible package from Windows Update or the PC/device manufacturer's official site.

A warning icon in Device Manager deserves investigation, but don't uninstall every warning-marked device or replace storage-controller drivers at random. On a managed PC, ask IT to handle driver and security-software changes. If a new app or service matches the start of the problem, check its vendor's known issues and removal instructions; don't disable security protections as a general crash remedy.

Check Settings > System > Storage if the system drive is nearly full. Move or remove files you recognize after preserving the crash evidence. Free space is necessary for normal Windows operations, but the code doesn't establish a fixed amount that will cure this crash.

Save work and test the activity or startup that failed after one targeted change. If the crash returns, record that result rather than changing several more components at once.

Repair system files when Windows stays running

If there is no clear driver or hardware lead, a system-file check is reasonable while the installed Windows session remains usable. Back up first. Complete appropriate pending Windows updates and restart if Windows can do so reliably; if an update itself fails, use the Windows 11 update guide to investigate that failure.

Open Command Prompt with Run as administrator and approve the prompt. Microsoft's System File Checker procedure runs DISM first:

DISM.exe /Online /Cleanup-image /Restorehealth

Wait for the operation to complete successfully, then run:

sfc /scannow

Let verification finish and save the exact result. If DISM fails, preserve its error instead of assuming the repair succeeded. Microsoft's Windows-image repair guidance explains repair sources; don't paste an arbitrary source path or repeat the command indefinitely.

These commands target system-file and component-store problems. A successful repair doesn't prove that the original crash had that cause. Restart with work saved and check the original failure pattern. Don't run this /Online recipe from Windows Recovery Environment and expect it to select the installed Windows automatically; offline servicing requires identifying the correct installation and repair source.

If Windows won't start, enter recovery once

Have the BitLocker recovery key available before using recovery tools. Match the displayed key ID if asked. Microsoft can't recreate a lost key; an organization may hold the key for its managed device.

From a responsive sign-in screen, hold Shift while choosing Power > Restart. If Automatic Repair already appears, open its advanced options. When neither route is available, Microsoft's bounded recovery-entry procedure interrupts normal startup at the logo twice, then allows the third startup to reach Automatic Repair. Forced shutdowns can lose unsaved work; don't interrupt an active firmware update or installation, and stop repeating power cuts if recovery doesn't appear.

If necessary, use the PC manufacturer's documented recovery route or official Windows installation media that matches the PC's architecture, then choose Repair my PC (called Repair your computer in older layouts). Creating installation media erases the selected USB drive. Don't select installation, delete partitions or format the Windows drive merely to reach repair tools.

In WinRE, choose Troubleshoot > Advanced options. The options available can vary by device.

Windows recovery Advanced options with Startup Repair, Startup Settings and System Restore.
Choose the tool that matches the failure and recent change. Enlarge the recovery options.

Use Safe Mode or a recovery tool for a specific reason

Have your account password ready: Microsoft's sign-in guidance states that PIN and biometric sign-in aren't available in Safe Mode. If you only know the PIN, follow the appropriate Microsoft-account or local-account password-recovery route from that guidance before relying on this boot. For a diagnostic startup, select Startup Settings > Restart, then press 4 or F4 for Safe Mode. Use 5 or F5 only when networking is needed.

Startup Settings choices 4 for Safe Mode and 5 for Safe Mode with Networking.
Press 4 or F4 for the basic diagnostic boot. Enlarge these choices.

If Safe Mode works, back up files and investigate a recent driver, app or service. It uses a limited set of files and drivers, so a working session helps narrow the investigation without proving that all hardware is healthy. Restart normally after a targeted change. Use this one-time Startup Settings route rather than setting persistent Safe boot when you don't know whether Safe Mode will work.

If Windows can't start, Startup Repair can address certain startup problems; it isn't a guaranteed repair for every 0xEF crash. Removing a security update also removes its protection; Microsoft's update-removal guidance says to assess that risk before uninstalling. If a particular Windows update immediately preceded the failure, consider Advanced options > Uninstall Updates and select the update category that matches the change. Don't remove an unrelated update just because the tool is available. After recovery, check the removed update's known issues and applicable replacement.

If an existing restore point predates a recent app, driver or settings change, choose Advanced options > System Restore. System Restore preserves personal files but can undo affected apps, drivers and settings. Review the selected point and affected programs before continuing. Don't confuse it with Point-in-time restore, available on supported newer configurations: that option can also roll back personal-file changes.

If the same stop code keeps returning

Move from generic repairs to analysis of the saved evidence. Microsoft's 0xEF documentation recommends comparing crash dumps, examining a user-mode dump first when one exists, checking preceding System-log errors and running diagnostics supplied by the system manufacturer. Use the instructions for your exact PC model; firmware updates and diagnostic startup keys aren't universal.

A Microsoft-hosted 0xEF report describes a user unable to reach the desktop after several recovery attempts. Its advisor suggests further hardware and recovery checks, but the thread provides no confirmed successful remedy. Failed software repairs alone don't identify a component that must be replaced.

Provide support with the crash times, repeated codes, recent changes, driver versions, available dumps, repair results and any manufacturer diagnostic error. Avoid blind disk-repair commands, partition resizing or registry changes based only on this stop code. Recovery drive letters can also differ from those in a normal Windows session.

Before a reset or reinstall, secure the backup and review what the recovery options remove. Keep my files removes apps and settings; Remove everything or a clean installation can erase personal files. Use the startup and recovery hub to choose a guide by the stage where Windows stops. Success here means normal startup and the previously failing activity working without another crash, not merely a repair tool reporting completion.