Quick Reference · Infrastructure

Windows Enterprise Error Code Cheat Sheet: AD, WSUS, PKI & RPC

A high-density diagnostic cheat sheet for Windows Server administrators. Instant translation between Hexadecimal, Signed Decimal, and symbolic constants with verified root causes and copy-paste remediation commands.

By K Shankar R Karanth Active Directory Troubleshooting Windows Tested on: Windows Server 2025, Windows Server 2022, PowerShell 7.4
HRESULT & Win32

Base Win32 errors wrapped into 0x8007xxxx and Windows Update Agent codes under 0x8024xxxx.

NTSTATUS & Auth

Kernel and LSASS failure codes surfaced as Event ID 4625 audit substatuses (0xC000xxxx).

RFC 4120 Kerberos

KDC protocol return values (0x18 bad password, 0x25 pre-auth required) in Events 4768 and 4771.

1. Instant CLI Lookup Commands (The 5-Second Resolver)

Run these built-in diagnostic commands on any Windows machine to translate between hexadecimal, decimal, and symbolic error descriptions without third-party tools.

Task Command Line Example Output
Decode any Hex error certutil -error 0x8024401c SOAP_E_PT_HTTP_STATUS_REQUEST_TIMEOUT
Decode any Decimal error certutil -error 1722 0x6ba (1722): The RPC server is unavailable.
Look up Win32 message net helpmsg 1722 The RPC server is unavailable.
Negative Dec to Hex "{0:X8}" -f [uint32][int32]-2145107940 8024401C
Hex to Signed Dec [int32][uint32]0x8024401C -2145107940

2. Signed Negative Decimal ↔ Hex Conversion Matrix

Event Viewer, SCCM/MECM Software Center, and PowerShell CIM queries frequently log 32-bit error codes as signed negative integers. Match your log output to its canonical hex code below:

Signed Decimal Hex Code Symbolic Name Facility / Subsystem Primary Meaning
-2145107940 0x8024401C WU_E_PT_HTTP_STATUS_REQUEST_TIMEOUT Facility 0x24 (WSUS) IIS WsusPool request timed out during client scan.
-2145107934 0x80244022 WU_E_PT_HTTP_STATUS_SERVICE_UNAVAIL Facility 0x24 (WSUS) HTTP 503 — WsusPool stopped (memory exhaustion).
-2145107937 0x8024401F WU_E_PT_HTTP_STATUS_SERVER_ERROR Facility 0x24 (WSUS) HTTP 500 — ASP.NET or database pipeline failure.
-2145103860 0x8024500C WU_E_REDIRECTOR_UNEXPECTED Facility 0x24 (WUA) Dual-Scan policy clash blocking on-prem WSUS.
-2146762487 0x800B0109 CERT_E_UNTRUSTEDROOT Facility 0x0B (Certificates) CA certificate missing from Trusted Root store.
-2146877439 0x80094001 CERTSRV_E_ENROLLMENT_DENIED Facility 0x09 (AD CS) Security ACL denies Enroll permission on template.
-2146885613 0x80092013 CRYPT_E_REVOCATION_OFFLINE Facility 0x09 (CryptoAPI) CRL Distribution Point (CDP) offline or unreachable.
-2146893018 0x80090326 SEC_E_ILLEGAL_MESSAGE Facility 0x09 (Schannel) TLS handshake failure / protocol or cipher mismatch.
-2147024891 0x80070005 ERROR_ACCESS_DENIED (Win32 5) Facility 0x07 (Win32) NTFS permission or administrative privilege denied.
-2147024843 0x80070035 ERROR_BAD_NETPATH (Win32 53) Facility 0x07 (Win32) SMB port 445 blocked or host unreachable.
-2147023170 0x800706BA RPC_S_SERVER_UNAVAILABLE (1722) Facility 0x07 (RPC) Port 135 or dynamic high RPC range blocked.
-2147023143 0x800706D9 EPT_S_NOT_REGISTERED (1753) Facility 0x07 (RPC) RPC Endpoint Mapper has no interface registered.
-1073741805 0xC000006A STATUS_WRONG_PASSWORD NTSTATUS (Security) Event 4625: Valid user, wrong password supplied.
-1073741810 0xC0000064 STATUS_NO_SUCH_USER NTSTATUS (Security) Event 4625: Non-existent username (user enumeration).
-1073741260 0xC0000234 STATUS_ACCOUNT_LOCKED_OUT NTSTATUS (Security) Event 4625: Account locked by lockout policy.
-1073741517 0xC0000133 STATUS_TIME_DIFFERENCE_AT_DC NTSTATUS (Kerberos) Clock skew between client and DC exceeds 5 minutes.

