About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Event 1102 appears in the Security log of a Windows computer and reads "The audit log was cleared." It is not a failed sign-in or a blocked action. It records a change to the log itself, and its fields name the account that made the change. Microsoft's page recommends monitoring the event and investigating why the action was performed.
What follows explains what the event carries, the ways a Security log gets cleared, how to find the account behind it, and what to keep first. Nothing before the Fix section changes anything.
What the error means
Microsoft's page is titled "1102(S): The audit log was cleared." Its description reads: "This event generates every time Windows Security audit log was cleared." The "S" in the title is, as general knowledge, the mark of a success event. The page lists its subcategory as Other Events, with no required server role and a minimum of Windows Server 2008 or Windows Vista.
The page's own guidance is short: "Typically you should not see this event. There is no need to manually clear the Security event log in most cases. We recommend monitoring this event and investigating why this action was performed."
The fields the page defines are all about the person or process that did it:
- Security ID: "SID of account that cleared the system security audit log." Event Viewer tries to show the account name in its place.
- Account Name: the name of that account.
- Account Domain: the account's domain or computer name. For local accounts it is the computer name; for well-known principals such as LOCAL SERVICE it is "NT AUTHORITY".
- Logon ID: a hexadecimal value that can help correlate this event with recent events that might contain the same Logon ID. The page's example is event 4624, "An account was successfully logged on."
One oddity in the page: its example XML puts these four values under UserData, in an element called LogFileCleared, where most security events carry EventData. The provider in the example is Microsoft-Windows-Eventlog and the channel is Security. Where a tool or a forwarding rule pulls event fields out by name, check it reads this event's own layout.
The page's example shows the account dadmin in the domain CONTOSO clearing the log on DC01.contoso.local. The page says nothing about how the log was cleared, so the event does not tell you whether the person used Event Viewer, a command, a script or a remote tool.
Likely causes
Microsoft's page does not list causes. It says the event generates every time the log is cleared, so the cause is always a clear. What differs is who and why. These are our own groupings, not statements on the page:
| Who cleared it | What the Subject fields look like | What to ask |
|---|---|---|
| An administrator tidying a full log | A named administrator account, working hours | Was the log full or set to overwrite? |
| A scheduled task or script | A service or system account, a regular time | Which task, and who wrote it? |
| A tool during a rebuild or a test | An account that was working on that machine | Was the machine being rebuilt or reimaged? |
| Someone hiding what they did | An account that should not be on this machine, or one used at an odd hour | What else did that Logon ID do before the clear? |
Microsoft's other pages explain why clearing the log is a power few accounts should hold. On the event page for 4672, the privilege SeSecurityPrivilege is described as "Manage auditing and security log", and the page says: "A user with this privilege can also view and clear the security log." Our reading of that sentence is that the accounts able to have done it include those that hold that right; the page does not say that no other route exists.
The page for the wevtutil command shows that clearing can be done from a command line, with its clear-log form, and that the form can keep a copy: "Clears events from the specified event log. The /bu option can be used to back up the cleared events." Its example reads "Clear all of the events from the Application log after saving them to C:\admin\backups\a10306.evtx". That example is for the Application log, and the command itself is not repeated here. So a clear made with the /bu option can leave a file to read.
Prove the cause before changing anything
Everything in this section only reads.
- In Event Viewer, open Windows Logs and then Security on the computer that logged the event, and find event ID 1102. Note the time, the account name, the domain and the Logon ID.
- Ask whether that account and time are expected. The Appendix A page on monitoring recommendations suggests, for accounts that should never be used, to "Monitor relevant events for the “Subject\Security ID” that corresponds to the accounts that should never be used", and for any event to compare the account with an allowlist of those that may perform the action.
- Look for the sign-in behind it. The 1102 page points to event 4624 for correlating the Logon ID. The sign-in that started that session was written before the clear, and the wevtutil page describes a clear as clearing "all of the events", so as our reading the 4624 is no longer in this log. It can exist only in another copy, which is step 4.
- Check whether another copy exists. This is general advice, not a step on the page: a log collector, a forwarding subscription, a SIEM, an earlier export, or the backup file from a
/buclear. - Check who holds the right to clear the log on that machine. The 4672 page names the right as "Manage auditing and security log"; use your usual tool to list who has it.
Example (illustrative): at a small accounting firm, event 1102 appears on the file server at 3:12 on a Sunday morning with the account svc-backup in the Subject. The server's owner knows that account runs the nightly job, but not that it ever clears a log. A 4624 for the same Logon ID, found in the copy of the log that the collector had already received, shows a network sign-in from a workstation address, not from the backup host. That mismatch is the thing to follow up, ahead of the clear itself.
Fix
There is no fix for the event itself, because it is a record, not a fault. What matters is what you keep and who you ask. The first step below creates a file but does not change the log.
Risk: the next step writes a copy of the current Security log to a file. The copy holds the sign-in history of the computer, so store it where only administrators can read it, and not on the same disk if the machine itself is in doubt. The command is the page's own epl form (export-log), which exports events from a log to a file; the page's example is wevtutil epl System C:\backup\system0506.evtx. The export keeps what is left of the Security log. It cannot bring back the entries that were cleared.
wevtutil epl Security <path>\Security-after-1102.evtx
To undo it: there is nothing to undo in the log, because the export does not change it. The copy is a new file and, after a clear, it may be the only record of what is left of the Security log, so nothing here tells you to delete it. If you ever decide to remove it, that deletion cannot be undone, so first confirm that another copy exists (step 4 of "Prove the cause before changing anything").
After that, the remaining actions are decisions, not commands, and the page does not give steps for them:
- Ask the account holder whether they cleared the log and why. If the account is a service account, ask who owns the task.
- If nobody can explain it, treat the machine as one whose history cannot be trusted. Our guide to Windows event log retention and forwarding covers keeping a second copy of the log.
- Decide whether the right to clear the log should be narrower. Changing who holds a user right is a change to the machine's security policy with its own save and back-out, so handle it as a separate piece of work.
- Where one central collector can hold a copy of events as they are written, a clear on one machine does not remove the history held there. That guide covers forwarding and retention.
Confirm the fix
- You have a saved copy of what remains of the Security log, and you know where it is.
- You can name the account, the time and the machine, and someone has said whether the clear was expected.
- If the account was unexpected, a 4624 with the same Logon ID, or another source of the same events, shows how it signed in.
- Future clears are noticed. The page recommends monitoring event 1102, so confirm that something would tell you if it appeared again.
What to watch afterwards
- A second event 1102 on the same machine, or on several machines in a short period, from the same account.
- Machines where nobody is meant to clear the log. The page says there is "no need to manually clear the Security event log in most cases", so each clear deserves a name against it.
- Gaps. If the Security log on a machine starts at an hour with no earlier history and no 1102 is present, something else may have removed or filled it; that is a different question from this event.
- Accounts that hold the right to manage the security log. The 4672 page lists SeSecurityPrivilege among the privileges that make a sign-in a special one.
Read next
Related articles you may want next.
- TroubleshootingWindows event logs: retention, forwarding and keeping the evidence an investigation needsHow long Windows event logs last by default, why they overwrite, and how forwarding and size settings keep evidence for an investigation.Read article
- Backup & RecoveryRecovering After Ransomware: Clean-Room Build, Restore Order and Assessing Backup TrustRecover without reinfection: preserve evidence, build an isolated recovery environment, choose and test a restore point, and restore in a safe order.Read article
- Backup & RecoveryWhat to keep so a restore test can be shown laterWhich records to keep from a restore test so a later reviewer can see what was proved, what failed, and what changed.Read article
Risks and limits
These steps have not been run or lab-tested. The event page sits in Microsoft's previous-versions area, is dated 2021-09-07, and its example event is timestamped 2015, so check how your own version of Windows shows the fields. The page tells you what the event contains and says to investigate; it does not say how a person cleared the log, which account rights allow it beyond SeSecurityPrivilege, or what to do next. The causes table and the five checks are our own reading and general practice, not statements on Microsoft's page.
The event only proves that a clear happened and who did it by account. It does not prove the person meant harm, and a service account's name does not prove a person at the keyboard was not behind it. If the log is the only record you have of what happened on the machine, a clear leaves you with less than you needed; that is why a second copy held elsewhere matters.
Sources
- 1102(S): The audit log was cleared. — Microsoft Learn, page dated 2021-09-07, accessed 3 December 2026
- 4672(S): Special privileges assigned to new logon. — Microsoft Learn, page dated 2021-09-07, accessed 3 December 2026
- wevtutil — Microsoft Learn, page dated 2023-02-03, accessed 3 December 2026
- Appendix A: Security monitoring recommendations for many audit events — Microsoft Learn, page dated 2021-09-06, accessed 3 December 2026
This article was originally published on .