Tools / Event IDs / Event ID 4722

Event ID 4722: user account enabled

What Event ID 4722 (user account enabled) means, the fields to check, what is normal and what is suspicious, with PowerShell and KQL queries to find it.

Log: Security · Severity: Low · MITRE ATT&CK T1098 · Updated 2026-11-03

Event ID 4722 records a user account being enabled. Attackers re-enable disabled accounts, such as old admin or service accounts, because they draw less attention than a new account.

The fields that matter

FieldWhat it tells you
Target Account > Account NameThe account that was enabled.
Subject > Account NameWho enabled it.

What is normal

New starters enabled by HR or identity tools, and returners from leave.

When Event ID 4722 is suspicious

Common false positive: Identity management systems enable accounts on start dates in bulk.

Find Event ID 4722 with PowerShell

Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4722; StartTime=(Get-Date).AddDays(-7)} -MaxEvents 50 |
  ForEach-Object {
    $d = [ordered]@{ Time = $_.TimeCreated; Computer = $_.MachineName }
    ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }
    [pscustomobject]$d
  } | Format-List

Microsoft Sentinel (KQL)

SecurityEvent
| where TimeGenerated > ago(7d) and EventID == 4722
| project TimeGenerated, Computer, Account, Activity, EventData
| order by TimeGenerated desc

Related events

For a full walk-through, read Event ID 4720 and 4732: detect new accounts and admins.

FAQ

Where is 4722 logged?

On domain controllers for domain accounts, and on the local machine for local accounts.