When it is written
Windows writes 4724 each time an account attempts to reset the password of another account, that is, to set a new password without supplying the old one. Domain controllers write it for domain accounts, member servers and workstations for their local accounts. Microsoft notes that a reset of a computer account writes it too. When an account changes its own password with the old one, Windows writes 4723 instead.
A reset that succeeds is an Audit Success event. A Failure event is written when the new password does not meet the password policy (the domain policy for domain accounts, the local policy for local accounts). Microsoft notes that no Failure event is written when the reset is refused with Access Denied, so an account that lacks the right to reset passwords leaves no 4724 at all. In Active Directory that right is the Reset Password extended right (User-Force-Change-Password) on the target account, which Microsoft defines for user, computer, managed service account and inetOrgPerson objects.
The event names the account that made the reset (Subject) and the account whose password was reset (Target Account), nothing else. A successful reset also changes the account's Password Last Set, which 4738 shows.
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
Success events need Success auditing of Audit User Account Management, and Failure events (a new password that the password policy rejected) need Failure auditing. Microsoft's Advanced Audit Policy Configuration page lists Success as the default of this subcategory, so failed resets are not recorded until Failure auditing is turned on.
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 made the reset. Event Viewer resolves it to a name when it can. | v0 |
Account NameSubjectUserNameSubjectRead by 2 rules | Name of the account that made the reset. | 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 made the reset, in hexadecimal. The logon event of that session (4624) on the same computer carries the same value. | v0 |
Security IDTargetSidTarget AccountRead by 1 rule | SID of the account whose password was reset. Event Viewer resolves it to a name when it can. Its last part is the relative identifier (RID), 500 for the built-in Administrator and 502 for krbtgt. | v0 |
Account NameTargetUserNameTarget AccountRead by 1 rule | Name of the account whose password was reset. Computer accounts end with $. | 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 |
Values to know
Security ID TargetSid
| Value | Meaning | Signal |
|---|---|---|
Ends with -500 | The built-in Administrator accountMatched by SID so that a renamed account is covered. The privileged account reset rule looks for it. | Attack signal |
Ends with -502 | The krbtgt accountThe key derived from its password encrypts the ticket-granting tickets of the domain's writable domain controllers. A planned rotation also writes this event; confirm it against a change record. | Attack signal |
Any other SID | Any other accountAdd your own Tier 0 accounts to the watchlist; a reset by someone outside Tier 0 is a takeover. | Expected |
Account Name SubjectUserName
| Value | Meaning | Signal |
|---|---|---|
Starts with MSOL_ | The AD DS Connector account of Microsoft Entra Connect (express installation)Expected for every cloud reset where password writeback is enabled. Where writeback is not used, the connector account has no reason to reset passwords. The connector account rule looks for this prefix. | Attack signal |
Same account for many targets within minutes | Bulk reset by one accountThe mass reset rule counts 10 or more distinct accounts in 10 minutes, a starting value to tune. | Attack signal |
Account Name TargetUserName
| Value | Meaning | Signal |
|---|---|---|
Ends with $ | A computer accountAn administrator reset the computer account. Not counted by the mass reset rule. | Expected |
Volume and noise
Microsoft rates the volume of the subcategory as low. Ordinary resets come from the help desk, identity management and provisioning tools, administrators resetting computer accounts, planned rotations of service and krbtgt passwords, and, where Microsoft Entra password writeback is enabled, every self-service and help desk reset made in the cloud. Microsoft says a written-back reset is made directly in AD DS and requires the Reset password permission on the AD DS Connector account of Microsoft Entra Connect Sync, or on the group managed service account of the provisioning agent with Microsoft Entra Cloud Sync, so expect that account as Subject; Microsoft's writeback pages do not show the event itself.
Expect computer account resets from domain joins too. When a join reuses an existing computer account, Microsoft lists the account's password among the attributes the join updates with the credentials of the account doing the join, which needs the Reset password permission on the computer object.
Keeping it manageable
- Keep every 4724, successes and failures: the mass reset rule counts the distinct accounts one
SubjectUserNameresets in 10 minutes, and filtering events at collection time breaks it. Computer accounts are already left out by the rule (names ending with$). - Where password writeback is enabled, resets by the connector account (
SubjectUserNamestarting withMSOL_in an express installation) are the normal path of cloud resets. Judge them together with the Entra audit log rather than excluding the account; where writeback is not used, raise the connector account rule. A custom installation uses a connector account you name and Cloud Sync a group managed service account: theMSOL_prefix matches neither, so watch those accounts bySubjectUserSid. Where Cloud Sync and Connect Sync both serve a domain, Microsoft says all writeback for that domain goes through the Cloud Sync agent, so a reset by theMSOL_account is not expected there either. - For planned resets of the built-in Administrator or krbtgt, suppress the alert for the change window and the administrator's
SubjectUserSid, not by removing the -500 and -502 match. - Raise the mass reset threshold above what your own help desk and identity tools produce, measured per
SubjectUserSid, instead of excluding those accounts entirely. - Microsoft recommends watching every 4724 for local accounts on critical servers and administrative workstations, because local passwords rarely change.
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>4724</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">bob</Data>
<Data Name="TargetDomainName">CORP</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1121</Data>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
<Data Name="SubjectUserName">adm-alice</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x3a7f21</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Detection logic (hypotheses that join this event with others) for:
Frequently asked questions
What is the difference between 4723 and 4724?
4723 is written when an account changes its own password and supplies the old one; Subject and Target are usually the same account. 4724 is a reset: one account sets a new password on another without the old one. A reset by someone other than the owner or the help desk is the one to look at.
Why is there no 4724 when a reset is refused?
Microsoft notes that no Failure event is written when the reset fails with Access Denied. The failure variant only reports passwords that the password policy rejected. An account trying to reset passwords it has no right to reset does not show up here.
Why do I see password resets by an account named MSOL_?
That is the AD DS Connector account that Microsoft Entra Connect creates in an express installation, with the right to reset passwords for password writeback. With writeback on, every cloud reset reaches the domain controllers through it. Without writeback, a reset by that account means someone is using its credentials.
Does a reset of krbtgt always mean an attack?
No. Microsoft recommends changing the krbtgt password on a regular schedule and resetting it during recovery from a compromise, and asks you to check that the domain controller then writes event 9 of the Key-Distribution-Center source to the System log. Check the change record and the account that made the reset; an unplanned reset, or one by an account outside Tier 0, is the alert.
References
- 4724(S, F): An attempt was made to reset an account's password (Microsoft)
- Audit User Account Management (Microsoft)
- 4723(S, F): An attempt was made to change an account's password (Microsoft)
- 4738(S): A user account was changed (Microsoft)
- Microsoft Entra Connect: Accounts and permissions (Microsoft)
- Active Directory accounts (Microsoft)
- User-Force-Change-Password extended right, Reset Password (Microsoft)
- Advanced Audit Policy Configuration settings (Microsoft)
- How does self-service password reset writeback work in Microsoft Entra ID? (Microsoft)
- Tutorial: Enable cloud sync self-service password reset writeback to an on-premises environment (Microsoft)
- Active Directory domain join permissions (Microsoft)
- 4692(S, F): Backup of data protection master key was attempted (Microsoft)
- 4693(S, F): Recovery of data protection master key was attempted (Microsoft)