3. WSUS & Windows Update Agent (WUA) Error Cheat Sheet

Windows Update client failures fall under Facility 0x24 (0x8024xxxx). Use the table below for quick diagnostics, followed by the copy-paste remediation commands.

Hex / Dec Symbolic Constant Root Cause Quick Remediation
0x8024401C
-2145107940
WU_E_PT_HTTP_STATUS_REQUEST_TIMEOUT IIS WsusPool execution timeout during scan due to unindexed updates or supersedence bloat. Increase WsusPool Queue Length to 25000 and run database reindex on SUSDB.
0x80244022
-2145107934
WU_E_PT_HTTP_STATUS_SERVICE_UNAVAIL HTTP 503. The IIS WsusPool crashed or stopped due to exceeding Private Memory Limit. Set WsusPool Private Memory Limit to 0 (unlimited) and restart IIS application pool.
0x8024401F
-2145107937
WU_E_PT_HTTP_STATUS_SERVER_ERROR HTTP 500. ASP.NET pipeline error or connection failure to SQL Server / Windows Internal Database. Verify WID service is running: Get-Service MSSQL$MICROSOFT##WID and check event logs.
0x8024500C
-2145103860
WU_E_REDIRECTOR_UNEXPECTED Dual-Scan clash. Windows Update for Business policies overriding local WSUS configuration. Enable GPO: Do not allow update deferral policies to cause scans against Windows Update.
0x800B0109
-2146762487
CERT_E_UNTRUSTEDROOT Port 8531 SSL certificate terminates in an untrusted root certificate authority on client. Deploy WSUS root CA certificate to client Trusted Root Certification Authorities store.
0x80244007
-2145107961
WU_E_PT_SOAPCLIENT_SOAPFAULT Client sync cycle failed during SOAP XML chunking (oversized metadata catalog). Decline superseded updates: Invoke-WsusServerCleanup -DeclineSupersededUpdates.
0x80240438
-2145123272
WU_E_PT_HTTP_STATUS_PROXY_AUTH_REQ Proxy authentication required or perimeter firewall blocking ports 8530/8531. Set proxy bypass: netsh winhttp set proxy bypass-list="*.corp.karanth.ovh".
0x8024001E
-2145124322
WU_E_SERVICE_STOP Windows Update service (wuauserv) or BITS service was stopped during operation. Start services: Get-Service wuauserv, bits | Start-Service -ErrorAction Stop.

Copy-Paste WSUS Remediation Commands:

# 1. Fix WSUS IIS WsusPool Memory Exhaustion (0x80244022 & 0x8024401C)
# Sets Private Memory Limit to 0 (unlimited) and Queue Length to 25,000 requests
Import-Module WebAdministration -ErrorAction Stop
Set-ItemProperty "IIS:\AppPools\WsusPool" -Name "recycling.periodicRestart.privateMemory" -Value 0
Set-ItemProperty "IIS:\AppPools\WsusPool" -Name "queueLength" -Value 25000
Restart-WebAppPool -Name "WsusPool"
# 2. Reset client-side Windows Update Agent state on workstation
# Run as Administrator on client
Stop-Service -Name wuauserv, bits, cryptsvc -Force -ErrorAction Stop
Remove-Item "C:\Windows\SoftwareDistribution" -Recurse -Force -ErrorAction SilentlyContinue
Start-Service -Name wuauserv, bits, cryptsvc -ErrorAction Stop
wuauclt /resetauthorization /detectnow

