Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A)
Windows Server 2019 / 2022, Windows 11 Pro, Remote Desktop (RDP), Active Directory
Security Event Log floods with Event ID 4625 (Logon Type 10 or 3) showing Status 0xC000006D and Sub Status 0xC000006A or 0xC0000234.
What it means (root cause)
Sub Status 0xC000006A indicates a bad password (often cached Credential Manager entries or brute-force RDP probes); 0xC0000234 indicates the account is locked out; 0xC000015B indicates missing "Allow log on through Remote Desktop Services" user right.
The symptom developers actually see: Security Event Log floods with Event ID 4625 (Logon Type 10 or 3) showing Status 0xC000006D and Sub Status 0xC000006A or 0xC0000234.
Step-by-step fix
Concrete, ordered steps from the dataset. Apply them in order; each line is a verified action, not generic advice.
- 1Query recent 4625 events with PowerShell to extract SubStatus and Source IP: Get-WinEvent -FilterHashtable @{LogName="Security";ID=4625} -MaxEvents 20 | Select-Object TimeCreated, @{n="TargetUser";e={$_.Properties[5].Value}}, @{n="SubStatus";e={"0x{0:X}" -f $_.Properties[9].Value}}, @{n="SourceIP";e={$_.Properties[19].Value}}
- 2Clear stale cached RDP credentials on client machines: cmdkey /list && cmdkey /delete:TERMSRV/<hostname>
- 3If SubStatus is 0xC000015B, add the user/group to Remote Desktop Users or GPO "Allow log on through Remote Desktop Services".
- 4Restrict TCP 3389 to VPN/Bastion IPs in Windows Defender Firewall to stop external 4625 brute-force noise.
Where this error appears
Languages, frameworks, and runtimes where this error is observed (from the 2026 DevFixPro error dataset, retrieved 2026-08-29):
Essential Windows Security Log triage for sysadmins, SOC analysts, and RDP bastion hosts.
How to prevent it & common questions
Practical prevention plus the questions developers ask most about this error.
What does "Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A)" mean?
Sub Status 0xC000006A indicates a bad password (often cached Credential Manager entries or brute-force RDP probes); 0xC0000234 indicates the account is locked out; 0xC000015B indicates missing "Allow log on through Remote Desktop Services" user right.
Which environments are affected by Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A)?
Windows Server 2019 / 2022, Windows 11 Pro, Remote Desktop (RDP), Active Directory
How do I fix Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A)?
Query recent 4625 events with PowerShell to extract SubStatus and Source IP: Get-WinEvent -FilterHashtable @{LogName="Security";ID=4625} -MaxEvents 20 | Select-Object TimeCreated, @{n="TargetUser";e={$_.Properties[5].Value}}, @{n="SubStatus";e={"0x{0:X}" -f $_.Properties[9].Value}}, @{n="SourceIP";e={$_.Properties[19].Value}} Clear stale cached RDP credentials on client machines: cmdkey /list && cmdkey /delete:TERMSRV/<hostname> If SubStatus is 0xC000015B, add the user/group to Remote Desktop Users or GPO "Allow log on through Remote Desktop Services". Restrict TCP 3389 to VPN/Bastion IPs in Windows Defender Firewall to stop external 4625 brute-force noise.
How do I prevent Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A)?
Enforce Network Level Authentication (NLA), disable public TCP 3389 exposure, and monitor SubStatus 0xC0000234 lockouts.
Related DevFixPro tools
No dedicated DevFixPro tool maps to this error yet. Browse the full client-side toolkit instead: all developer tools →
Sources & attribution
- Error records aggregated from Google Search Console query gaps (2026-05-21~2026-08-18) for devfixpro.com, plus official framework docs (MDN, Node.js docs, Python docs, Go.dev, Rust book, Oracle Java docs, Docker docs, npm docs). Source dataset retrieved 2026-08-29. License: CC BY 4.0 — attribute DevFixPro (devfixpro.com).
- Official reference: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4625
- All cause, environment, fix and prevention text on this page is taken verbatim from the DevFixPro 2026 error dataset. DevFixPro does not invent root causes or fixes.
How this Windows Event ID 4625: An account failed to log on (RDP Status 0xC000006D / 0xC000006A) page is built
Each error page is generated from a single record in the DevFixPro 2026 error dataset. The meaning, root cause, environments, fix steps, prevention, and official references are copied verbatim from that dataset and its official-doc sources; related-error links are computed from the error's category and explicit peer list. No root cause or fix is invented. The retrieval date for this dataset is 2026-08-29.