How to Fix STATUS_SYSTEM_PROCESS_TERMINATED (0xc000021a) in Windows 11

Powering on your computer only to be interrupted by a Blue Screen of Death (BSOD) displaying the stop code STATUS_SYSTEM_PROCESS_TERMINATED (bugcheck 0xc000021a) is a critical startup failure that locks you out of the Windows 11 desktop. Unlike standard blue screen errors caused by third-party graphics or peripheral drivers, error 0xc000021a occurs in user mode when an essential subsystem process—specifically the Windows Logon Process (winlogon.exe) or the Client/Server Runtime Subsystem (csrss.exe)—terminates unexpectedly or returns a fatal status code. Because Windows security and session isolation cannot function without these two core processes running in the background, the kernel halts the operating system immediately to maintain system integrity. This comprehensive troubleshooting guide explains the architecture behind bugcheck 0xc000021a and walks you through actionable recovery methods using the Windows Recovery Environment (WinRE).

What Causes Error 0xc000021a in Windows 11?

Error 0xc000021a indicates that winlogon.exe or csrss.exe failed. Common causes include:

  • Mismatched or Corrupted System Binaries: A failed Windows Update or interrupted system upgrade leaving mismatched dynamic link libraries (such as ntdll.dll or gdi32.dll) in C:\Windows\System32.
  • Damaged User Account Security Hive: Registry corruption within the SAM (Security Accounts Manager) or SYSTEM hive preventing winlogon.exe from initialising.
  • Third-Party System File Modifiers: Antivirus suites, legacy theme patchers, or third-party login screen customizers replacing core system DLLs with unsigned binaries.
  • Driver Signature Enforcement Violations: Unsigned or corrupted low-level filter drivers failing security validation during early boot phase.
  • Pending Servicing Transactions: Incomplete Component-Based Servicing (CBS) packages stuck in an unresolvable rollback loop.

Method 1: Boot into Windows Recovery Environment (WinRE)

Because error 0xc000021a prevents Windows from reaching the login screen, all recovery procedures begin in WinRE.

  1. Turn on your PC. As soon as the manufacturer logo appears, press and hold the physical power button for 5 seconds to force a shutdown.
  2. Repeat this force-shutdown cycle twice. On the third attempt, allow the PC to boot normally.
  3. Windows will detect consecutive boot failures and display the Preparing Automatic Repair screen.
  4. When the Automatic Repair window appears, click Advanced options.
  5. Click Troubleshoot > Advanced options > Command Prompt.

Method 2: Run Offline SFC and DISM Repairs via WinRE

Running System File Checker offline verifies that winlogon.exe, csrss.exe, and their dependent libraries match authentic Microsoft signatures.

  1. In the WinRE Command Prompt, determine your actual Windows installation drive letter (in recovery mode, drive letters often shift, meaning Windows may be on D: instead of C:):
    dir C:\Windows
    dir D:\Windows
  2. Assuming your Windows directory is located on D::
  3. Execute an offline System File Checker scan specifying the boot and windows directories:
    sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
  4. Allow the scan to reach 100%. If SFC repairs damaged binaries, type exit and restart your computer.
  5. If SFC reports errors it cannot fix, run offline DISM cleanup:
    dism /image:D:\ /cleanup-image /revertpendingactions
    This crucial command clears stuck, half-installed Windows update packages that cause 0xc000021a crashes.

Method 3: Disable Driver Signature Enforcement Temporarily

If an unsigned or corrupted driver is halting the Windows subsystem, disabling signature checks allows you to boot into the desktop and update the driver.

  1. In WinRE, navigate to Troubleshoot > Advanced options > Startup Settings.
  2. Click the Restart button.
  3. Upon reboot, the Startup Settings menu will appear.
  4. Press 7 or F7 on your keyboard to select Disable driver signature enforcement.
  5. If Windows boots successfully into your desktop, an incompatible driver is the cause. Open Device Manager, check for hardware displaying warning symbols, and update or roll back recent drivers.

Method 4: Rebuild the Boot Configuration Data (BCD)

Damaged bootloader parameters can launch the kernel with corrupted security policy flags.

  1. Open Command Prompt in WinRE.
  2. Run the following boot recovery commands sequentially:
    bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
  3. If bootrec /rebuildbcd identifies a Windows installation, press Y to add it to the boot list.
  4. Close the Command Prompt and restart.

Method 5: Perform a System Restore to a Known Good State

Restoring your system registry and drivers to an earlier snapshot undoes corrupted system updates without deleting personal files.

  1. In WinRE, select Troubleshoot > Advanced options > System Restore.
  2. Select your Windows administrative account and enter your password.
  3. Click Next on the System Restore wizard.
  4. Check the box for Show more restore points.
  5. Select a restore point created before the 0xc000021a blue screen started occurring (e.g. before the last Windows update).
  6. Click Next and Finish to commence the restore process.
  7. Once complete, Windows 11 will reboot cleanly into your normal desktop environment.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.