When it is written
Windows writes 4720 each time a new user object is created. A domain controller writes it for a new domain account; a member server or workstation writes it for a new local account in its own account database. Microsoft lists it as a success event only, so there is no failure variant to collect.
Besides the creator (Subject) and the new account, the event lists the attributes the account was created with: names, paths, password and expiry dates, primary group, delegation list, SID History and the account control flags. The flags appear twice: as the SAM flag value (New UAC Value) and as one %% code per flag that was set (User Account Control). Microsoft's sample events show a domain account created disabled with Password Not Required set, and a 4738 for the same account a moment later that clears that flag: expect follow-up 4738 events while a tool finishes setting up a new account.
How to turn it on
Advanced audit policy subcategory Audit User Account Management, 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 > 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: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 created the new account. Event Viewer resolves it to a name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that created the new account. | 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 creator's session, in hexadecimal. The logon event of that session (4624) on the same computer carries the same value. | v0 |
Security IDTargetSidNew Account | SID of the new account. Event Viewer resolves it to a name when it can. Its last part is the relative identifier (RID). | v0 |
Account NameTargetUserNameNew Account | Name of the new account (shown as Account Name under New Account). | v0 |
Account DomainTargetDomainNameNew Account | Domain of the new account, as a NetBIOS or DNS name. For a local account, the name of the computer the account was created on. | v0 |
SAM Account NameSamAccountNameAttributes | Logon name of the new account (sAMAccountName, the pre-Windows 2000 name); for a local account, its name. Microsoft flags an empty value or a dash as an anomaly. | v0 |
Display NameDisplayNameAttributes | The displayName attribute, usually first name, initial and last name. Local accounts put their Full Name here, which is typically | v0 |
User Principal NameUserPrincipalNameAttributes | The userPrincipalName attribute, an internet-style logon name such as bob@corp.example.com. A dash for local accounts. Microsoft notes that a new domain account normally has one. | v0 |
Home DirectoryHomeDirectoryAttributes | The homeDirectory attribute (a UNC path when a home drive is set). A dash when not captured; | v0 |
Home DriveHomePathAttributes | The homeDrive attribute, shown as Home Drive: the drive letter the home directory is mapped to, such as H:. The field name differs from the label. | v0 |
Script PathScriptPathAttributes | The scriptPath attribute, the logon script the account runs at logon. Normally a dash for a new domain account; a value deserves a look. | v0 |
Profile PathProfilePathAttributes | The profilePath attribute, a local or UNC path to a roaming profile. Normally a dash for a new domain account. | v0 |
User WorkstationsUserWorkstationsAttributes | The userWorkstations attribute: the computers the account may log on from, comma separated. Normally a dash; not applicable to local accounts. | v0 |
Password Last SetPasswordLastSetAttributes | The pwdLastSet attribute as a date and time, or | v0 |
Account ExpiresAccountExpiresAttributes | The accountExpires attribute as a date, or | v0 |
Primary Group IDPrimaryGroupIdAttributes | Relative identifier (RID) of the account's primary group, normally 513 (Domain Users, or Users for a local account). | v0 |
Allowed To Delegate ToAllowedToDelegateToAttributes | The msDS-AllowedToDelegateTo attribute: the service principal names the account may present delegated credentials to (constrained delegation). Normally a dash for a new account; a dash for local accounts. | v0 |
Old UAC ValueOldUacValueAttributes | Account flags before the operation, in hexadecimal. Microsoft says it is always 0x0 for a new account. | v0 |
New UAC ValueNewUacValueAttributes | Account flags of the new account in hexadecimal, as the SAM USER_ACCOUNT codes of MS-SAMR (not the userAccountControl bits of Active Directory). For example 0x15 is disabled (0x1), password not required (0x4) and normal account (0x10). | v0 |
User Account ControlUserAccountControlAttributesRead by 1 rule | One %% code per flag that differs from the old value, separated by spaces, for example %%2080 %%2082 %%2084. Event Viewer shows each code as text such as 'Password Not Required' - Enabled. The codes come from the Windows message file msobjs.dll; Microsoft's event pages do not list them. | v0 |
User ParametersUserParametersAttributes | The userParameters attribute, which holds dial-in settings among others. Shown as <value changed, but not displayed> (%%1792) when set, a dash when not captured, | v0 |
SID HistorySidHistoryAttributes | The sIDHistory attribute, the SIDs the account held in another domain. A dash unless the account was migrated. | v0 |
Logon HoursLogonHoursAttributes | The logonHours attribute: when the account may log on. Typically | v0 |
PrivilegeList | Privileges used for the operation, such as SeBackupPrivilege. Usually a dash, because Windows does not always capture them. | v0 |
Values to know
User Account Control UserAccountControl
| Value | Meaning | Signal |
|---|---|---|
%%2080 | Account DisabledAccounts are often created disabled and enabled later (4722). Microsoft's sample shows one. | Expected |
%%2084 | 'Normal Account' - EnabledThe flag of every ordinary user account. | Expected |
%%2082 | 'Password Not Required' - EnabledMicrosoft's sample events show an account created with this flag and a 4738 for the same account a moment later that clears it (%%2050). If no such 4738 follows, the password length policy does not apply to the account. | Noise |
%%2091 | 'Encrypted Text Password Allowed' - EnabledStore password using reversible encryption: the password is kept in a form that can be turned back into clear text. The reversible encryption rule looks for this code. | Attack signal |
%%2096 | 'Don't Require Preauth' - EnabledThe account can get a ticket-granting ticket without proving it knows the password, which exposes data encrypted with its key to offline guessing (AS-REP roasting). Microsoft notes that accounts made with Active Directory Users and Computers do not have it by default. | Attack signal |
%%2093 | 'Trusted For Delegation' - EnabledUnconstrained delegation. Microsoft notes that it is set by default only on new domain controllers, not on new user accounts. On a domain account, setting it takes the Enable computer and user accounts to be trusted for delegation user right (SeEnableDelegationPrivilege), which Microsoft lists for the Administrators group on domain controllers by default. | Attack signal |
%%2098 | 'Trusted To Authenticate For Delegation' - EnabledDelegation with protocol transition. Not set by default on accounts made with Active Directory Users and Computers. | Attack signal |
%%2095 | 'Use DES Key Only' - EnabledLimits the account to DES keys in Kerberos. Not set by default on accounts made with Active Directory Users and Computers. | Attack signal |
%%2088 | 'Server Trust Account' - EnabledThe domain controller flag. Microsoft says it should never be set on a user account. | Attack signal |
Primary Group ID PrimaryGroupId
| Value | Meaning | Signal |
|---|---|---|
513 | Domain Users (Users for a local account)The usual primary group of a new user account. | Expected |
512, 516, 518, 519, 526 or 527 | Domain Admins, Domain Controllers, Schema Admins, Enterprise Admins, Key Admins, Enterprise Key AdminsThe primary group is a group membership, so the new account starts as a member of a privileged group. Microsoft recommends watching every value other than 513. | Attack signal |
Any other value | Another primary groupUnusual for a new account; check which group the RID belongs to. | Worth knowing |
SID History SidHistory
| Value | Meaning | Signal |
|---|---|---|
- | No SID HistoryMicrosoft says the field is always a dash unless the account was migrated from another domain. | Expected |
One or more SIDs | The account was created with SID HistoryThe account gets the access of those SIDs at logon. Outside a domain migration there is no reason for it; see 4765. | Attack signal |
Volume and noise
Microsoft rates the volume of the subcategory as low, and 4720 follows the pace of account creation: onboarding, service accounts, identity management and provisioning jobs on domain controllers, and administrators or setup tools creating local accounts on servers and workstations.
On member servers and workstations new local accounts are rare in a managed estate, so each one stands out. On domain controllers, most events come from a small set of provisioning accounts in Subject.
Keeping it manageable
- Keep every 4720: the volume is low, Microsoft notes that some organizations monitor every one, and the reversible encryption rule reads
UserAccountControlof each event. - Group domain creations by
SubjectUserSidto separate your provisioning jobs from accounts made by hand, and alert on new local accounts on domain-joined servers and administrative workstations, where they are rare. - Compare new accounts with what your tools normally set. Microsoft flags as unusual at creation: a
PrimaryGroupIdother than 513, a value inAllowedToDelegateTo,SidHistory,ScriptPathorUserWorkstations, anOldUacValueother than 0x0, and anAccountExpiresother than never. - Match accounts by
TargetSidandSubjectUserSidrather than by name: names can change (4781), SIDs do not.
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>4720</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>
<Data Name="PrivilegeList">-</Data>
<Data Name="SamAccountName">bob</Data>
<Data Name="DisplayName">Bob Example</Data>
<Data Name="UserPrincipalName">bob@corp.example.com</Data>
<Data Name="HomeDirectory">-</Data>
<Data Name="HomePath">-</Data>
<Data Name="ScriptPath">-</Data>
<Data Name="ProfilePath">-</Data>
<Data Name="UserWorkstations">-</Data>
<Data Name="PasswordLastSet">%%1794</Data>
<Data Name="AccountExpires">%%1794</Data>
<Data Name="PrimaryGroupId">513</Data>
<Data Name="AllowedToDelegateTo">-</Data>
<Data Name="OldUacValue">0x0</Data>
<Data Name="NewUacValue">0x15</Data>
<Data Name="UserAccountControl">%%2080 %%2082 %%2084</Data>
<Data Name="UserParameters">-</Data>
<Data Name="SidHistory">-</Data>
<Data Name="LogonHours">%%1793</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
Who created this account?
The Subject fields: `SubjectUserName` and `SubjectUserSid` name the account that created it, and `SubjectLogonId` matches the logon event (4624) of that session on the same computer, which tells you how and from where the creator logged on.
Why does a new account show Password Not Required?
Microsoft's own sample events show a domain account created with 'Password Not Required' - Enabled (%%2082) and a 4738 for the same account a moment later that clears it (%%2050). The flag at creation is normal; an account that keeps it, with no such 4738, does not follow the password length policy.
Is 4720 written for computer accounts?
No. A new computer account is event 4741, which only domain controllers write under Audit Computer Account Management. 4720 is for user objects.
Which values in a 4720 point to an attack?
Flags that Microsoft says accounts made with Active Directory Users and Computers do not have by default, or should never have: reversible password encryption (%%2091), no Kerberos pre-authentication (%%2096), unconstrained delegation (%%2093), Server Trust Account (%%2088). Also a privileged primary group, SID History, or a delegation list at creation. The library's rule on this event reads %%2091; the other flags are read when they change, in 4738 and 4742.
References
- 4720(S): A user account was created (Microsoft)
- Audit User Account Management (Microsoft)
- 4738(S): A user account was changed (Microsoft)
- [MS-SAMR] 2.2.1.12 USER_ACCOUNT Codes (Microsoft)
- Audit Computer Account Management (Microsoft)
- Enable computer and user accounts to be trusted for delegation (Microsoft)