When it is written
A domain controller writes 4743 each time a computer object is deleted from its domain, whoever deletes it and with whatever tool. Microsoft says only domain controllers write it. Subject is the account that requested the deletion and Target Computer the deleted account, whose name ends with $. No SACL is needed: Audit Computer Account Management (Success) is enough. Microsoft lists it as a success event only.
Deleting a user account is event 4726, under Audit User Account Management. The directory view of the same deletion is 5141, written only when the deleted object has an auditing entry for Delete. A deleted object moves to the Deleted Objects container; it comes back with its attributes only if the Active Directory Recycle Bin was enabled before the deletion, and the restore is written as 5138.
No rule reads 4743 yet. Read it next to the creation (4741) and the changes (4742) of the same account, which the rules read: together they show the whole life of a computer account, including one that was created, used and removed again, and the deletion is often the last trace of an account an investigation is looking for.
How to turn it on
Advanced audit policy subcategory Audit Computer Account 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 Computer Account Management| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success | Microsoft recommends Success auditing in both its general and stronger baselines and monitoring changes to critical computer objects such as domain controllers, administrative workstations and critical servers, especially their deletion. The subcategory has no failure events. |
| Member servers | Not logged | Microsoft says the subcategory generates events only on domain controllers. |
| Workstations | Not logged | Microsoft says the subcategory generates events only on domain controllers. |
auditpol /get /subcategory:"Computer Account Management"auditpol /set /subcategory:"Computer Account Management" /success:enableauditpol /get /subcategory:"{0CCE9236-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 computer account. Event Viewer resolves it to a name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that deleted the computer account. | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account. NT AUTHORITY for well-known principals such as LOCAL SERVICE. | 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 IDTargetSidTarget Computer | SID of the deleted computer account. After the deletion Event Viewer can no longer resolve it, so this is the value to match with the account's earlier events (4741, 4742, logons). | v0 |
Account NameTargetUserNameTarget Computer | Name of the computer account that was deleted, its sAMAccountName ending with $, for example WKS117$. | v0 |
Account DomainTargetDomainNameTarget Computer | Domain of the deleted computer account, as a NetBIOS or DNS name. | v0 |
PrivilegesPrivilegeListAdditional Information | Privileges used for the operation. Usually a dash, because Windows does not always capture them. | v0 |
Values to know
Account Name TargetUserName
| Value | Meaning | Signal |
|---|---|---|
The account of a domain controller | A domain controller's computer object was deletedMicrosoft's metadata cleanup after a domain controller was forcibly removed deletes its computer account this way, from the Domain Controllers OU. Any other deletion of a domain controller's account should be explained. | Worth knowing |
An administrative workstation or a critical server | A high-value computer account was deletedMicrosoft recommends monitoring these deletions in particular. | Worth knowing |
Any other computer account | Ordinary cleanup or decommissioning | Expected |
Security ID SubjectUserSid
| Value | Meaning | Signal |
|---|---|---|
A cleanup, provisioning or deployment account | Routine deletion | Expected |
The account that created the same computer account (4741) shortly before | A short-lived computer accountA user who creates a computer account through the machine account quota and removes it again leaves only 4741 and 4743. Find what the account was used for while it existed (4624, 4768, 4769 for its name). | Worth knowing |
Any other account | A deletion outside the usual accountsFind the right that allowed it on the computer object or its OU. | Worth knowing |
Volume and noise
Microsoft rates Audit Computer Account Management low on domain controllers. Deletions come from the cleanup of stale computer accounts, the decommissioning of servers, computers rebuilt under a new account, and pools of virtual desktops that remove and recreate their machines. Cleanup jobs can delete many accounts in one run.
Keeping it manageable
- Keep every 4743: the volume is low, and once the object is gone the event is the record of who removed it.
- As Microsoft recommends, watch the deletion of critical computer accounts, such as domain controllers, administrative workstations and database servers, by
TargetSidorTargetUserName. - Pair each 4743 with the 4741 of the same
TargetSid. A computer account created and deleted within a short time by an account that is not one of your provisioning or cleanup accounts should be explained. - Learn the size and schedule of your cleanup jobs per
SubjectUserSid, so that a bulk deletion by any other account stands out.
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>4743</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13825</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">WKS117$</Data>
<Data Name="TargetDomainName">CORP</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1187</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
How do I find out who deleted a computer account?
Search 4743 on the domain controllers for the computer's name (TargetUserName) or SID. Subject Security ID and Account Name give the account that deleted it, and Subject Logon ID leads to the logon event (4624) of that session, with the address it came from. The deletion is written only by the domain controller that handled it.
Can a deleted computer account be restored?
With the Active Directory Recycle Bin, a deleted object comes back with its attributes, but only if the Recycle Bin was enabled before the deletion; it is not enabled by default. Microsoft notes that the Recycle Bin recovers only objects deleted after it was enabled. The restore is written as 5138 under Audit Directory Service Changes.
Is 4743 logged on member servers or workstations?
No. Microsoft says the event is generated only on domain controllers, because computer accounts exist only in Active Directory.
References
- 4743(S): A computer account was deleted (Microsoft)
- Audit Computer Account Management (Microsoft)
- 4741(S): A computer account was created (Microsoft)
- 5141(S): A directory service object was deleted (Microsoft)
- Active Directory Recycle Bin (Microsoft)
- Default limit to number of workstations a user can join to the domain (Microsoft)
- Clean up Active Directory domain controller server metadata (Microsoft)