Windows Error Code 0xc000021a (STATUS_SYSTEM_PROCESS_TERMINATED): Causes, Troubleshooting and Complete Fix Guide for Windows 10/11
Windows error 0xc000021a, also known as STATUS_SYSTEM_PROCESS_TERMINATED, is a serious Windows stop error or Blue Screen of Death (BSOD). It normally appears...
Windows error 0xc000021a, also known as STATUS_SYSTEM_PROCESS_TERMINATED, is a serious Windows stop error or Blue Screen of Death (BSOD).
It normally appears when Windows detects that a critical user-mode system process has unexpectedly terminated or has become corrupted. Because Windows cannot safely continue operating without these critical components, it stops the operating system and displays the blue-screen error.
A typical message may look similar to:
Your device ran into a problem and needs to restart.
Stop code: 0xc000021a
The computer may then restart automatically and, in severe cases, repeatedly return to the same blue screen.
The error can affect Windows 10 and Windows 11 and may appear immediately after installing Windows updates, drivers, security software, system utilities, or after system-file or disk corruption.
What Does 0xc000021a Mean?
The hexadecimal code:
0xC000021A
corresponds to:
STATUS_SYSTEM_PROCESS_TERMINATED
Windows has detected that a process essential to the operating system has terminated unexpectedly.
Two particularly important Windows processes associated with this type of failure are:
Winlogon.exe
Windows Logon Application handles important sign-in and sign-out operations and parts of the Windows user-session process.
CSRSS.exe
The Client Server Runtime Process (CSRSS) performs essential Windows subsystem functions.
If Windows determines that a critical process required for system integrity can no longer operate correctly, continuing the Windows session may be unsafe or impossible. Windows therefore deliberately stops.
Common Symptoms of Error 0xc000021a
A computer experiencing this problem may show one or more of the following symptoms:
- Blue screen during Windows startup
- Stop Code 0xc000021a
- STATUS_SYSTEM_PROCESS_TERMINATED
- Computer continuously restarts
- Windows never reaches the login screen
- Windows enters Automatic Repair repeatedly
- "Preparing Automatic Repair" appears every time the PC starts
- Startup Repair fails
- Safe Mode does not start
- Problem begins immediately after Windows Update
- Problem starts after installing a driver
- Computer worked correctly before an unexpected shutdown
- System Restore may or may not work
- Windows boots only into Recovery Environment
What Causes Windows Error 0xc000021a?
There is no single cause. The error indicates the failure of a critical Windows process rather than identifying exactly what originally caused that process to fail.
Common causes include the following.
1. Corrupted Windows System Files
Critical Windows files may become damaged because of:
- Sudden power failure
- Forced shutdown
- Storage errors
- Malware
- Failed Windows update
- Incomplete installation
- Disk corruption
- Incorrect system modification
Windows may no longer be able to load the components necessary for startup.
2. Failed or Incomplete Windows Update
A Windows update can occasionally fail while replacing system components.
The computer may restart while some files are from the previous Windows version and others are from the newer update state.
This inconsistency can prevent critical Windows processes from loading.
3. Problematic Device Driver
A newly installed or updated driver can interfere with Windows startup.
Common candidates include:
- Graphics drivers
- Storage/controller drivers
- Chipset drivers
- Security-related drivers
- VPN drivers
- Encryption software
- Hardware-management utilities
- Third-party system utilities
If the error started immediately after installing or updating a driver, the driver should be considered a possible cause.
4. Third-Party Security Software
Some antivirus, endpoint-security, encryption and system-protection applications install low-level drivers and services.
A damaged or incompatible component can potentially prevent Windows from starting correctly.
5. Disk or File-System Corruption
Problems with an SSD/HDD or its file system can damage Windows files.
Disk corruption should be suspected especially when the computer also experiences:
- File corruption
- Very slow boot
- Unexpected freezes
- Disk errors
- Missing files
- Repeated Windows repair problems
6. Damaged Windows Registry or System Configuration
Critical registry corruption can prevent Windows services, drivers or system processes from loading correctly.
Before Starting: Protect Important Data
If important business or personal data is stored on the computer, consider backing it up before performing destructive recovery operations.
Be particularly careful before using:
- Reset this PC
- Disk formatting
- Partition deletion
- Clean Windows installation
The repair methods below should generally be attempted from least destructive to most destructive.
Solution 1: Disconnect Recently Added Hardware
Before performing complicated repairs, disconnect unnecessary devices.
Shut down the computer and disconnect items such as:
- External hard drives
- USB flash drives
- Printers
- USB Wi-Fi adapters
- Docking stations
- Card readers
- External webcams
- Nonessential USB devices
Leave only the keyboard, mouse and display if required.
Restart the PC.
If Windows starts successfully, reconnect the devices individually to identify the problematic hardware or driver.
Solution 2: Enter Windows Recovery Environment (WinRE)
Most repairs for 0xc000021a need to be performed through Windows Recovery Environment (WinRE) because Windows may not boot normally.
Windows may automatically enter WinRE after repeated failed startup attempts.
The menu normally provides:
Troubleshoot → Advanced options
From here you may find options including:
- Startup Repair
- Startup Settings
- Command Prompt
- Uninstall Updates
- System Restore
- UEFI Firmware Settings
If Windows Recovery Environment is unavailable, boot the computer using compatible Windows installation media and select:
Repair your computer
instead of Install Windows.
Solution 3: Run Startup Repair
This is one of the safest repairs to try first.
Open:
Troubleshoot → Advanced options → Startup Repair
Select the Windows installation/account if requested and allow Windows to perform diagnostics.
Startup Repair attempts to detect and repair various startup-related problems automatically.
After completion, restart the computer.
If Windows still reports 0xc000021a, continue with the next method.
Solution 4: Try Safe Mode
Open:
Troubleshoot → Advanced options → Startup Settings → Restart
After restarting, choose:
4 – Enable Safe Mode
or:
5 – Enable Safe Mode with Networking
If Windows successfully starts in Safe Mode, this is useful evidence that a recently installed third-party driver, service or application may be involved.
Remove recently installed:
- Drivers
- Antivirus/security products
- System utilities
- Hardware utilities
- VPN software
- Windows customization utilities
Then restart Windows normally.
Solution 5: Uninstall the Latest Windows Update
If 0xc000021a started immediately after Windows Update, rolling back the recent update is an important troubleshooting step.
Go to:
Troubleshoot → Advanced options → Uninstall Updates
Depending on your Windows version, options may include:
Uninstall latest quality update
and/or
Uninstall latest feature update
Start with the most recent update corresponding with when the problem began.
Restart Windows after the uninstall operation.
Solution 6: Use System Restore
If System Restore was enabled before the problem occurred, restoring Windows to an earlier configuration can resolve failures caused by:
- Drivers
- Updates
- Registry changes
- Applications
- System configuration changes
Open:
Troubleshoot → Advanced options → System Restore
Choose a restore point created before error 0xc000021a first appeared.
System Restore normally affects system files, drivers, installed applications and configuration rather than ordinary personal documents, but maintaining a backup is still recommended.
Solution 7: Identify the Correct Windows Drive in WinRE
This step is extremely important before running offline repair commands.
Inside Windows Recovery Environment, your normal C: drive may appear as D: or another drive letter.
Do not blindly assume that Windows is on C:.
Open:
Troubleshoot → Advanced options → Command Prompt
Microsoft documents using BCDEdit to identify the operating-system device.
Run:
bcdedit
Look under Windows Boot Loader for:
osdevice
For example:
osdevice partition=D:
You can also inspect drives manually:
dir C:\Windows
dir D:\Windows
dir E:\Windows
The correct Windows partition should contain directories such as:
- Windows
- Program Files
- Users
For the examples below, assume Windows is located on D:.
Replace D: with the actual Windows drive on your computer.
Solution 8: Check the Drive for File-System Errors
From WinRE Command Prompt, run:
chkdsk D: /f
This checks the Windows volume and repairs detected file-system errors.
For a more extensive scan you may use:
chkdsk D: /f /r
The /r operation also searches for bad sectors and can take a very long time, particularly on large or problematic drives.
If CHKDSK reports serious or recurring storage problems, investigate the physical health of the SSD/HDD rather than repeatedly repairing Windows.
Solution 9: Run Offline System File Checker (SFC)
System File Checker can inspect protected Windows system files and replace corrupted versions when possible.
Because Windows cannot boot, run SFC against the offline Windows installation.
For example, if Windows is on D:, run:
SFC /scannow /offbootdir=D:\ /offwindir=D:\Windows
Wait until the operation reaches 100%.
Possible results include:
Windows Resource Protection did not find any integrity violations
No protected system-file corruption was detected.
Windows Resource Protection found corrupt files and successfully repaired them
Restart the PC and test Windows.
Windows Resource Protection found corrupt files but was unable to fix some of them
Continue with DISM.
Microsoft specifically documents offline SFC as part of WinRE startup troubleshooting.
Solution 10: Repair the Offline Windows Image Using DISM
If SFC cannot repair Windows, the component store itself may be damaged.
From WinRE, assuming Windows is D:, try:
DISM /Image:D:\ /Cleanup-Image /RestoreHealth
Allow the operation to finish.
If DISM successfully repairs corruption, run SFC again:
SFC /scannow /offbootdir=D:\ /offwindir=D:\Windows
Microsoft's WinRE troubleshooting guidance recommends this sequence when repairing startup problems involving corrupted or missing Windows system files.
Solution 11: Revert Pending Windows Update Actions
This is particularly useful when 0xc000021a appeared during or immediately after Windows Update.
From WinRE Command Prompt, first ensure you know the correct Windows drive.
Then, for Windows on D:, run:
DISM /Image:D:\ /Cleanup-Image /RevertPendingActions
Restart the computer afterward.
This tells DISM to attempt to revert servicing actions that were pending when Windows became unable to start.
Microsoft includes reverting pending actions among WinRE procedures for Windows startup failures involving incomplete updates.
Solution 12: Check Installed/Pending Windows Packages
Advanced administrators can inspect Windows servicing packages from WinRE.
For example:
DISM /Image:D:\ /Get-Packages
Look carefully for packages whose state indicates pending installation or other servicing activity.
Removing a package manually should be treated as an advanced repair procedure because uninstalling the wrong package can make the installation more difficult to recover.
When appropriate, a specific package can be removed using:
DISM /Image:D:\ /Remove-Package /PackageName:PACKAGE_NAME
Do not copy a package name from another computer or an Internet example. Use the exact package name reported by DISM on the affected machine.
Microsoft's Windows startup troubleshooting documentation includes DISM package inspection/removal and RevertPendingActions for failures occurring after Windows updates.
Solution 13: Use Windows Installation Media When WinRE Does Not Work
If the built-in Recovery Environment is missing or inaccessible, create Windows installation media using another working computer.
Use a Windows version appropriate for the affected machine.
Boot the faulty computer from the USB drive.
At the Windows Setup screen select:
Next → Repair your computer
Do not immediately select Install Windows if your objective is to repair the existing installation.
Then open:
Troubleshoot → Advanced options
You can now attempt:
- Startup Repair
- System Restore
- Uninstall Updates
- Command Prompt
- SFC
- DISM
- CHKDSK
Microsoft documents Windows installation media as a method of accessing WinRE when the installed operating system cannot start.
Recommended Repair Sequence for 0xc000021a
For most systems, use this order:
Step 1: Disconnect unnecessary external devices.
Step 2: Enter Windows Recovery Environment.
Step 3: Run Startup Repair.
Step 4: Try Safe Mode.
Step 5: If the problem followed an update, uninstall the latest update.
Step 6: Try System Restore.
Step 7: Determine the correct Windows drive letter.
Step 8: Run CHKDSK.
Step 9: Run offline SFC.
Step 10: Run DISM if necessary.
Step 11: Run SFC again after successful DISM repair.
Step 12: Consider RevertPendingActions if the failure followed Windows Update.
Step 13: Back up important files.
Step 14: Consider Reset this PC or Windows reinstallation only after less-destructive recovery options fail.
Quick Command Reference
Assuming the Windows installation is D: inside WinRE:
Identify Windows partition
bcdedit
Check disk
chkdsk D: /f
Offline System File Checker
SFC /scannow /offbootdir=D:\ /offwindir=D:\Windows
Repair offline Windows image
DISM /Image:D:\ /Cleanup-Image /RestoreHealth
Revert pending Windows update actions
DISM /Image:D:\ /Cleanup-Image /RevertPendingActions
Display installed servicing packages
DISM /Image:D:\ /Get-Packages
Important: Never assume Windows is D:. Determine the actual Windows drive letter first.
What If SFC and DISM Both Fail?
If both utilities fail, possible causes include:
- Severe component-store corruption
- Damaged installation media/source files
- Storage failure
- File-system corruption
- Incorrect Windows drive selected
- BitLocker-protected volume not accessible
- Severely damaged Windows installation
At this stage, prioritize backing up important information before performing increasingly destructive repair operations.
Solution 14: Reset This PC
If Windows remains unusable after recovery attempts, WinRE may provide:
Troubleshoot → Reset this PC
You may be offered:
Keep my files
Reinstalls Windows while attempting to preserve personal files, although installed desktop applications and many settings are removed.
Remove everything
Removes files, applications and settings before reinstalling/resetting Windows.
Even when using Keep my files, important data should be backed up first whenever possible.
Solution 15: Perform a Clean Windows Installation
A clean installation should generally be the final option after:
- Startup Repair failed
- Update rollback failed
- System Restore failed/unavailable
- Offline SFC failed
- DISM failed
- Storage hardware has been checked
- Important files have been backed up
A clean installation can resolve software corruption but will not repair defective hardware.
If an SSD, HDD, RAM module or another hardware component is faulty, Windows may fail again after reinstallation.
Important: 0xc000021a Does Not Automatically Mean the SSD Is Bad
Seeing 0xc000021a does not by itself prove that the storage device has failed.
The stop code tells you that Windows encountered a fatal critical-process condition.
However, storage health should be investigated when you also observe:
- CHKDSK errors repeatedly returning
- SMART warnings
- SSD/HDD disappearing from BIOS
- Read/write errors
- Files becoming corrupted repeatedly
- Windows installations repeatedly becoming damaged
- Extremely slow storage performance
What If Error 0xc000021a Started After Installing a Driver?
If Safe Mode works:
- Open Device Manager.
- Locate the recently updated device.
- Open its Properties.
- Select the Driver tab.
- Use Roll Back Driver if available.
- Otherwise uninstall the recently added driver where appropriate.
- Restart Windows.
Avoid downloading random drivers from third-party driver-download websites.
Use Windows Update or the PC/component manufacturer's official support source whenever possible.
What If 0xc000021a Appears After Installing Antivirus Software?
If the problem started immediately after installing or upgrading antivirus, endpoint protection, VPN, disk-encryption or system-level security software, test whether that software is involved.
If Safe Mode is available, remove the recently installed application using its supported uninstall procedure.
Some security products provide dedicated cleanup utilities because ordinary uninstall procedures may leave drivers or services behind.
Use the software manufacturer's official removal utility where applicable.
Can 0xc000021a Be Caused by Malware?
It is possible for malware or unauthorized modification of critical system files to contribute to Windows startup failures, but 0xc000021a by itself is not proof of malware infection.
After recovering Windows:
- Update Microsoft Defender or your trusted security product.
- Perform a full system scan.
- Review recently installed applications.
- Remove unknown system utilities.
- Check Windows Update.
- Verify important system files using SFC.
Can You Fix 0xc000021a Without Formatting the Computer?
Yes, frequently.
Formatting should not be the first troubleshooting step.
Try these first:
- Startup Repair
- Safe Mode
- Uninstall Updates
- System Restore
- CHKDSK
- Offline SFC
- DISM
- RevertPendingActions
Only consider resetting or reinstalling Windows after the safer recovery methods fail.
How to Prevent Similar Windows Startup Problems
Although no method can prevent every BSOD, several practices reduce the risk.
Keep Reliable Backups
Maintain backups of important files using:
- External storage
- NAS
- Cloud backup
- Enterprise backup software
Ideally maintain more than one backup copy.
Create Restore Points Before Major Changes
Before manually installing critical drivers or system utilities, creating a restore point can provide an easier rollback path.
Use Trusted Drivers
Download drivers from:
- Windows Update
- Computer manufacturer's website
- Hardware manufacturer's official website
Avoid unknown "driver updater" utilities.
Avoid Forced Shutdowns During Updates
Never intentionally power off a computer while Windows is installing updates unless the system is clearly unrecoverably frozen and no safer option exists.
Monitor SSD/HDD Health
Storage failures can lead to system-file corruption.
If disk errors repeatedly appear, investigate the drive rather than continuously repairing Windows.
Frequently Asked Questions (FAQ)
1. What is Windows error 0xc000021a?
It is a Windows stop error indicating that a critical system process terminated unexpectedly and Windows could not safely continue.
2. What does STATUS_SYSTEM_PROCESS_TERMINATED mean?
It means a process considered essential to Windows operation has terminated, causing Windows to stop the system.
3. Is 0xc000021a a hardware error?
Not necessarily.
It is commonly associated with Windows system files, updates, drivers, applications or configuration problems. Hardware/storage failure can indirectly cause it by corrupting Windows files.
4. Can Windows Update cause 0xc000021a?
Yes. Failed or incomplete Windows servicing can be one possible cause. If the problem started immediately after an update, use WinRE's Uninstall Updates option or investigate pending servicing actions.
5. Can a driver cause error 0xc000021a?
Yes. Incompatible or damaged drivers and low-level third-party software can contribute to critical startup failures.
6. Can antivirus software cause this BSOD?
Potentially. Security products install system-level drivers and services. If the error begins immediately after installing or updating security software, investigate that change.
7. Will Startup Repair fix 0xc000021a?
Sometimes. Startup Repair automatically diagnoses various startup failures and is one of the safest first recovery options.
8. What SFC command should I use when Windows does not boot?
From WinRE, after identifying the correct Windows drive, use an offline command such as:
SFC /scannow /offbootdir=D:\ /offwindir=D:\Windows
Change D: according to the actual Windows partition.
9. Why is Windows normally C: but D: in Recovery Command Prompt?
Windows Recovery Environment can assign drive letters differently from normal Windows. Always identify the Windows partition before running offline repair commands.
10. What DISM command can repair an offline Windows installation?
For an installation located on D:, a typical command is:
DISM /Image:D:\ /Cleanup-Image /RestoreHealth
Replace D: with the correct drive.
11. What does DISM RevertPendingActions do?
It attempts to revert servicing operations that were pending against an offline Windows installation. It can be useful when Windows becomes unbootable during or after an incomplete update.
12. Will CHKDSK delete my data?
CHKDSK is designed to check and repair file-system problems, not intentionally delete personal files. However, severe file-system or physical disk corruption can result in damaged or unrecoverable data. Back up important information whenever possible.
13. Should I run CHKDSK /f or /f /r?
Start with:
chkdsk D: /f
The /r option additionally searches for bad sectors and attempts recovery of readable information, making the scan considerably longer.
14. Can I fix 0xc000021a without losing files?
Often, yes. Startup Repair, update rollback, System Restore, SFC and DISM can potentially repair Windows without formatting the drive.
Always maintain a backup because successful recovery cannot be guaranteed.
15. What if Safe Mode also shows 0xc000021a?
Use Windows Recovery Environment and perform offline repairs such as Startup Repair, System Restore, update rollback, SFC and DISM.
16. What if Windows Recovery Environment does not open?
Create Windows installation media on another computer, boot the affected PC from it and choose:
Repair your computer
This provides access to Windows recovery tools.
17. Should I use bootrec commands for every 0xc000021a error?
No.
0xc000021a is not automatically a damaged MBR/BCD error. Boot configuration repair is appropriate when evidence indicates a boot-loader or BCD problem, but it should not be treated as the universal solution to this stop code.
18. Does 0xc000021a mean Winlogon.exe is corrupted?
Not necessarily. Critical Windows user-mode processes such as Winlogon or CSRSS are associated with this class of failure, but the stop code alone does not identify which file, driver or underlying condition caused the failure.
19. Should I download replacement DLL or EXE files from the Internet?
No.
Do not replace Windows system files using random DLL/EXE download websites.
Use supported repair mechanisms such as SFC, DISM, Windows Update, System Restore or official Windows installation media.
20. When should Windows be reinstalled?
Consider reinstalling Windows when the system remains unbootable after appropriate recovery attempts and important data has been backed up.
Before reinstalling, investigate storage health if file corruption or disk errors are recurring.
Final Troubleshooting Checklist
For Windows Stop Code 0xc000021a, follow this practical order:
- Disconnect unnecessary hardware.
- Enter Windows Recovery Environment.
- Run Startup Repair.
- Attempt Safe Mode.
- Remove a recently installed problematic application or driver if identifiable.
- Uninstall the latest Windows update if the problem began after updating.
- Run System Restore.
- Identify the correct Windows partition.
- Run CHKDSK.
- Run offline SFC.
- Run offline DISM if required.
- Run SFC again after DISM repairs the image.
- Consider RevertPendingActions for an interrupted Windows update.
- Back up important data before destructive recovery.
- Use Reset this PC or clean installation only when appropriate.
The key point is that 0xc000021a is the result of a critical Windows process failure, not a precise diagnosis of the original cause. Therefore, troubleshooting should focus on what changed immediately before the error—Windows updates, drivers, security software, unexpected shutdowns, disk errors or system-file corruption—and then use Windows Recovery Environment to repair or roll back that change.
#Tags
#WindowsError #0xc000021a #STATUS_SYSTEM_PROCESS_TERMINATED #Windows11 #Windows10 #WindowsBSOD #BlueScreen #BSOD #WindowsError #WindowsRepair #WindowsRecovery #WinRE #WindowsStartup #WindowsBootError #WindowsBootLoop #AutomaticRepair #StartupRepair #WindowsTroubleshooting #WindowsSupport #WindowsUpdate #WindowsUpdateError #WindowsUpdateRepair #SystemFileChecker #SFC #DISM #DISMRepair #CHKDSK #SystemRestore #SafeMode #WindowsRecoveryEnvironment #WindowsCommandPrompt #WindowsSystemFiles #CorruptedWindows #WindowsDriver #DriverError #WindowsCrash #PCRepair #LaptopRepair #ComputerRepair #ITSupport #TechnicalSupport #WindowsTips #WindowsFix #MicrosoftWindows #WindowsInstallation #WindowsRecoveryUSB #BootRepair #WindowsSystemRepair #Windows11Repair #Windows10Repair
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.