Event ID 4733: member removed from local security group
What Event ID 4733 (member removed from local security group) means, the fields to check, what is normal and what is suspicious, with PowerShell and KQL queries to find it.
Event ID 4733 records a member removed from a local or domain local security group, most often the local Administrators group on a computer. It is the cleanup half of temporary admin rights.
The fields that matter
| Field | What it tells you |
|---|---|
| Member > Security ID / Account Name | Who was removed. |
| Group > Group Name | The group, for example Administrators. |
| Subject > Account Name | Who removed them. |
What is normal
Helpdesk removing temporary admin rights, LAPS or endpoint tools enforcing group membership.
When Event ID 4733 is suspicious
- A matching 4732 (added) shortly before, by an account that shouldn't grant admin rights.
- Removal of your security team's accounts from local Administrators on many machines.
Common false positive: Group Policy Restricted Groups and Intune policies reset local group membership and log 4733 on every enforcement.
Find Event ID 4733 with PowerShell
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4733; 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 == 4733
| project TimeGenerated, Computer, Account, Activity, EventData
| order by TimeGenerated desc
Related events
- Event ID 4732: Member added to local security group
- Event ID 4729: Member removed from global security group
- Event ID 4728: Member added to global security group
FAQ
Where is 4733 logged?
On the computer whose local group changed, or on domain controllers for domain local groups.
Windows Event Triage reads a CSV, EVTX-to-JSON or XML export in your browser and flags brute force, new admins, suspicious services and log clearing.
IOC Triage, our free browser extension: right-click it for a verdict from 15 threat-intel sources, then copy a ready ticket note.