When it is written
Windows writes 4739 when the account policies of an account database change: the Password Policy, the Account Lockout Policy, the security option Network security: Force logoff when logon hours expire, or other domain attributes such as the machine account quota (ms-DS-MachineAccountQuota) and the domain functional level. Change Type (DomainPolicyChanged) names the policy: Password Policy, Lockout Policy or Logoff Policy, shown with the word "modified", and Microsoft says it is a dash when the machine account quota changed.
On a domain controller the policy is the domain's, set in a Group Policy object linked to the domain. In Microsoft's sample the subject is the domain controller itself (SYSTEM, shown with its computer account), so the administrator who edited the policy object is not in the event. Microsoft lists no required server role and describes the event in terms of the computer's security policy, so member servers and workstations write it for changes to their local account policies as well. The event has no failure version.
Each changed setting holds its new value and every other setting a dash. The event never shows the old value.
How to turn it on
Advanced audit policy subcategory Audit Authentication Policy Change, Success. Set it in a Group Policy object linked to the computers that write the event:
Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Policy Change > Audit Authentication Policy Change| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records operations on domain and forest trusts and changes to the Kerberos policy. The subcategory has no failure events. |
| Member servers | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records changes to logon rights and to the password policy. The subcategory has no failure events. |
| Workstations | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records changes to logon rights and to the password policy. The subcategory has no failure events. |
auditpol /get /subcategory:"Authentication Policy Change"auditpol /set /subcategory:"Authentication Policy Change" /success:enableauditpol /get /subcategory:"{0CCE9230-69AE-11D9-BED3-505054503030}"Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference
Fields
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 |
|---|---|---|
DomainPolicyChangedRead by 1 rule | The policy that changed (shown as Change Type, followed by the word modified): Password Policy, Lockout Policy or Logoff Policy. Microsoft says it is a dash when the machine account quota changed. The general change rule matches Password Policy and Lockout Policy. | v0 |
Security IDSubjectUserSidSubject | SID of the account that changed the policy. S-1-5-18 (SYSTEM) when the computer applied the policy from Group Policy, as in Microsoft's sample. Event Viewer shows it resolved to a name. | v0 |
Account NameSubjectUserNameSubject | Name of that account. With SYSTEM, the computer account (a name ending with $). | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account, usually as a NetBIOS name. | v0 |
Logon IDSubjectLogonIdSubject | Logon ID of the session that made the change, in hexadecimal. 0x3e7 is the SYSTEM session. | v0 |
Domain NameDomainNameDomain | Name of the domain whose policy changed, as a NetBIOS name in Microsoft's sample. On a member server or workstation, the computer's own account database. | v0 |
Domain IDDomainSidDomain | SID of that domain (shown as Domain ID). Event Viewer tries to resolve it to a name. | v0 |
Password AgeMinPasswordAgeChanged Attributes | New value of Minimum password age, or a dash when it did not change. Microsoft documents it only as a numeric value, without a unit. | v0 |
Password AgeMaxPasswordAgeChanged Attributes | New value of Maximum password age, or a dash. Microsoft documents it only as a numeric value, without a unit. | v0 |
Force LogoffForceLogoffChanged Attributes | New value of the security option Network security: Force logoff when logon hours expire, or a dash. Microsoft does not document its format. | v0 |
Lockout ThresholdLockoutThresholdChanged AttributesRead by 1 rule | New value of Account lockout threshold, the number of failed sign-ins before an account is locked, or a dash. 0 means accounts are never locked. | v0 |
Lockout Observation WindowLockoutObservationWindowChanged Attributes | New value of Reset account lockout counter after, or a dash. Microsoft documents it only as a numeric value, without a unit. | v0 |
Lockout DurationLockoutDurationChanged Attributes | New value of Account lockout duration, or a dash. Microsoft documents it only as a numeric value, without a unit. | v0 |
Password PropertiesPasswordPropertiesChanged AttributesRead by 2 rules | New password properties as a decimal number, or a dash. Microsoft's event page documents 0, 1, 16 and 17; the pwdProperties attribute defines the bits, 0x1 complexity and 0x10 reversible encryption among them. | v0 |
Password LengthMinPasswordLengthChanged AttributesRead by 1 rule | New value of Minimum password length, in characters, or a dash. 0 means no password is required. | v0 |
Password History LengthPasswordHistoryLengthChanged Attributes | New value of Enforce password history, the number of previous passwords remembered, or a dash. | v0 |
Machine Account QuotaMachineAccountQuotaChanged AttributesRead by 1 rule | New value of the domain's ms-DS-MachineAccountQuota attribute, the number of computer accounts an authenticated user can create, or a dash. Only meaningful on domain controllers. | v0 |
Mixed Domain ModeMixedDomainModeChanged Attributes | Not described on Microsoft's event page. The name matches the domain's mixed mode setting (nTMixedDomain), which MS-ADTS says is 0 from the Windows Server 2003 domain functional level on. A dash when unchanged. | v0 |
Domain Behavior VersionDomainBehaviorVersionChanged Attributes | New domain functional level (msDS-Behavior-Version), or a dash. 7 is Windows Server 2016 and 10 Windows Server 2025 in MS-ADTS; Microsoft's event page lists 0 to 7. | v0 |
OEM InformationOemInformationChanged Attributes | Not described on Microsoft's event page. The name matches the domain's oEMInformation attribute, which Microsoft's schema reference describes as no longer used. A dash when unchanged. | v0 |
PrivilegesPrivilegeListAdditional Information | Privileges used during the change (shown as Privileges under Additional Information), for example SeBackupPrivilege. A dash when it was not captured, as in Microsoft's sample. | v0 |
Values to know
Lockout Threshold LockoutThreshold
| Value | Meaning | Signal |
|---|---|---|
0 | Accounts are never lockedRead by the lockout rule. It is the default and one of the two configurations Microsoft accepts, but only with complex passwords of 8 or more characters and alerting on failed sign-ins. | Attack signal |
1 to 999 | Failed sign-ins before an account is lockedMicrosoft's security baselines suggest 10 as a starting point. | Expected |
- | Not changed | Worth knowing |
Password Length MinPasswordLength
| Value | Meaning | Signal |
|---|---|---|
0 | No password is requiredRead by the weak length rule. | Attack signal |
1 to 7 | Shorter than Microsoft's recommended minimum of 8Read by the weak length rule. 7 is the default of the Default Domain Policy, so a change to it from a longer value is a weakening. | Attack signal |
8 or more | Meets Microsoft's recommendation of at least 8 | Expected |
- | Not changed | Worth knowing |
Password Properties PasswordProperties
| Value | Meaning | Signal |
|---|---|---|
1 | Complexity on, reversible encryption off | Expected |
0 | Complexity off, reversible encryption offRead by the complexity rule, which treats every even value as complexity off. | Attack signal |
16 | Reversible encryption on, complexity offRead by the reversible encryption rule and the complexity rule. | Attack signal |
17 | Reversible encryption on, complexity onRead by the reversible encryption rule, which looks for the 0x10 bit in any value. | Attack signal |
Machine Account Quota MachineAccountQuota
| Value | Meaning | Signal |
|---|---|---|
0 | Users cannot create computer accounts through the quotaThe hardened value. | Expected |
10 | The default number of computer accounts an authenticated user can createThe default Microsoft documents. The rule reports a change to it. | Worth knowing |
Any value above 0 | The quota was raisedRead by the machine account quota rule. The rule fires on any change to a positive value, since a dash means no change. | Attack signal |
Volume and noise
Low. Account policies change rarely, mostly when an administrator edits the Default Domain Policy or the local security policy of a computer. Microsoft gives the event a potential criticality of Medium in its list of Active Directory events to monitor and recommends an alert on every change to these settings.
Keeping it manageable
- Keep every 4739 from domain controllers. Five rules read it: the lockout threshold set to 0, a change to the password or lockout policy (
DomainPolicyChanged), a minimum length below 8 or complexity switched off, the machine account quota set above 0, and reversible encryption switched on (PasswordProperties). - Scope the rules to domain controllers, or filter on
DomainNameequal to your domains. On member servers and workstations the same event records local policy changes, whereDomainNameis the computer's own account database. - Because the event holds no old value, keep the last value seen for each setting per domain. Then you can tell a weakening from a hardening change.
- Treat the general change rule (password or lockout policy changed) as context and alert on the specific weakening rules.
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-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
<EventID>4739</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Security</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="DomainPolicyChanged">Password Policy</Data>
<Data Name="DomainName">CORP</Data>
<Data Name="DomainSid">S-1-5-21-1004336348-1177238915-682003330</Data>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC01$</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="PrivilegeList">-</Data>
<Data Name="MinPasswordAge">-</Data>
<Data Name="MaxPasswordAge">-</Data>
<Data Name="ForceLogoff">-</Data>
<Data Name="LockoutThreshold">-</Data>
<Data Name="LockoutObservationWindow">-</Data>
<Data Name="LockoutDuration">-</Data>
<Data Name="PasswordProperties">-</Data>
<Data Name="MinPasswordLength">14</Data>
<Data Name="PasswordHistoryLength">-</Data>
<Data Name="MachineAccountQuota">-</Data>
<Data Name="MixedDomainMode">-</Data>
<Data Name="DomainBehaviorVersion">-</Data>
<Data Name="OemInformation">-</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
Does event 4739 show the old value of a setting?
No. A changed setting holds its new value and every other setting a dash. To tell a weakening from a hardening change, compare with your baseline or with the last value you recorded for the same setting.
Why does event 4739 name the domain controller and not the person who changed the policy?
The domain controller applies the domain policy from Group Policy under its own SYSTEM account, as in Microsoft's sample event. The person who made the change edited the Group Policy object, so look for that change (event 5136 on the policy object or a new policy version in SYSVOL) shortly before the event.
What does a 4739 with a dash as Change Type mean?
Microsoft says the Change Type is a dash when the domain's machine account quota (ms-DS-MachineAccountQuota) changed. Read MachineAccountQuota for the new value; the default is 10, and a hardened domain uses 0.
Is event 4739 written for fine-grained password policies?
Microsoft documents 4739 for the account policies of the domain or computer. A fine-grained policy is a Password Settings object in the directory, so its changes appear as directory change events (5136) when an auditing entry covers the Password Settings Container.
References
- 4739(S): Domain Policy was changed (Microsoft)
- Audit Authentication Policy Change (Microsoft)
- Pwd-Properties attribute (Microsoft)
- Account lockout threshold (Microsoft)
- Minimum password length (Microsoft)
- Default limit to number of workstations a user can join to the domain (Microsoft)
- MS-ADTS 6.1.4.3: msDS-Behavior-Version, Domain NC Functional Level (Microsoft)
- OEM-Information attribute (Microsoft)
- Appendix L: Events to Monitor (Microsoft)