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

NetLeverage
NetLeverage

Event 4769: Kerberos service ticket failure codes other than encryption type

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.

After a person has a Kerberos ticket-granting ticket, each file server, database or web application they use needs its own service ticket, and the domain controller writes event 4769 for every request. When a request fails, the Failure Code says why. Microsoft's page calls the many 0x20 failures informational, and ties other codes to a missing or duplicated service name. What follows decodes the codes other than the encryption-type ones, which our guide to the RC4 change covers, using Microsoft's page for the event. Nothing here changes a setting.

What the error means

The page is titled "4769(S, F): A Kerberos service ticket was requested." It describes the event: "This event generates every time Key Distribution Center gets a Kerberos Ticket Granting Service (TGS) ticket request." And: "This event generates only on domain controllers." A failure is an event where the Failure Code is not 0x0, which the page lists as KDC_ERR_NONE, "No error".

The page opens its account of failures with a reassurance. It says you will see many Failure events with Failure Code 0x20, which in its words "simply means that a service ticket has expired." It adds: "These are informational messages and have little to no security relevance." That is the first thing to know: going by the page, 0x20 failures on a domain controller are not a fault by themselves.

The page carries two versions of the event. It says Windows Server 2016 and later display an updated version after the January 14th, 2025 or later Security Cumulative Update, with extra fields for the encryption types and keys of the account, the service and the domain controller and for ticket hashes. The page's own text states "Event Versions: 0".

The fields to read on a failure:

  • Account Name: the user or computer that asked for the ticket, in the form user_account_name@FULL_DOMAIN_NAME. The page says this parameter "is optional and can be empty in some cases".
  • Service Name: "the name of the account or computer for which the service ticket was requested." The page says of the Service ID field: "NULL SID – this value shows in Failure events."
  • Client Address and Client Port: where the request came from. ::1 means localhost, and a port of 0 means a local request.
  • Failure Code: the reason, in the tables below.
  • Ticket Encryption Type and Transited Services: the second names the service names requested when constrained delegation was used.
  • Logon GUID: a value that can be used to match this event on the domain controller with events on the target computer, such as event 4624, event 4648 and event 4964. The page says it "might not be captured in the event", in which case it appears as all zeros.

A point that is easy to miss: the page says "Some errors are only reported when you set KdcExtraLogLevel registry key value with the following flags", naming 0x01 as "Audit SPN unknown errors" and 0x10 as "Log audit events on encryption type (ETYPE) and bad options errors." So an unknown service name may not show up in 4769 at all unless that setting is on. The page gives no registry path and no command for it, so nothing here tells you to set it.

Likely causes

The three codes taken first below:

Failure Code Name on the page Page's description Page's possible causes
0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Server not found in Kerberos database This error can occur if the domain controller can't find the server’s name in Active Directory. This error is similar to KDC_ERR_C_PRINCIPAL_UNKNOWN except that it occurs when the server name can't be found.
0x1B KDC_ERR_MUST_USE_USER2USER Server principal valid for user2user only This error occurs because the service is missing an SPN.
0x20 KRB_AP_ERR_TKT_EXPIRED The ticket has expired The smaller the value for the “Maximum lifetime for user ticket” Kerberos policy setting, the more likely it is that this error will occur. Because ticket renewal is automatic, you should not have to do anything if you get this message.

What they mean in plain terms:

  • 0x7: the person's computer asked for a ticket for a service name the domain does not have. Possible real-world reasons are a mistyped server name, an alias or DNS name that is not registered as a service name, or a server that was renamed or replaced. The page names only the first fact, that the domain controller cannot find the name; the examples are general experience. Our guide to SQL Kerberos after a server move covers one such case.
  • 0x1B: the page says the service is missing an SPN, a service principal name. Our reading of the code name, "Server principal valid for user2user only", is that the domain controller found no ordinary registered name to issue the ticket for; the page does not say more.
  • 0x20: an expired ticket. The page says renewal is automatic and that you "should not have to do anything".

The same table lists other codes that can reach this event. These are some of them:

Failure Code Name on the page Page's description
0x6 KDC_ERR_C_PRINCIPAL_UNKNOWN Client not found in Kerberos database
0x8 KDC_ERR_PRINCIPAL_NOT_UNIQUE Multiple principal entries in KDC database
0xC KDC_ERR_POLICY Requested start time is later than end time
0xD KDC_ERR_BADOPTION KDC cannot accommodate requested option
0x12 KDC_ERR_CLIENT_REVOKED Client’s credentials have been revoked
0x1F KRB_AP_ERR_BAD_INTEGRITY Integrity check on decrypted field failed
0x21 KRB_AP_ERR_TKT_NYV The ticket is not yet valid
0x25 KRB_AP_ERR_SKEW The clock skew is too great
0x29 KRB_AP_ERR_MODIFIED Message stream modified and checksum didn't match
0x3C KRB_ERR_GENERIC Generic error