4. PKI, AD CS & Schannel Certificate Error Cheat Sheet

Certificate enrollment, autoenrollment, and TLS validation failures fall under Facility 0x09 (Security / SSPI) and Facility 0x0B (Certificates).

Hex / Dec Symbolic Constant Root Cause Quick Remediation
0x80094001
-2146877439
CERTSRV_E_ENROLLMENT_DENIED Certificate template security ACL denies Enroll permission to the requesting principal. In certtmpl.msc, grant Read and Enroll permissions to the target group.
0x80094007
-2146877433
CERTSRV_E_BAD_REQUESTSUBJECT CSR lacks required Subject Name (CN) or SAN extensions required by CA policy. In template properties, select Build from this Active Directory information.
0x8009400B
-2146877429
CERTSRV_E_TEMPLATE_DENIED Requested template exists in AD but has not been published to the issuing CA. Publish template: certutil -SetCAtemplates +TemplateName.
0x80092013
-2146885613
CRYPT_E_REVOCATION_OFFLINE CRL Distribution Point (CDP) HTTP/LDAP URI is offline, unreachable, or CRL expired. Verify CDP URL: certutil -verify -urlfetch cert.cer and republish CRL: certutil -crl.
0x800B0101
-2146762495
CERT_E_EXPIRED A required certificate in the trust chain has expired or local system time has drifted. Renew certificate or resync time: w32tm /resync /force.
0x80090326
-2146893018
SEC_E_ILLEGAL_MESSAGE Schannel TLS handshake mismatch (cipher suites, TLS 1.2 vs 1.3, or token size limit). Align Schannel TLS protocols and cipher suites in registry under SCHANNEL\Protocols.
0x80090308
-2146893048
SEC_E_INVALID_TOKEN Kerberos PAC or security token supplied to Schannel is corrupted or exceeds buffer size. Check Kerberos token size: klist get krbtgt and adjust MaxTokenSize if needed.

Copy-Paste PKI Diagnostic Commands:

# 1. Test certificate chain and fetch live CRL distribution points
certutil -verify -urlfetch "C:\Temp\server-cert.cer"
# 2. Force CA to publish fresh Base CRL and Delta CRL immediately
certutil -crl

5. Active Directory & RPC Replication Error Cheat Sheet

AD replication errors surfaced in repadmin /showrepl, dcdiag, and Directory Service event logs.

Win32 Dec Hex (HRESULT) Symbolic Constant Root Cause & Quick Remediation
1722 0x800706BA RPC_S_SERVER_UNAVAILABLE TCP port 135 or dynamic RPC ports (49152–65535) blocked between DCs.
Fix: Test port reachability: Test-NetConnection -ComputerName DC02.corp.karanth.ovh -Port 135. Refer to our AD Firewall Matrix.
1753 0x800706D9 EPT_S_NOT_REGISTERED Endpoint Mapper is listening, but NTDS replication UUID interface is not registered.
Fix: Check NTDS service status and restart Netlogon on target DC.
8456 / 8457 0x80072108 ERROR_DS_DRA_SRC_BUSY Source or destination DC currently rejecting replication (initial sync or USN rollback quarantine).
Fix: Inspect Directory Service Event ID 2042 and verify quarantine flags in repadmin /showrepl.
8524 0x8007214C ERROR_DS_DRA_DNS_LOOKUP_FAILURE DSA GUID CNAME record resolution failed in _msdcs.corp.karanth.ovh zone.
Fix: Reregister DC DNS records: nltest /dsregdns and verify resolution via AD DNS SRV Generator.
1908 0x80070774 ERROR_DOMAIN_CONTROLLER_NOT_FOUND Netlogon locator unable to discover an active DC for the domain.
Fix: Test domain locator: nltest /dsgetdc:corp.karanth.ovh.
1396 0x80070574 ERROR_KDC_UNKNOWN_PARTITION Mutual authentication failure between replication partners due to duplicate SPN.
Fix: Audit duplicate SPNs across forest: setspn -X.
8614 0x800721A6 ERROR_DS_REPL_LIFETIME_EXCEEDED Replication partner disconnected longer than forest Tombstone Lifetime.
Fix: Demote stale DC and clean metadata per our Event 2042 Guide.

