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.
On an Active Directory domain controller, the Security log fills with event 4771, "Kerberos pre-authentication failed." Each one is a person, a service or a device that asked the domain for its first Kerberos ticket and was refused. The reason is one hexadecimal Failure Code. Microsoft's event page explains the cause for three codes, 0x18, 0x17 and 0x10, and lists many more by name only. What follows is about reading those three and about not over-reading the rest.
Nothing here changes anything. What each code points to is described, and where a change would follow, it is said to be a separate change.
What the error means
Microsoft's page states what the event is: "This event generates every time the Key Distribution Center fails to issue a Kerberos Ticket Granting Ticket (TGT)." It gives three example causes: a domain controller without a certificate installed for smart card authentication (for example, with a "Domain Controller" or "Domain Controller Authentication" template), the user's password having expired, or the wrong password having been provided. Its subcategory is Audit Kerberos Authentication Service, and the required server role is an Active Directory domain controller.
Three details from the page decide where to look:
- "This event generates only on domain controllers." A workstation or member server does not log it.
- "This event is not generated if "Do not require Kerberos preauthentication" option is set for the account." So an account set that way can fail without producing a 4771.
- The service name on the event is the ticket-granting service of the domain, in the forms the page gives:
krbtgt/CONTOSOorkrbtgt/CONTOSO.LOCAL.
The fields are the account name, a Client Address and Client Port for where the request came from, the Ticket Options, the Failure Code and the Pre-Authentication Type. The page's sample event is for an account named dadmin from ::ffff:10.0.0.12, with Ticket Options 0x40810010 and Pre-Authentication Type 15. One oddity in the sample: its XML names the failure value Status and gives it as 0x10, while the field description calls it Failure Code. The page does not comment on the difference.
Likely causes
The page's table of Failure Codes comes from RFC 4120. For three rows it adds a column of possible causes, and for the rest it gives the name and a one-line description only.
| Failure Code | Name | Description on the page | Possible cause on the page |
|---|---|---|---|
| 0x18 | KDC_ERR_PREAUTH_FAILED | Pre-authentication information was invalid | The wrong password was provided. |
| 0x17 | KDC_ERR_KEY_EXPIRED | Password has expired—change password to reset | The user's password has expired. |
| 0x10 | KDC_ERR_PADATA_TYPE_NOSUPP | KDC has no support for PADATA type (pre-authentication data) | Smart card logon is being attempted and the proper certificate cannot be located. |
For 0x10 the page explains further: "This problem can happen because the wrong certification authority (CA) is being queried or the proper CA cannot be contacted in order to get Domain Controller or Domain Controller Authentication certificates for the domain controller. It can also happen when a domain controller doesn't have a certificate installed for smart cards (Domain Controller or Domain Controller Authentication templates)."
Other codes appear in the same table with a name and a short description and no stated cause. Three of them are 0x6 KDC_ERR_C_PRINCIPAL_UNKNOWN ("Client not found in Kerberos database"), 0x12 KDC_ERR_CLIENT_REVOKED ("Clients credentials have been revoked", worded that way on the page) and 0x25 KRB_AP_ERR_SKEW ("Clock skew too great"). The page does not say what makes a client revoked, and it does not say what causes the skew. Read these as descriptions and do not add causes the page does not give. For the time side of Kerberos, read Clock skew between identity and application hosts in production.
The Pre-Authentication Type field
The second field that helps is the Pre-Authentication Type. The page's table gives the values that matter:
| Type | Name | Meaning on the page |
|---|---|---|
| 0 | none | Logon without Pre-Authentication. |
| 2 | PA-ENC-TIMESTAMP | This type is normal for standard password authentication. |
| 15 | PA-PK-AS-REP_OLD | Used for Smart Card logon authentication. |
| 138 | PA-ENCRYPTED-CHALLENGE | Logon using Kerberos Armoring (FAST). Supported starting from Windows Server 2012 domain controllers and Windows 8 clients. This type shows in Audit Failure events. |
The page also lists types 11, 16, 17, 19 and 20, and says of 11 and 19 that it "Never saw this Pre-Authentication Type in Microsoft Active Directory environment."
Prove the cause before changing anything
All of these read only. The page gives no commands, so the steps are in Event Viewer terms.
- Work on a domain controller. The event is logged only there, so open Event Viewer on a domain controller, go to Windows Logs > Security and filter for event ID 4771. As general advice, not on the page: a domain with more than one domain controller can log the failure on any of them, so check each one the user could have reached.
- Read the Failure Code and look it up in the table above. Record it along with the Account Name and the Client Address.
- Read the Pre-Authentication Type. A password failure should show type 2 and a smart card failure should show type 15, on the page's own reading of those values.
- Compare the Client Address with the machine you expect. The page says
::1means local authentication, and a Client Port greater than 0 and less than 1024 should be examined because a well-known port was used for the outbound connection. - Count the repeats. A single 0x18 is one failed request. Many 0x18 events in a short time for one account is what the page's monitoring advice is about: "This issue can indicate a brute-force attack on the account password, especially for highly critical accounts."
Example (illustrative, not a recorded case): an owner reports that a staff member's laptop keeps prompting for her password every few minutes. The domain controller's Security log shows event 4771 for her account, Failure Code 0x18, Pre-Authentication Type 2, Client Address a laptop at a branch office, repeating at the same interval. That is "the wrong password was provided" from a standard password request, repeating from one address. The same pattern could come from a stale saved password on a device or a mapped drive, which is general advice, not a statement on the page. Account Keeps Locking Out: Find the Source From Event 4740 to the Process covers following the address to its source.
Fix
No change is instructed here, because the right change depends on which account and which machine, and the page gives none. What each documented code points to:
- 0x18: the wrong password was provided. That is a user action or a stored credential somewhere using an old password.
- 0x17: the user's password has expired. The page's own wording for the code is "change password to reset". The page does not say how to carry it out in your environment.
- 0x10: a smart card logon cannot find the proper certificate. The page names two directions: the wrong CA is being queried or the proper CA cannot be contacted, and a domain controller without a certificate installed for smart cards. Which applies is found on the domain controller and at the certificate authority, not in this event.
If an account change or a certificate change follows, treat it as its own change: record the current state of the account or the certificate template first, state what the change will do, and know the way back before making it.
Confirm the fix
- A new sign-in for that account succeeds, and no new 4771 is logged for it from the same Client Address.
- The Failure Code you proved is no longer arriving. If the same code keeps arriving from the same address, whatever sends the old password is still running.
- For 0x10, smart card sign-ins complete on each domain controller that handled one before. The page offers 0x10 as a quick way to spot smart card problems with Kerberos: "This error can help you to more quickly identify smart-card related problems with Kerberos authentication."
What to watch afterwards
The page's monitoring table lists what to track with this event:
- High-value accounts, such as database administrators, the built-in local administrator, domain administrators, service accounts and domain controller accounts.
- Accounts that should never be used: non-active, disabled or guest accounts.
- Client Address values outside your internal or private ranges, and
::1where an account should not sign in at a domain controller. - Pre-Authentication Type values that do not match policy: not 15 where a smart card is required, not 2 where only standard password sign-in is used, and not 138 where Kerberos Armoring is enabled for all Kerberos communications.
- Failure Code 0x18 repeating, which the page ties to possible brute force on the account password.
Read next
Related articles you may want next.
- TroubleshootingAccount Keeps Locking Out: Find the Source From Event 4740 to the ProcessAccount keeps locking out? Read event 4740 on the PDC emulator, follow 4771, 4776 and 4625 to the source computer, then find the stale credential there.Read article
- TroubleshootingKerberos fails after the RC4 change: finding the accounts and devices that still depend on RC4After domain controller updates or an RC4 policy change, a share, remote PowerShell or a non-Windows device stops signing in with Kerberos. Read the KDCSVC and 4769 events, find what only has RC4, and fix it without reopening RC4 for the whole domain.Read article
- TroubleshootingKRB_AP_ERR_MODIFIED: duplicate SPNs and the wrong account behind a nameUsers get password prompts or access denied on a web, file or app service, and the System log shows Kerberos event 4 KRB_AP_ERR_MODIFIED. Find which account holds the service name, remove duplicates with setspn, and confirm Kerberos works.Read article
Risks and limits
These steps have not been run or lab-tested. The page covers Windows Server 2008 and later with event version 0, and it was last updated in 2021. Its sample event is from a lab domain called contoso.local, so field values in your environment will differ. It gives causes for only three Failure Codes, and no checking commands, so causes for 0x12, 0x25 and the rest are not stated here. A single 4771 is one failed request; the pattern is what the page's monitoring advice is about.
Sources
- 4771(F): Kerberos pre-authentication failed. — Microsoft Learn, page dated 2021-09-07, accessed 3 December 2026
This article was originally published on .