When it is written
A domain controller writes 305 when an authentication policy that is not enforced, and so is in audit mode, checks a request for a ticket-granting ticket (the Kerberos AS exchange) and finds that the device it comes from does not meet the policy's access control conditions. An audited policy does not change the process: the ticket is issued, and the event records that an enforced policy would have refused it. Its own text says so: the ticket was issued but will be denied when the authentication policy is enforced, because the device does not meet the access control restrictions. A new authentication policy silo only audits until it is enforced, and a policy audits when Only audit policy restrictions is selected; Microsoft provides audit mode to find blocking issues before a policy is enforced.
The event is written by the Key Distribution Center (Microsoft-Windows-Kerberos-Key-Distribution-Center) and carries the same fields as its enforced counterpart 105: those of a ticket-granting ticket request in the Security log (event 4768) plus the device, the silo, the policy and the TGT lifetime. The event template sets the level to Information, as Microsoft's event table says; the overview on the same page speaks of a warning in audit mode, which the template does not follow.
How to turn it on
Microsoft-Windows-Kerberos-Key-Distribution-Center writes the event to the Authentication Policy Failures log (Event Viewer > Applications and Services Logs > Microsoft > Windows > Authentication > AuthenticationPolicyFailures-DomainController), which is off by default. Microsoft
Microsoft created the log with authentication policies and silos (Windows Server 2012 R2) to make failures caused by authentication policies easier to find. It is off by default: turn it on on every domain controller (in Event Viewer, right-click the log and choose Enable Log, or use the commands below), since each event is written only by the domain controller that handled the request.
Events appear only for accounts that are assigned an authentication policy, directly or through an authentication policy silo, and policies need the account domain at the Windows Server 2012 R2 domain functional level or higher. An enforced policy refuses the request and the domain controller writes 105 (ticket-granting ticket) or 106 (service ticket); NTLM sign-ins of such accounts fail with 101. A policy in audit mode lets the request through and writes 305 or 306: a new policy is enforced by default unless Only audit policy restrictions is selected, and a new silo only audits until it is enforced. Device conditions on the Kerberos exchange need Dynamic Access Control support: KDC support for claims, compound authentication and Kerberos armoring (Administrative Templates > System > KDC) on the domain controllers and Kerberos client support for claims, compound authentication and Kerberos armoring (System > Kerberos) on the devices. The built-in domain Administrator (RID 500) is always exempt from authentication policies.
wevtutil gl "Microsoft-Windows-Authentication/AuthenticationPolicyFailures-DomainController"wevtutil sl "Microsoft-Windows-Authentication/AuthenticationPolicyFailures-DomainController" /e:trueGet-ADAuthenticationPolicy -Filter * | Format-Table Name, Enforce -AutoSizeGet-ADAuthenticationPolicySilo -Filter * | Format-Table Name, Enforce -AutoSizeFields
In Event Viewer order. The field names are those of the event XML, from the event template of Windows Server 2025 (build 26100.32230, January 13, 2026): the provider belongs to a server role, so the template comes from the provider manifests that the EVTX-ETW-Resources project exported from that release.
| Field | What it holds | Since |
|---|---|---|
Account NameTargetUserNameAccount Information | Account whose ticket-granting ticket request would have been refused (Account Name): an account under the audited policy, directly or through the silo. | v0 |
Supplied Realm NameTargetDomainNameAccount Information | Kerberos realm the client supplied with the request (Supplied Realm Name). | v0 |
User IDTargetSidAccount Information | SID of the account (User ID). Event Viewer resolves it to the account name. | v0 |
Silo NameSiloNameAuthentication Policy Information | Authentication policy silo through which the policy applies (Silo Name), when there is one. | v0 |
Policy NamePolicyNameAuthentication Policy Information | Authentication policy in audit mode that made the check (Policy Name). | v0 |
TGT LifetimeAuthentication Policy Information | Ticket-granting ticket lifetime the policy sets for the account (TGT Lifetime), a number. Microsoft does not document its unit in the event: the policy is entered in minutes in Active Directory Administrative Center, and the schema attribute is described in seconds. The XML name contains a space. | v0 |
Device NameDeviceNameDevice Information | Device the request came from, which does not meet the policy's conditions (Device Name). The domain controller takes its identity from the armored request. Microsoft does not document its format. | v0 |
Service NameServiceNameService Information | Service the ticket was requested for (Service Name). For a ticket-granting ticket Microsoft's 4768 page gives the domain's krbtgt service. | v0 |
Service IDServiceSidService Information | SID of that service's account (Service ID). | v0 |
Client AddressIpAddressNetwork Information | Address of the computer that sent the request (Client Address). Microsoft's 4768 page shows IPv4 addresses as ::ffff:a.b.c.d and ::1 for the domain controller itself. | v0 |
Client PortIpPortNetwork Information | Source port of the request (Client Port). | v0 |
Ticket OptionsTicketOptionsAdditional Information | Kerberos options of the request, in hexadecimal (Ticket Options, RFC 4120). Microsoft's 4768 page lists common values such as 0x40810010 (forwardable, renewable, canonicalize, renewable-ok). | v0 |
Result CodeStatusAdditional Information | Result of the request in hexadecimal (Result Code), a Kerberos error code defined in RFC 4120 as the template's own note says. The ticket was issued; Microsoft does not document the value the event shows. | v0 |
Ticket Encryption TypeTicketEncryptionTypeAdditional Information | Encryption type of the issued ticket (Ticket Encryption Type), with the codes of event 4768: 0x12 and 0x11 for AES, 0x17 and 0x18 for RC4. | v0 |
Pre-Authentication TypePreAuthTypeAdditional Information | Pre-authentication type of the request (Pre-Authentication Type), a number from Microsoft's table for 4768 and 4771: 2 for a password, 15 or 16 for a smart card, 138 with Kerberos armoring. | v0 |
Certificate Issuer NameCertIssuerNameCertificate Information | Issuer of the certificate used for pre-authentication (Certificate Issuer Name). Empty unless a certificate was used, as the template's own note says. | v0 |
Certificate Serial NumberCertSerialNumberCertificate Information | Serial number of that certificate (Certificate Serial Number). Empty unless a certificate was used. | v0 |
Certificate ThumbprintCertThumbprintCertificate Information | Thumbprint of that certificate (Certificate Thumbprint). Empty unless a certificate was used. | v0 |
Values to know
Device Name DeviceName
| Value | Meaning | Signal |
|---|---|---|
A device still being added during the rollout | A known gap in a policy under testAdd it to the policy, then enforce the policy. | Noise |
A device that appears after the rollout settled | The account signed in from a device its policy does not allow, and succeededThe policy only audits, so the sign-in went through. Review the account and the device. | Attack signal |
Policy Name PolicyName
| Value | Meaning | Signal |
|---|---|---|
A policy in audit mode for a long time | A policy that never got enforcedAn audit-mode policy protects nothing. Use the events to finish the rollout. | Worth knowing |
Pre-Authentication Type PreAuthType
| Value | Meaning | Signal |
|---|---|---|
138 | PA-ENCRYPTED-CHALLENGEMicrosoft's 4768 and 4771 tables: logon using Kerberos armoring (FAST), which device conditions rely on. | Expected |
2 | PA-ENC-TIMESTAMPStandard password pre-authentication, as Microsoft's tables describe it. | Worth knowing |
Volume and noise
Mostly rollout noise: administrators who still sign in from devices that are not in the policy yet, and devices that do not support Kerberos armoring. That is what audit mode is for. Once each device is resolved and the policy is enforced, 305 stops and refusals appear as 105.
Keeping it manageable
- Resolve each device during the audit phase: add it to the policy if it belongs there, then enforce the policy so the events become 105 refusals.
- Keep the events: the rule for protected accounts reports them at low severity, because the sign-in succeeded from a device the policy does not allow.
- Group them by account (
TargetUserName), device (DeviceName) and client address (IpAddress): a single account that appears from a new device after the rollout settled deserves a look. - Do not filter the log on its level: these audit events are Information, the enforced refusals 105 and 106 are Error, and the rule reads both.
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kerberos-Key-Distribution-Center" Guid="{3FD9DA1A-5A54-46C5-9A26-9BD7C0685056}" />
<EventID>305</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x0800000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Microsoft-Windows-Authentication/AuthenticationPolicyFailures-DomainController</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="TargetUserName">adm-alice</Data>
<Data Name="TargetDomainName">CORP.EXAMPLE.COM</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1120</Data>
<Data Name="DeviceName">WS042$</Data>
<Data Name="ServiceName">krbtgt</Data>
<Data Name="ServiceSid">S-1-5-21-1004336348-1177238915-682003330-502</Data>
<Data Name="TicketOptions">0x40810010</Data>
<Data Name="Status">0x0</Data>
<Data Name="TicketEncryptionType">0x12</Data>
<Data Name="PreAuthType">138</Data>
<Data Name="IpAddress">::ffff:10.20.30.88</Data>
<Data Name="IpPort">50122</Data>
<Data Name="CertIssuerName"></Data>
<Data Name="CertSerialNumber"></Data>
<Data Name="CertThumbprint"></Data>
<Data Name="SiloName">Tier0-Admins</Data>
<Data Name="PolicyName">Tier0-Admins-Policy</Data>
<Data Name="TGT Lifetime">240</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
Does event 305 mean that a sign-in was blocked?
No. The policy is in audit mode, so the domain controller issued the ticket-granting ticket, as the event's own text says. The event records that the request would have been refused if the policy were enforced, because the device does not meet its conditions.
Is event 305 a warning?
No, Information. The event template sets that level, as Microsoft's event table describes 305; the overview of the same page speaks of a warning logged in audit mode. The enforced counterpart, 105, is an Error.
How do I use events 305 and 306 before enforcing a policy?
Leave the policy in audit mode for a while, collect 305 and 306 from every domain controller and resolve each account and device they name: add devices that belong to the policy and change the habits or tools that do not. When the events stop, enforce the policy. From then on refusals appear as 105 and 106.