When it is written
A domain controller writes 4729 each time a member is removed from a security-enabled global group of its domain, such as Domain Admins, Protected Users or a global group you created. Each removed member gets its own event. Global groups exist only in Active Directory, so only domain controllers write it, and Microsoft notes that the parts of the 4733 page about local groups do not apply.
A removal from a domain local or built-in group is event 4733, from a universal group event 4757, and deleting a global group is event 4730. The subcategory has no failure events.
The change is made on one domain controller, the one the administrative tool or script connected to, so collect the Security log of all of them.
How to turn it on
Advanced audit policy subcategory Audit Security Group 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 Security Group Management| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success | Microsoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing. |
| Member servers | Success | Microsoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing. |
| Workstations | Success | Microsoft's general and stronger baselines both recommend Success auditing, to see security groups created, changed and deleted, members added and removed, and group membership enumerated. The subcategory has no failure events, so there is nothing to gain from Failure auditing. |
auditpol /get /subcategory:"Security Group Management"auditpol /set /subcategory:"Security Group Management" /success:enableauditpol /get /subcategory:"{0CCE9237-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 removed the member. Event Viewer shows the resolved name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that removed the member. | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account. NT AUTHORITY for some well-known principals. | v0 |
Logon IDSubjectLogonIdSubject | Logon ID of the subject's session on this domain controller, in hexadecimal. The logon event (4624) with the same ID shows where the session came from. | v0 |
Security IDMemberSidMember | SID of the account that was removed, a user, a computer or a group. Event Viewer shows the resolved name when it can. | v0 |
Account NameMemberNameMember | Distinguished name of the account that was removed (shown as Account Name), for example CN=Alice Smith,OU=Staff,DC=corp,DC=example,DC=com. A dash for some well-known security principals. | v0 |
Security IDTargetSidGroupRead by 1 rule | SID of the group, the domain SID followed by the group's RID, such as 525 for Protected Users and 512 for Domain Admins. | v0 |
Group NameTargetUserNameGroup | Name of the group (shown as Group Name), for example Protected Users. Names of the built-in groups are localized and can change, so match privileged groups on TargetSid. | v0 |
Group DomainTargetDomainNameGroup | Domain of the group (shown as Group Domain), usually its NetBIOS name. | v0 |
PrivilegesPrivilegeListAdditional Information | Privileges used for the operation. A dash when none were captured, as in the sample event of the 4733 page that Microsoft refers to; Microsoft says only that the list might not be captured. | v0 |
Values to know
Security ID TargetSid
| Value | Meaning | Signal |
|---|---|---|
Ends with -525 | Protected UsersThe member loses the group's protections, such as no NTLM, no DES or RC4 in Kerberos pre-authentication and no delegation, so a stolen hash or a delegation path works again. Matched by a rule rated high. | Attack signal |
Ends with -512, -516, -520, -522 or -526 | Domain Admins and the other privileged global groupsExpected during offboarding. A removal shortly after the same member was added (4728) is a detection hypothesis. | Worth knowing |
Ends with -518 or -519 | Schema Admins, Enterprise AdminsUniversal groups in a native-mode domain, so a removal is normally event 4757. | Worth knowing |
Security ID MemberSid
| Value | Meaning | Signal |
|---|---|---|
A privileged or Tier 0 account | Removed from Protected UsersCheck what the account did afterwards, NTLM authentication (4776) or Kerberos tickets with RC4 (4768, 4769), which the group had blocked. | Attack signal |
An account that was added to the same group shortly before | A short-lived membershipUsed for one action and removed so that a later review shows nothing. A detection hypothesis pairs 4728 and 4729. | Attack signal |
A disabled or departing account | Offboarding | Expected |
Volume and noise
Microsoft rates the volume of the whole subcategory as low. Expect 4729 from offboarding and role changes, from provisioning products that keep group membership in line with an HR system, and from just-in-time access products that remove an administrator once the approved time is over. Microsoft describes the event as informational, to be reviewed when needed.
Removals from Protected Users should be rare: the group has no members by default, every member was added on purpose, and Microsoft says that removing the account from the group is the only way to change the protection it gives.
Keeping it manageable
- Keep every 4729 event. The volume is low, and the hypotheses that pair a removal with an earlier addition (4728) or a later re-addition need both events.
- Match Protected Users on
TargetSidending in -525, not on the name, so that the rule survives a renamed or localized group. - For removals from Domain Admins and the other privileged groups, alert only when the same member was added shortly before, or exclude your just-in-time product by
SubjectUserSidfor the pairing logic, so that ordinary offboarding does not alert.
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>4729</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13826</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="MemberName">CN=Alice Smith,OU=Staff,DC=corp,DC=example,DC=com</Data>
<Data Name="MemberSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
<Data Name="TargetUserName">SQL-Prod-Admins</Data>
<Data Name="TargetDomainName">CORP</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1131</Data>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1108</Data>
<Data Name="SubjectUserName">adm-bob</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x4a3f21</Data>
<Data Name="PrivilegeList">-</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Detection logic (hypotheses that join this event with others) for:
Frequently asked questions
Which event shows that an account left Protected Users?
Event 4729, because Protected Users is a global group, with a TargetSid that ends in -525. The account that was removed is in MemberSid and MemberName, and the account that removed it in SubjectUserSid.
What changes for an account when it leaves Protected Users?
The protections of the group stop applying. Microsoft lists them as no NTLM, Digest or CredSSP authentication, no DES or RC4 in Kerberos pre-authentication, no constrained or unconstrained delegation, and ticket-granting tickets limited to four hours by default. A stolen NTLM hash or a delegation path that was useless becomes usable.
Why would an attacker remove an account from a privileged group?
To leave nothing behind. An account added to Domain Admins for one action and removed right after does not show up in a later membership review. Pairing 4729 with the 4728 that added the same member to the same group finds it.
References
- 4729(S): A member was removed from a security-enabled global group, in Audit Security Group Management (Microsoft)
- 4733(S): A member was removed from a security-enabled local group (Microsoft, the page 4729 refers to)
- Active Directory security groups, Protected Users (Microsoft)
- Protected Users security group (Microsoft)
- Security identifiers (Microsoft)