sodcalculator

10 Tech How-To

Fix BSOD Error 0xc000021a in Windows 10

Guide 10-22343 · Updated · Step by step

BSOD error 0xc000021a (STATUS_SYSTEM_PROCESS_TERMINATED) crashes Windows 10 when a critical system process fails, often during startup or after an update. The fix usually involves repairing system files, rolling back recent changes, or restoring the registry, and this guide walks through the most effective solutions in order of safety.

What Causes Error 0xc000021a

This stop code appears when a required user-mode process, such as winlogon.exe or csrss.exe, terminates unexpectedly. Windows treats this as a fatal security failure because these processes handle logon and the graphical subsystem. Common triggers include:

  • Corrupted system files or registry hives after a failed update or driver installation.
  • Third-party security software that conflicts with Windows system processes.
  • Malware that modifies critical system executables.
  • Disk errors or failing storage hardware.
  • Recently installed drivers, especially graphics or storage drivers.

Before You Start: Backup and Safety

Some fixes involve editing the registry or removing files, which carries a small risk of making the problem worse. If you can access your files, back up important data to an external drive first. If Windows won’t boot normally, you can still use Safe Mode or the Windows Recovery Environment (WinRE) to attempt fixes. Note that if the error occurs during boot, you may need to interrupt the startup process three times (by holding the power button) to trigger automatic repair.

Fix 1: Boot into Safe Mode

Safe Mode loads only essential drivers and services, which can bypass the problematic process. To enter Safe Mode from the login screen:

  1. Restart your PC and press Shift while clicking Power > Restart.
  2. Choose Troubleshoot > Advanced options > Startup Settings > Restart.
  3. Press 4 or F4 to boot into Safe Mode.

If you can’t reach the login screen, use a Windows 10 installation USB drive, select Repair your computer, and then navigate to Troubleshoot > Advanced options > Startup Settings. Once in Safe Mode, try the next fixes.

Fix 2: Run System File Checker and DISM

Corrupted system files are a leading cause. Open Command Prompt as administrator (right-click Start, select Command Prompt (Admin) or Windows PowerShell (Admin)) and run:

  1. sfc /scannow – scans and repairs protected system files.
  2. If that doesn’t help, run DISM /Online /Cleanup-Image /RestoreHealth – this repairs the Windows image itself.

Both commands may take several minutes. After they complete, restart and check if the error reappears. If you cannot boot into Safe Mode, you can run these tools from the recovery environment by selecting Command Prompt from Advanced options.

Fix 3: Uninstall Recent Updates or Drivers

If the error started after a Windows Update or new driver, rolling back often resolves it. In Safe Mode:

  1. Go to Settings > Update & Security > Windows Update > View update history > Uninstall updates.
  2. Remove the most recent quality update (KBxxxxxxx) or feature update.
  3. For drivers, open Device Manager, right-click the device (e.g., graphics card), select Properties > Driver > Roll Back Driver if available.

If you can’t boot to Safe Mode, use the recovery environment and choose Advanced options > Uninstall Updates.

Fix 4: Restore the Registry from Backup

Error 0xc000021a frequently involves a corrupted registry hive, particularly the SYSTEM or SOFTWARE hive. Windows keeps automatic backups in C:\Windows\System32\config\RegBack. To restore them:

  1. Boot to the recovery environment and open Command Prompt.
  2. Navigate to C:\Windows\System32\config.
  3. Rename the current hives (e.g., ren SYSTEM SYSTEM.bad) and copy the backups from RegBack into the config folder.

This is advanced; only attempt if you are comfortable with command-line file operations. Alternatively, use System Restore (if available) from Advanced options – it restores registry and system files to a previous point.

Fix 5: Perform a Startup Repair

Startup Repair can fix boot configuration issues that may trigger the error. From the recovery environment, choose Troubleshoot > Advanced options &gt> Startup Repair. It will scan and attempt to fix boot problems. If it fails, you can try bootrec /rebuildbcd from Command Prompt, but this is less likely to help with a system process error.

Fix 6: Reset This PC (Last Resort)

If no other fix works, resetting Windows 10 while keeping your personal files may resolve the issue. From the recovery environment, select Troubleshoot > Reset this PC > Keep my files. This reinstalls Windows but preserves your documents and photos, though it removes installed applications and drivers. If even this fails, you may need to perform a clean install from a USB drive.

Frequently Asked Questions

Can error 0xc000021a be caused by malware?

Yes, malware that replaces or corrupts system executables like winlogon.exe can trigger this error. Running a full offline antivirus scan from a bootable USB is recommended if you suspect infection.

Will I lose my files if I reset Windows?

Using Reset this PC > Keep my files preserves personal files in your user folders, but it removes installed programs and drivers. A clean install formats the drive and erases everything, so back up first.

Why does the error appear during Windows Update?

Updates can replace system files or drivers that conflict with existing software. If the update fails to apply correctly, it can corrupt the registry or system processes, triggering the stop code.

Is there a way to prevent this error in the future?

Keep Windows updated, avoid force-shutting down during updates, use reputable antivirus software, and regularly create restore points. Also, ensure your disk has enough free space and check its health with tools like chkdsk.

What does STATUS_SYSTEM_PROCESS_TERMINATED mean?

It means a critical user-mode process (like csrss.exe or winlogon.exe) crashed. Windows halts the system because these processes are essential for security and user interaction.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →