Windows Event ID 4726: A user account was deleted
Security event 4726 is logged when a local or domain user account is deleted, with the subject who deleted it and the removed account's name and SID.
Overview
- Event ID
- 4726
- Log / channel
- Security
- Provider
- Microsoft-Windows-Security-Auditing
- Category
- account
- Enabled by default
- Yes
- How to enable
- Advanced Audit Policy Configuration > Account Management > Audit User Account Management (Success). Enabled for Success in the default Windows audit policy.
What event 4726 logs
Event 4726 is written when a user object is deleted — on domain controllers for domain accounts and on member servers and workstations for local accounts. Subject* identifies who performed the deletion, Target* the deleted account.
Deletion is harder to undo than disabling (4725), so many organizations disable first and delete later. A deletion of an account that was created shortly before (4720) is a classic cleanup pattern: an intruder creates a temporary account, uses it, then removes it. Because the account is gone, TargetSid is the only reliable key to tie the deletion to earlier events for the same account.
Mass deletion of accounts by one subject is also a destructive technique used to deny access to legitimate users and administrators.
Fields
Every field recorded in event 4726, with the values that matter for investigation.
SubjectUserNameAccount that deleted the user.
SubjectDomainNameDomain or computer name of the subject.
SubjectLogonIdLogon session of the subject; correlate with 4624.
TargetUserNameName of the deleted account.
TargetDomainNameDomain of the deleted account, or the computer name for a local account.
TargetSidSID of the deleted account. Search older events (4720, 4624, 4728, 4732) for it.
PrivilegeListPrivileges used for the operation, often -.
How to enable this event
Advanced Audit Policy Configuration > Account Management > Audit User Account Management (Success). Enabled for Success in the default Windows audit policy.
Computer account deletions are reported by 4743 (Computer Account Management), not 4726.
Detection and investigation
Typically benign
- Scheduled cleanup of accounts that were disabled during offboarding.
- Removal of local accounts by software uninstallers or configuration management.
- Lab and test environments where accounts are created and deleted routinely.
Worth investigating
- Removing a temporary backdoor account after use to cover tracks.
- Deleting many accounts, including administrators, as part of a destructive or ransomware operation.
Investigation notes
- Search for the TargetSid in earlier 4720, 4624 and group membership events to reconstruct the account's life.
- Flag deletions of accounts created less than a few days earlier, especially by the same SubjectUserName.
- Check whether the deleted account was privileged or a service account whose removal could break applications.