A few of these deserve their possible-causes text:

  • 0x8: "This error occurs if duplicate principal names exist." This is the duplicate service name fault, and KRB_AP_ERR_MODIFIED: duplicate SPNs and the wrong account behind a name applies.
  • 0x21: "The most probable cause is that the clocks on the KDC and the client aren't synchronized."
  • 0x25: "This error is logged if a client computer sends a timestamp whose value differs from that of the server’s timestamp by more than the number of minutes found in the “Maximum tolerance for computer clock synchronization” setting in Kerberos policy."
  • 0x29: its causes include that "The authentication data was encrypted with the wrong key for the intended server" and that "The client sent the authentication data to the wrong server because incorrect DNS data caused the client to send the request to the wrong server."
  • 0x3C: the page lists "Group membership has overloaded the PAC", "Multiple recent password changes haven't propagated", "SPN too long" and "SPN has too many parts", among others.
  • 0xD: "Impending expiration of a TGT", and "The SPN to which the client is attempting to delegate credentials isn't in its Allowed-to-delegate-to list".

The page prints the same description for 0xC as for the code before it in the table, 0xB, "Requested start time is later than end time". Its possible-causes text for 0xC is about "logon restrictions in place on a user’s account", such as workstation restriction, smart card requirement or logon time restriction. Read the causes column for that code.

Prove the cause before changing anything

All of this only reads. Microsoft's page gives no command for reading the event, so the steps are described in Event Viewer terms, which is general practice rather than a statement on the page.

  1. On the domain controllers, open Event Viewer, go to Windows Logs > Security and find 4769 events with a Failure Code other than 0x0 around the time of the complaint. Check each domain controller, as any of them can have answered.
  2. Read the Failure Code. If it is 0x20 and nothing is actually failing for the person, stop: the page calls these informational.
  3. Read Service Name. For 0x7 and 0x1B this is the name that matters. Is it the real name of a server that exists? Is it an alias that people use? Is it a server that was replaced?
  4. Read Account Name and Client Address. Is the request from the person and computer you expect?
  5. For 0x21 and 0x25, compare the clocks of the client and the domain controller. The page names clock disagreement as the probable cause.
  6. For 0x8, find which accounts or computers hold the same service name. The page says duplicate names are forbidden "even across multiple realms", and the duplicate-SPN guide linked in the 0x8 line above describes how to find them.
  7. If an unknown-service-name problem is suspected but no 0x7 events appear, remember the KdcExtraLogLevel note above: the page says that 0x01 is the flag for "Audit SPN unknown errors", so the absence of events is not proof that none happened.

Example (illustrative, not a recorded case): after a file server was replaced, one person's mapped drive stops working. On the domain controller, 4769 shows Failure Code 0x7 with the old server's name as Service Name, and the same event repeats every time she tries. The code says the domain controller cannot find that name, which fits a drive still pointing at the retired server. If the code had been 0x20 alone, the same complaint would not be explained by it, because the page calls 0x20 failures informational.

Fix

Nothing here tells you to change a service name, a policy or a clock, because the page does not, and the right change depends on which service and which machine. What each code points to, with the sources noted:

  • 0x20: nothing, if nothing is failing. The page says renewal is automatic.
  • 0x7: check the name the person or application is using against the real server name. If it is an alias, the question is whether the alias is meant to be a registered service name. If it is the old server, the person's shortcut or mapping needs correcting. These are general advice.
  • 0x1B: the page says the service lacks an SPN. Registering one is a change to Active Directory.
  • 0x8: the page's cause is duplicate principal names. Making each service name belong to one account is a change to Active Directory, and no steps for it are given here.
  • 0x21 and 0x25: the page's cause is clocks that are not synchronised. Correcting a clock is a change, and no steps for it are given here.
  • 0x12, 0x6, 0xC: an account problem, a disabled or locked or missing account, or a restriction on it; the same codes read the same way on event 4768.
  • 0x29 and 0x1F: for 0x29 the page lists a wrong-key, wrong-server and DNS cause. For 0x1F it says "The modification of the message could be the result of an attack or it could be because of network noise." Take these to someone who can read DNS and service names before changing anything.

Any step that registers, removes or changes a service name, a clock source or a policy is its own change: write down the current state first, and have the way back ready. The page does not give those steps, so none are given here.

Confirm the fix

  • The complaint stops. The person opens the share, database or web application without error.
  • New 4769 events for that account and that service name show Failure Code 0x0.
  • The count of non-0x20 failures for that Service Name falls to zero over the next working day.

What to watch afterwards

  • A rising number of 0x7 events for a name that should exist, and any 0x8 events, which the page's code table ties to duplicate names. The page's monitoring section says only: "If you have a list of important Failure Codes, monitor for these codes."
  • Service ID values that a given account should never request. The page's monitoring section says that if an Account Name should never request tickets for a particular computer or service account, you monitor 4769 events with that Account Name and Service ID.
  • Client Address values outside your own ranges, and Client Port values from 1 to 1023.
  • Ticket Encryption Type values other than 0x11 and 0x12, and 0x1 or 0x3, which the page says mean DES.
  • Whether the KdcExtraLogLevel flags the page describes are set, if you rely on 4769 for unknown names.

Risks and limits

These steps have not been run or lab-tested. The page sits in Microsoft's previous-versions area, shows example events from 2015 and 2025, and describes two versions of the event, so field names on your own domain controllers may differ. The page gives no registry path or command for KdcExtraLogLevel and none for reading the event, and so nothing here tells you to do either. It prints one description for two codes, 0xB and 0xC, and the Fix section is general advice. Statements about what a code points to beyond the vendor's wording are our reading, and, as general advice, one event on its own is not proof of a fault.

Sources