0xC000021A — STATUS_SYSTEM_PROCESS_TERMINATED
A user-mode process that Windows cannot run without — winlogon or csrss — exited, so the kernel stops the machine deliberately.
What you see
Boot reaches the spinning dots and then bluescreens with 0xC000021A. Safe Mode usually fails the same way. Very common straight after a failed update or a badly-timed power loss.
What is actually wrong
A corrupt or mismatched system file, a third-party credential provider or security product hooking winlogon, or a half-applied update that left the servicing stack inconsistent.
Codes and articles
Fixes (3)
Clear the stuck pending update from WinRE
It started after an update. A half-applied transaction is the most common cause of this bugcheck.
Boot to WinRE and open Troubleshoot → Advanced options → Command Prompt.
Find the Windows volume — it is usually D: inside WinRE, not C:.
diskpartlist volumeexit
Look at what is pending.
DISM /Image:D:\ /Get-Packages /Format:Table | findstr /i "Install Pending"Revert the pending actions.
DISM /Image:D:\ /Cleanup-Image /RevertPendingActionsThis rolls the interrupted transaction back to the last consistent state, which is exactly what the machine failed to do on its own.
Rename the pending operations file so the servicing stack does not retry the same thing on boot.
ren D:\Windows\WinSxS\pending.xml pending.oldExit and restart. Expect the first boot to be slow.
DISM /Online /Cleanup-Image /ScanHealthDisable driver signature enforcement and remove the offending product
A security product or credential provider was installed recently.
In WinRE choose Troubleshoot → Advanced options → Startup Settings → Restart, then press 7 for Disable driver signature enforcement.
0xC000021A is frequently a third-party module that winlogon loads. This is often the only way to reach a desktop long enough to remove it.
If that boots, uninstall the security product with the vendor's removal tool.
If it does not, boot to WinRE Command Prompt and check for third-party credential providers.
reg load HKLM\OFF D:\Windows\System32\config\SOFTWAREreg query "HKLM\OFF\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers"
Note any GUID that is not a Microsoft one, then delete that key.
reg delete "HKLM\OFF\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{GUID}" /freg unload HKLM\OFF
Restart.
Repair the system files offline
After a power loss, or when nothing else fits.
From WinRE Command Prompt, identify the Windows volume as above.
Check the disk first — a filesystem error will make the repair fail confusingly.
chkdsk D: /f /rRun the offline system file check. Both paths are required and both are easy to get wrong.
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windowsoffbootdir is the drive holding the boot files, offwindir the one holding \Windows. On most machines in WinRE they are the same letter, but not always.
Repair the component store from a mounted ISO of the same build if SFC reports it could not fix everything.
DISM /Image:D:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1 /LimitAccessRestart.
Related faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.