Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Stop code 0xC000021A WINLOGON_FATAL_ERROR: Winlogon or CSRSS ended

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Bug check 0xC000021A (WINLOGON_FATAL_ERROR) means the Winlogon process terminated unexpectedly. Microsoft states this occurs when a user-mode subsystem such as WinLogon or the Client Server Run-Time Subsystem (CSRSS) has been fatally compromised and security can no longer be guaranteed. Windows cannot run without WinLogon or CSRSS, so the system stops. Azure documentation also labels the on-screen code 0xC000021a as STATUS_SYSTEM_PROCESS_TERMINATED.

What the symptom means

Microsoft’s parameters:

Parameter Description
1 A string that identifies the problem
2 The error code
3 Reserved
4 Reserved

Typical causes Microsoft lists: third-party applications or drivers after a recent install; mismatched system files after a backup restore that skipped in-use system files; failed service pack or KB installs (Azure article).

Prove the cause before changing anything

These steps only read when Windows or Safe Mode will start.

1. Photograph the blue screen including 0xC000021A and any file name shown.

2. In Event Viewer → Windows Logs → System, find critical errors in the same time window as the stop. Write down, in a note you keep with the change record (for example stop-c000021a-events.txt): the Event IDs, source names, and today’s date.

3. List recently installed applications (Control Panel → Uninstall or change a program, sort by install date) without removing them yet.

Fix

Remove or disable the recent third-party software

Microsoft’s first resolution for a user-mode culprit: if the error began after a new or updated device driver, system service, or third-party application, remove or disable that software.

Write down, in a note you keep with the change record (for example stop-c000021a-app-before.txt): the exact application or driver name, version, and today’s date.

Risk: the next step uninstalls or disables software. You lose that product’s function until you reinstall the version you recorded.

Uninstall or disable only the item named in your note, using Apps & features or the vendor’s removal tool, then reboot.

To undo it: reinstall the same product at the version recorded in stop-c000021a-app-before.txt from the installer you retained.

Run System File Checker

Microsoft lists System File Checker as an option for missing or corrupted system files. This procedure applies when you can sign in to Windows and open an elevated Command Prompt.

Write down, in a note you keep with the change record (for example stop-c000021a-sfc-before.txt): that a disk image of the OS volume was taken before SFC, the image location, the time, and today’s date. Do not continue without that image on production hosts.

Disruptive step: SFC may repair missing or corrupted system files in place. Individual replaced files cannot be undone one-by-one from this procedure; the page gives no per-file undo. Rely on the disk image named in your note if the machine is worse afterward.

SFC /scannow

Allow it to finish, then restart.

To undo it: restore the OS volume from the image recorded in stop-c000021a-sfc-before.txt if the host will not boot cleanly after the scan.

Safe Mode isolation — description

Microsoft describes entering Safe Mode via Settings → Recovery → Advanced startup → Troubleshoot → Advanced Options → Startup Settings, then options 4, 5, or 6, to isolate elements for troubleshooting when normal mode stops immediately.

Confirm the fix

  1. Several clean reboots without 0xC000021A.
  2. No matching critical System log burst at the old crash time.
  3. Remaining third-party tools are updated or left uninstalled by policy.

What to watch afterwards

  • Microsoft’s page: mismatched system files can follow a backup restore that skipped in-use system files; check for an updated backup/restore program.
  • Azure’s Stop-error article lists restore from backup, then dump collection on a recovery VM, among its causes and steps.
  • Critical process deaths with other stop names belong under their own bug-check articles.

Risks and limits

These steps have not been lab-tested.

Microsoft notes that a kernel debugger may not help because the failure is in user mode. The bug-check page also links Troubleshoot blue screen errors for customers.

Sources