Copy-Paste Replication Health Verification:

# Check forest-wide replication summary and highest failure delta
repadmin /replsummary
# Test RPC endpoint reachability and DNS locator records for DC02
Test-NetConnection -ComputerName "DC02.corp.karanth.ovh" -Port 135
Resolve-DnsName -Name "_ldap._tcp.dc._msdcs.corp.karanth.ovh" -Type SRV

6. Kerberos & Authentication Failure Codes Cheat Sheet

When examining Security Event ID 4625 (Logon Failure), the Status is almost always generic failure (0xC000006D). The Substatus provides the forensic root cause:

Substatus Code Symbolic Constant Event 4625 Meaning Operational Forensic Context
0xC000006A STATUS_WRONG_PASSWORD Valid username, wrong password. User typo or cached credentials on mapped drives/services.
0xC0000064 STATUS_NO_SUCH_USER Username does not exist in AD. Username enumeration attempt or brute-force attack probe.
0xC0000234 STATUS_ACCOUNT_LOCKED_OUT Account locked by threshold policy. Investigate lockout source with our AD Forensic Event Builder.
0xC0000072 STATUS_ACCOUNT_DISABLED Account administratively disabled. Logon attempt against a decommissioned or suspended identity.
0xC0000193 STATUS_ACCOUNT_EXPIRED Account expiration timestamp passed. Temporary contractor or scheduled access window ended.
0xC0000133 STATUS_TIME_DIFFERENCE_AT_DC Clock skew between client and DC > 5 min. Kerberos replay defense triggered. Resync time: w32tm /resync /force.

RFC 4120 Kerberos Protocol Return Codes (Events 4768 / 4771):

Kerberos Hex Decimal RFC 4120 Constant Protocol Meaning
0x06 6 KDC_ERR_C_PRINCIPAL_UNKNOWN Client principal not found in Active Directory database. Check UPN/realm.
0x12 18 KDC_ERR_CLIENT_REVOKED Client account has been disabled, locked out, or expired on the KDC.
0x18 24 KDC_ERR_PREAUTH_FAILED Pre-authentication failed (password error during AS-REQ timestamp encryption).
0x25 37 KDC_ERR_PREAUTH_REQUIRED Initial probe from client without pre-auth. KDC challenge response. Normal handshake.
0x29 41 KDC_ERR_MODIFIED Ticket stream checksum verification failed (packet corruption or tampering).

7. Core Win32 Base & SMB Networking Errors Cheat Sheet

Win32 Dec Hex (HRESULT) Symbolic Constant Operational Meaning & Quick Fix
5 0x80070005 ERROR_ACCESS_DENIED NTFS permissions, SMB share ACL, or administrative token missing.
Fix: Inspect ACLs with icacls or launch console with elevated administrator token.
53 0x80070035 ERROR_BAD_NETPATH TCP port 445 (SMB) blocked, server offline, or NetBIOS unresolvable.
Fix: Test port 445 connectivity: Test-NetConnection -ComputerName DC01.corp.karanth.ovh -Port 445.
67 0x80070043 ERROR_BAD_NET_NAME Target SMB share name does not exist on remote host.
Fix: Enumerate valid shares: Get-SmbShare -CimSession DC01.corp.karanth.ovh.
1326 0x8007052E ERROR_LOGON_FAILURE Logon failure: unknown username or bad password over network connection.
Fix: Verify credentials used in network mapping.
1332 0x80070534 ERROR_NONE_MAPPED Account SID cannot be resolved to a name (indicates orphaned SID in ACL).
Fix: Clean orphaned SIDs from file share or GPO security filters.
Cheat Sheet Takeaway: Keep certutil -error <code> and net helpmsg <dec> in your muscle memory. When an error is logged as a negative integer, convert it to 32-bit hex with "{0:X8}" -f [uint32][int32]<code> to immediately uncover the facility and subsystem root cause.

Discover more from Karanth.ovh

Subscribe to get the latest posts sent to your email.