Event ID 4738: A user account was changed
A user account was changed.
- Channel
- Security
- Logged by default
- Yes
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- User Account Management
- Needs a SACL
- No
To have this event
- Enable User Account Management:
auditpol /set /subcategory:"User Account Management" /success:enable /failure:enable
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| TargetUserName | Account name that was changed |
| TargetDomainName | Domain of the account |
| TargetSid | SID of the changed account |
| SubjectUserName | Account that made the change |
| SubjectDomainName | Domain of the changing account |
| SubjectLogonId | Logon ID for correlation |
| UserAccountControl | New account control flags showing what changed |
| PasswordLastSet | Timestamp when password was last set |
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4738)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Common questions
- What does Windows event ID 4738 mean?
- A user account was changed. It is written to the Windows Security log (Security).
- Is event 4738 logged by default?
- Yes, a default Windows installation records it. It is controlled by the "User Account Management" Advanced Audit Policy subcategory (Account Management).
- Where is event 4738 recorded?
- In the Security channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderA user account was changed. Needs the "User Account Management" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.