Event ID 4743: computer account deleted
What Event ID 4743 (computer account deleted) means, the fields to check, what is normal and what is suspicious, with PowerShell and KQL queries to find it.
Event ID 4743 records that a computer account was deleted. Normally that is IT cleaning up old machines. After an intrusion, attackers sometimes delete the computer accounts they created for escalation to remove evidence.
The fields that matter
| Field | What it tells you |
|---|---|
| Target Computer > Account Name | The deleted computer. |
| Subject > Account Name | Who deleted it. |
What is normal
Deletions by admins or cleanup scripts for retired machines.
When Event ID 4743 is suspicious
- A computer account deleted by the same normal user who created it (4741) shortly before.
- Deletion of servers or domain controllers outside a change.
Common false positive: Stale-object cleanup scripts delete many accounts at once. Know when they run.
Find Event ID 4743 with PowerShell
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4743; 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 == 4743
| project TimeGenerated, Computer, Account, Activity, EventData
| order by TimeGenerated desc
Related events
- Event ID 4741: Computer account created
- Event ID 4742: Computer account changed
- Event ID 4726: User account deleted
FAQ
Can I recover a deleted computer account?
Yes, from the AD Recycle Bin if it is enabled, which also gives you its attributes for the investigation.
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.