When it is written
Enhanced NTLM auditing makes a domain controller log the NTLM authentications it processes for its domain, successful and unsuccessful. When the account and the server belong to different domains, Microsoft describes two records: a domain controller of the server's domain writes the same-domain event (4032 or 4033), and a domain controller of the account's domain, which receives the request from the other domain over the trust, writes this one (4030 or 4031). Forwarded From names the domain controller of the other domain that passed the request on.
Microsoft splits each audit into two event IDs with the same fields that differ only in level: 4030 (Information) for an authentication without a detected reduction in security, and 4031 (Warning) when the domain controller sees a downgrade such as NTLMv1, Extended Protection for Authentication marked as not supported or insecure, or no message integrity check (MIC). The event exists on Windows Server 2025 and on Windows Server 2022 and 2019 with the Windows updates released on or after October 13, 2026. It is on by default and controlled by the Log Enhanced Domain-wide NTLM Logs policy (Administrative Templates > System > Netlogon). Microsoft's article names the source Security-Netlogon; the provider is Microsoft-Windows-Security-Netlogon.
No detection rule of the library reads 4030. It is the ordinary half of the audit whose Warning half, 4031, the NTLMv1 rule reads, and the account domain's view of an authentication that the server's domain records as 4032 or 4033. Microsoft's article shows this event with the opening sentence of 4032 and with Negotiated Flags, Session Key Status and Channel Binding lines; the template that ships with Windows has the wording of the title, none of those three lines, and Target Machine and Target Domain instead. The fields below are the template's.
How to turn it on
Microsoft-Windows-Security-Netlogon writes the event to the NTLM operational log (Event Viewer > Applications and Services Logs > Microsoft > Windows > NTLM > Operational), which is on by default. Microsoft
The log itself is on by default. What Windows writes to it depends on two sets of policies.
Enhanced NTLM auditing exists on Windows 11 version 24H2 and later and Windows Server 2025, and on Windows Server 2022 and 2019 with the Windows updates released on or after October 13, 2026. It writes an event for each NTLM authentication: 4020 and 4021 on the client that sends it, 4022 and 4023 on the computer that receives it, and on domain controllers 4030 to 4033 for the authentications they process for the domain. Each audit comes as two event IDs with the same fields: an Information one, and a Warning one when Windows sees a downgrade of NTLM security such as NTLMv1, Extended Protection for Authentication marked as not supported or insecure, or no message integrity check. Microsoft says these events are enabled by default. Two Administrative Templates policies control them: NTLM Enhanced Logging (System > NTLM) for the client and server events, and Log Enhanced Domain-wide NTLM Logs (System > Netlogon) for the domain controller events. Enhanced auditing does not change the older audit events below.
The Restrict NTLM audit policies (Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options) write the older audit events, and only where they are set; none of them audits by default. Network security: Restrict NTLM: Audit NTLM authentication in this domain on domain controllers writes event 8004; its Enable all option logs all incoming NTLM traffic of the domain controller, and it takes effect without a restart. Network security: Restrict NTLM: Audit Incoming NTLM Traffic makes a server log the incoming NTLM authentications the matching deny option would block, and Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers set to Audit all makes a client log each NTLM authentication it sends to a remote server. Microsoft advises watching the size of the log while these policies are on: wevtutil gl shows the maximum size (maxSize, in bytes) and wevtutil sl "Microsoft-Windows-NTLM/Operational" /ms:<bytes> changes it.
wevtutil gl "Microsoft-Windows-NTLM/Operational"wevtutil qe "Microsoft-Windows-NTLM/Operational" /c:5 /rd:true /f:textFields
In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.
| Field | What it holds | Since |
|---|---|---|
DCName | Name of the domain controller that processed the authentication and wrote the event: the DC of the event's first sentence. | v0 |
Client NameAccountNameClient Information | Account that authenticated (Client Name), an account of this domain. Computer accounts end with $. | v0 |
Client DomainAccountDomainClient Information | Domain of that account (Client Domain): this domain. | v0 |
Client MachineAccountMachineClient Information | Workstation the account authenticated from (Client Machine). KB5064479 shows the label without describing it. In NTLM the workstation name is one the client chooses to send (MS-NLMP), so expect that it can be empty or false. The event has no client address. | v0 |
Server NameServerNameServer Information | Server the client authenticated to (Server Name), in the other domain. | v0 |
Server DomainServerDomainServer Information | Domain of that server (Server Domain). | v0 |
Secure Channel TypeForwarderTypeForwarded From | Type of the Netlogon secure channel the request arrived on (Secure Channel Type). Microsoft's example shows a placeholder only, so the wording of its values is not documented. | v0 |
Farside NameForwarderNameForwarded From | Domain controller of the other domain that passed the request on (Farside Name). | v0 |
Farside DomainForwarderDomainForwarded From | Domain of that domain controller (Farside Domain). | v0 |
Farside IPForwarderIPForwarded From | Address of that domain controller (Farside IP). It is not the client's address. | v0 |
NTLM VersionNtlmVersionNTLM Security | NTLMv2 or NTLMv1 (NTLM Version). An NTLMv1 authentication takes the Warning ID, 4031. | v0 |
Service BindingServiceBindingNTLM Security | Service principal name the client bound the authentication to (Service Binding), for example cifs/resfs01.res.example.com. | v0 |
Target MachineTargetMachineNTLM Security | Target machine recorded with the authentication (Target Machine). Not in Microsoft's example, so its source is not documented. | v0 |
Target DomainTargetDomainNTLM Security | Target domain recorded with the authentication (Target Domain). Not in Microsoft's example either. | v0 |
Mic StatusNTLM Security | Protected or Unprotected (shown as Mic Status): whether the client sent a message integrity check. | v0 |
Flags valuesAvFlagsNTLM Security | MsvAvFlags value of the authentication, in hexadecimal (shown as Flags values). MS-NLMP defines 0x1 (account authentication is constrained), 0x2 (the client provides a MIC) and 0x4 (the target name came from an untrusted source). | v0 |
FlagsAvFlagsStrNTLM Security | The same flags as text (shown as Flags). Microsoft does not document its wording. | v0 |
StatusNTLM Security | Result of the authentication as an NTSTATUS code in hexadecimal (Status): 0x0 when it succeeded. | v0 |
StatusMsg | The same result as text. The template defines the field but this event's message does not show it, so it appears in the event XML only. | v0 |
Values to know
Status
| Value | Meaning | Signal |
|---|---|---|
0x0 | The authentication succeeded | Expected |
Any other value | The authentication failedAn NTSTATUS code. Microsoft says the domain controller logs failed attempts too. | Failure |
Client Name AccountName
| Value | Meaning | Signal |
|---|---|---|
A privileged account | A member of an administrative group such as Domain AdminsNTLM use by an administrative account across a trust is worth knowing about. Check that the server and the client machine are ones that account is expected to use. | Worth knowing |
Any other account | A user or service account of this domain | Expected |
Farside Name ForwarderName
| Value | Meaning | Signal |
|---|---|---|
A domain controller of a trusted domain | The request reached this domain over a trustFarside IP is that domain controller's address, not the client's. | Expected |
Volume and noise
Only domain controllers with enhanced NTLM auditing write it, and only for authentications of the domain's accounts that cross a trust. In a forest with several domains, or with external and forest trusts, every NTLM sign-in of a user to a server of another domain shows up here, and it repeats for the same client machine and server. Most of it is ordinary NTLM use that has not moved to Kerberos.
Keeping it manageable
- No rule reads 4030. Keep it where you want to know which accounts of the domain use NTLM to reach servers in other domains, for example before restricting NTLM across a trust.
- Group the events by
ServerDomainandForwarderName: they show through which trusts and domain controllers the NTLM traffic of your accounts arrives. - Repeated failures (
Statusother than0x0) for many accounts through the sameForwarderNameare worth a look: the attempts come from the other domain. - Where volume is the limit, keep the Warning events only:
Microsoft-Windows-NTLM/Operational!*[System[(EventID=4031 or EventID=4033)]].
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Netlogon" Guid="{e5ba83f6-07d0-46b1-8bc7-7e669a1d31dc}" />
<EventID>4030</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>2</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Microsoft-Windows-NTLM/Operational</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="DCName">DC01</Data>
<Data Name="AccountName">alice</Data>
<Data Name="AccountDomain">CORP</Data>
<Data Name="AccountMachine">WS042</Data>
<Data Name="ServerName">RESFS01</Data>
<Data Name="ServerDomain">RES</Data>
<Data Name="ForwarderType">TrustedDnsDomainSecureChannel</Data>
<Data Name="ForwarderName">RESDC01</Data>
<Data Name="ForwarderDomain">res.example.com</Data>
<Data Name="ForwarderIP">10.40.0.10</Data>
<Data Name="NtlmVersion">NTLMv2</Data>
<Data Name="ServiceBinding">cifs/resfs01.res.example.com</Data>
<Data Name="TargetMachine">RESFS01</Data>
<Data Name="TargetDomain">RES</Data>
<Data Name="Mic Status">Protected</Data>
<Data Name="AvFlags">0x2</Data>
<Data Name="AvFlagsStr">MIC Provided</Data>
<Data Name="Status">0x0</Data>
<Data Name="StatusMsg">0</Data>
</EventData>
</Event>Attacks this event reveals
No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).
Frequently asked questions
What is the difference between events 4030 and 4032?
Both are Information events of enhanced NTLM auditing on domain controllers. 4032 is written by a domain controller of the server's domain, which includes every authentication where the account and the server are in the same domain. 4030 is written for a cross-domain authentication by a domain controller of the account's domain, and names the domain controller of the other domain that forwarded it.
Does event 4030 show the client's IP address?
No. It names the client machine, and in NTLM the workstation name is one the client chooses to send (MS-NLMP). Farside IP is the address of the forwarding domain controller in the other domain. For the client's address, read the server's own event 4022 or 4023, or its logon event 4624, whose Source Network Address is filled when the service that received the logon passed it to Windows.
Why does Microsoft's example of event 4030 read differently from the event on my domain controller?
KB5064479 shows 4030 and 4031 with the opening sentence of the same-domain event and with Negotiated Flags, Session Key Status and Channel Binding lines. The template that ships with Windows says "processed a network NTLM authentication involving an account from this domain" and has Target Machine and Target Domain instead of those three lines. Parse the event by its XML field names, not by Microsoft's example text.