High
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error 0xc000021a in Windows 11
Bug Check 0xC000021A: WINLOGON_FATAL_ERROR — The Winlogon process terminated unexpectedly.
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | 0xc000021a |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | High |
| Estimated Time | 90 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 Boot into Safe Mode: Restart your PC and press F8 (or Shift + F8) before Windows loads. If Safe Mode works, you can try to uninstall recently installed software or drivers. Press Windows key + X, select 'Device Manager', and check for devices with yellow exclamation marks. Right-click and choose 'Uninstall device'. Also, go to Settings > Apps and uninstall any recently installed programs.
- 2 If Safe Mode doesn't work, use Windows Recovery Environment (WinRE) to run Startup Repair. Boot from installation media, click 'Repair your computer', then 'Troubleshoot' > 'Advanced options' > 'Startup Repair'. This can fix corrupted system files that cause Winlogon to fail.
- 3 Open Command Prompt from WinRE and run 'sfc /scannow' and 'DISM /Online /Cleanup-Image /RestoreHealth' to repair system files. These commands replace corrupted files with healthy ones.
- 4 Check for malware: From WinRE Command Prompt, run 'cd C:\Windows\System32' and then 'ren winlogon.exe winlogon.exe.old' to temporarily rename the file. Then copy a backup from the Windows installation media: 'copy D:\Windows\System32\winlogon.exe C:\Windows\System32\winlogon.exe' (replace D: with your installation media drive). This replaces the corrupted file.
- 5 If the issue persists, perform a system restore: From WinRE, go to 'Troubleshoot' > 'Advanced options' > 'System Restore' and choose a restore point before the error started.
- 6 As a last resort, reset Windows: 'Troubleshoot' > 'Reset this PC' and choose 'Keep my files' or 'Remove everything'.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free