When it is written
A domain controller writes 4758 each time a security-enabled universal group of its domain is deleted. Universal groups exist only in Active Directory, so only domain controllers write it, and Microsoft notes that the parts of the 4734 page about local groups do not apply. Subject is the account that deleted the group; Group names the group and its SID.
Deleting a global group is event 4730, a domain local group event 4734, a distribution group an event of Audit Distribution Group Management. Exchange calls a mail-enabled universal security group a distribution group too, but in Active Directory it is a security group, so its deletion is 4758. The subcategory has no failure events.
No rule reads 4758 yet. Read it next to the events the rules read for the same group: its creation (4754) and the members added to it (4756). The deletion ends at once every membership and every permission the group granted, and because a SID is never reused, a new group with the same name does not inherit 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 deleted the group. Event Viewer shows the resolved name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that deleted the group. | 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 IDTargetSidGroup | SID of the deleted group, the SID of its domain followed by the group's RID. After the deletion Event Viewer can no longer resolve it, so this is the value to match with the group's earlier events and with permissions that still name the SID. | v0 |
Group NameTargetUserNameGroup | Name of the group that was deleted (shown as Group Name). | 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 4734 page that Microsoft refers to; Microsoft says only that the list might not be captured. | v0 |
Values to know
Group Name TargetUserName
| Value | Meaning | Signal |
|---|---|---|
Exchange Windows Permissions, Exchange Trusted Subsystem or Organization Management | A security group Exchange setup createdExchange setup creates them and grants them its permissions in Active Directory. A deletion outside the removal of Exchange should be explained. | Worth knowing |
ESX Admins | The group that domain-joined VMware ESXi hosts trust by nameFor hosts that cannot be updated, Microsoft advises keeping this group in the domain and hardened. Deleting it removes that safeguard. Microsoft reports that such hosts match a domain group by name and not by SID, so the name can come back with a new group or with an existing group renamed to it; the creation and rename rules read both. | Worth knowing |
A group on your list of critical groups | A group that grants access to important resources was removedMicrosoft recommends monitoring the deletion of critical groups specifically. | Worth knowing |
Any other group | Ordinary cleanup | Expected |
Security ID SubjectUserSid
| Value | Meaning | Signal |
|---|---|---|
An Exchange or identity governance account | Routine deletion of a managed group | Expected |
The account that created the same group (4754) shortly before | A short-lived groupFind what the group was used for while it existed, starting with the members added to it (4756). | Worth knowing |
Volume and noise
Microsoft rates the volume of the whole subcategory as low and describes the deletion events as informational, to be reviewed when needed. Deletions come from cleanup of groups used across the domains of a forest, from Exchange administrators removing mail-enabled security groups, and from identity governance products that remove the groups they created.
Keeping it manageable
- Keep every 4758: the volume is low, and after the deletion the event is the only record of the group's name next to its SID.
- As Microsoft recommends, keep a list of critical groups and watch every deletion among them by
TargetSid. Include the security groups Exchange setup creates, such as Organization Management, by their SIDs in your forest. - Pair each 4758 with the 4754 of the same
TargetSid. A group created and deleted within a short time, with members added in between, should be explained.
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>4758</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="TargetUserName">Finance-SharedMailbox-Access</Data>
<Data Name="TargetDomainName">CORP</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1151</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
No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).
Frequently asked questions
Is 4758 written on member servers or workstations?
No. Universal groups exist only in Active Directory, and Microsoft notes that 4758 is generated only for domain groups, by the domain controller that deleted the group.
Is deleting a mail-enabled security group in Exchange a 4758?
Yes. Exchange calls every mail-enabled group a distribution group, but Microsoft notes that a mail-enabled security group is a universal security group object in Active Directory, so its deletion is 4758. A plain distribution group is security-disabled and is logged under Audit Distribution Group Management.
If someone recreates a deleted group with the same name, are its old permissions back?
No. Permissions name the group's SID, and Microsoft notes that a SID once used is never used again, so a new group gets a new SID. Software that trusts a group by its name is the exception: Microsoft reports that domain-joined ESXi hosts without VMware's update for CVE-2024-37085 match ESX Admins by name and not by SID.
References
- 4758(S): A security-enabled universal group was deleted, in Audit Security Group Management (Microsoft)
- 4734(S): A security-enabled local group was deleted (Microsoft, the page 4758 refers to)
- Security identifiers (Microsoft)
- Recipients in Exchange Server, distribution groups (Microsoft)
- What changes in Active Directory when Exchange is installed (Microsoft)
- Ransomware operators exploit ESXi hypervisor vulnerability for mass encryption (Microsoft Threat Intelligence)