Skip to content
SIEMBench
100% Client-Side Tool • Inputs Never Sent to Our Servers

Event ID 4722

Event ID 4722: User Account Enabled

A user account was enabled

Log source
Security
How to enable it
Account Management > Audit User Account Management (Success)
Category
Account Management
Priority
Medium
Typical volume
Low
MITRE ATT&CK

What Event ID 4722 means

4722 means that a disabled account became usable again. It accompanies every new account, so most occurrences follow a 4720 by milliseconds. The ones that stand alone are the ones to read, because they bring an old identity back to life.

A dormant account is attractive to an intruder. It already belongs to groups, its name is known in the directory, and nobody is logging in with it who might notice. Re-enabling one avoids the more conspicuous creation event.

Built-in accounts deserve their own alert. Guest (RID 501) and the local Administrator (RID 500) are disabled by default on modern client systems, and their return on an ordinary workstation is seldom accidental.

Key fields to inspect

FieldMeaningSuspicious when
TargetUserName Account that was enabled. A former employee, Guest, Administrator, or an account unused for months.
TargetSid Security identifier of the account. Endings -500 and -501, or krbtgt's -502, which should never be enabled.
TargetDomainName Domain, or computer for local accounts. A single workstation instead of the domain.
SubjectUserName Who enabled it. An account outside the identity team, or a computer account.
SubjectLogonId Session of the person who enabled it. A session from an unusual address or at night.

Detection queries

List accounts that were enabled without being created in the previous ten minutes. Adjust names and thresholds to your environment. About these queries.

Splunk SPL

index=windows source="XmlWinEventLog:Security" (EventCode=4720 OR EventCode=4722)
| bin _time span=10m AS window
| stats values(EventCode) AS codes values(SubjectUserName) AS actor values(TargetUserName) AS account min(_time) AS time BY window Computer TargetSid
| where isnull(mvfind(codes, "4720"))
| table time Computer actor account TargetSid

Microsoft Sentinel KQL

let created = SecurityEvent
| where EventID == 4720
| project TargetSid, Created = TimeGenerated;
SecurityEvent
| where EventID == 4722
| join kind=leftouter created on TargetSid
| where isnull(Created) or TimeGenerated - Created > 10m
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, TargetSid

PowerShell

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4722; StartTime = (Get-Date).AddDays(-30) } |
  ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
  Select-Object Time, SubjectUserName, TargetUserName, TargetSid | Format-Table -AutoSize

Attack scenarios

Reactivating a leaver's account

The attacker enables a departed employee's account and resets its password. The order is 4722, 4724 and then a 4624 from an address with no history for that person.

Enabling the built-in Administrator

net user administrator /active:yes gives a predictable account with RID 500 that is exempt from some remote restrictions on local accounts. It is common just before ransomware deployment.

Investigation checklist

  1. Check when the account was disabled (4725) and by whom.
  2. Look for a password reset (4724) within minutes.
  3. Find the first logon after it was enabled and review its source.
  4. Confirm with HR or the manager whether the person has returned.

Common benign causes

Event ID 4722 FAQ

Why does 4722 appear right after 4720?

Administrative tools create an account in a disabled state and then enable it. The pair in the same second with the same subject is the normal pattern.

Does unlocking an account create 4722?

No. Unlocking is recorded as 4767. The enabled event concerns the disabled flag and has nothing to do with lockout.

Should I alert on every 4722?

Alert on those without a recent 4720, and on any that involve RID 500 or 501 or an account that has been inactive for a long time. The remainder belongs in a report.

Techniques follow MITRE ATT&CK® v20.1. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (license). Field names were checked against Microsoft documentation and provider schemas.