When it is written
Windows writes 4723 each time an account attempts to change a password by giving the current one, usually its own: Microsoft notes that Subject and Target Account are normally the same account. Domain controllers write it for domain accounts, member servers and workstations for their local accounts. Setting a new password without the old one is a reset, event 4724.
A change that succeeds is an Audit Success event. The Failure event differs by account type. For a domain account it is written only when the new password does not meet the password policy; when the old password is wrong, the domain controller writes a Kerberos pre-authentication failure (4771) or a credential validation event (4776) instead, if those subcategories are audited. For a local account a Failure event covers both a policy refusal and a wrong old password.
No rule reads 4723. A detection logic hypothesis on the policy weakening page lists the password changes (4723) and resets (4724) made between a change of the domain password policy (4739) and its reversal.
How to turn it on
Advanced audit policy subcategory Audit User Account Management, Success and Failure. 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 > Account Management > Audit User Account Management| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success and Failure | Microsoft's general and stronger baselines both recommend Success and Failure auditing. Microsoft calls the subcategory useful for watching critical domain accounts (domain admins, service accounts, database admins) and recommends Failure auditing mainly for invalid password change and reset attempts on domain accounts, failed changes of the DSRM password and failed SID History additions. |
| Member servers | Success and Failure | Both baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts. |
| Workstations | Success and Failure | Both baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts. |
auditpol /get /subcategory:"User Account Management"auditpol /set /subcategory:"User Account Management" /success:enable /failure:enableauditpol /get /subcategory:"{0CCE9235-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 |
|---|---|---|
Security IDSubjectUserSidSubject | SID of the account that attempted the change, usually the same as TargetSid. Event Viewer resolves it to a name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that attempted the change. | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account, or the computer name for a local account. NT AUTHORITY for well-known principals such as LOCAL SERVICE. | v0 |
Logon IDSubjectLogonIdSubject | Logon ID of the session that attempted the change, in hexadecimal. The logon event of that session (4624) on the same computer carries the same value. | v0 |
Security IDTargetSidTarget Account | SID of the account whose password was to be changed. Event Viewer resolves it to a name when it can. Its last part is the relative identifier (RID), 500 for the built-in Administrator. | v0 |
Account NameTargetUserNameTarget Account | Name of the account whose password was to be changed. | v0 |
Account DomainTargetDomainNameTarget Account | Domain of that account, as a NetBIOS or DNS name. For a local account, the name of the computer it belongs to. | v0 |
PrivilegeList | Privileges used for the operation. Usually a dash, because Windows does not always capture them. | v0 |
Values to know
Security ID SubjectUserSid
| Value | Meaning | Signal |
|---|---|---|
Same as TargetSid | The account changed its own passwordWhat Microsoft describes as the normal case. | Expected |
Different from TargetSid | Another account changed the password, knowing the old oneNot a reset: the subject supplied the current password. Possible through the Microsoft Entra Connect connector account where password writeback is enabled; otherwise find out how the subject knew the password. | Worth knowing |
Security ID TargetSid
| Value | Meaning | Signal |
|---|---|---|
Ends with -500 | The built-in Administrator accountMatched by SID so that a renamed account is covered. Microsoft recommends watching every password change attempt of high-value accounts. | Worth knowing |
A service account or another account whose password should not change | An unplanned changeMicrosoft suggests watching these accounts by SID. A change outside a planned rotation can break the services that use the account and should be explained. | Worth knowing |
Any other account | An ordinary password change | Expected |
Volume and noise
Microsoft rates the volume of the subcategory as low. Most 4723 events are users changing their own password when it expires or when an administrator required a change at the next sign-in. Failures for domain accounts are new passwords the policy refused, for example too short or used before.
Keeping it manageable
- Collect 4723 from every domain controller: the change is written only by the domain controller that handled it, and the hypothesis needs the changes made between two policy changes.
- As Microsoft recommends, watch every change attempt for high-value accounts and for accounts whose password should never change, such as some service accounts, by
TargetSid. - Do not look for password guessing in 4723 failures of domain accounts: a wrong old password is written as 4771 or 4776, which the guessing rules count.
- Review the events whose
SubjectUserSiddiffers fromTargetSid. Where password writeback is enabled the Microsoft Entra Connect connector account holds the Change password right; otherwise an account changing another account's password with its old password should be explained.
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>4723</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13824</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="TargetUserName">alice</Data>
<Data Name="TargetDomainName">CORP</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
<Data Name="SubjectUserName">alice</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x2c4e81</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>Attacks this event reveals
Detection logic (hypotheses that join this event with others) for:
Frequently asked questions
What is the difference between 4723 and 4724?
4723 is a password change: the caller supplies the old password, and Subject and Target are usually the same account. 4724 is a reset: one account sets a new password on another without knowing the old one. A change by an account other than the owner is the rarer case and worth a look.
Why is there no 4723 failure when a domain user types the wrong old password?
Microsoft documents the failure variant for domain accounts only for a new password that breaks the policy. A wrong old password is checked like a sign-in, so the domain controller writes a Kerberos pre-authentication failure (4771) or a credential validation event (4776), provided Audit Kerberos Authentication Service or Audit Credential Validation is enabled. For local accounts a wrong old password is a 4723 failure.
Which 4723 events should I alert on?
Microsoft suggests watching every attempt against high-value accounts and against accounts whose password should never be changed, by Target Account Security ID. For everything else 4723 is context: who changed which password, and when, next to the logons and resets around it.
References
- 4723(S, F): An attempt was made to change an account's password (Microsoft)
- Audit User Account Management (Microsoft)
- 4724(S, F): An attempt was made to reset an account's password (Microsoft)
- 4771(F): Kerberos pre-authentication failed (Microsoft)
- 4776(S, F): The computer attempted to validate the credentials for an account (Microsoft)
- Enable Microsoft Entra password writeback, account permissions (Microsoft)