Removing a task after it has served its purpose.
What gives it awayA deletion shortly after the matching 4698 creation, by the same session.
ATT&CK T1070Nothing matches that yet. Tell us what you were looking for and it goes on the list.
Windows Security Log · Event 4699
A scheduled task was removed. Usually software being uninstalled. The pattern worth hunting is a task created and deleted within a short window, which is what an attacker does when the task has served its purpose.
Also written as Event ID 4699A scheduled task was deleted4699 scheduled task
Correlate against 4698. A create followed by a delete inside a day is cleanup after use.
Sanitised. Addresses come from the RFC 5737 documentation ranges.
A scheduled task was deleted.
Subject:
Security ID: CORP\jbrooks
Account Name: jbrooks
Account Domain: CORP
Logon ID: 0x3E9A11
Task Information:
Task Name: \Microsoft\Windows\UpdateOrchestrator\Refresh Everything else in the log line is context.
Most of the time it is one of these.
What gives it awayA deletion shortly after the matching 4698 creation, by the same session.
ATT&CK T1070What gives it awayTask deletions clustered with other cleanup, such as file deletions and log clearing.
ATT&CK T1070SecurityEvent | where EventID == 4699 | project TimeGenerated, Computer, SubjectUserName, RenderedDescription | order by TimeGenerated desc let created = SecurityEvent | where EventID == 4698 | project CreateTime = TimeGenerated, Computer, Task = tostring(extract(@'Task Name:\s*(\S+)', 1, RenderedDescription));
let gone = SecurityEvent | where EventID == 4699 | project GoneTime = TimeGenerated, Computer, Task = tostring(extract(@'Task Name:\s*(\S+)', 1, RenderedDescription));
created | join kind=inner gone on Computer, Task | where GoneTime - CreateTime < 24h Because once the payload has run or a more durable foothold exists, the task is only evidence. Creating and deleting a task within a short window is a recognisable pattern, and the deletion is often the event that survives when the creation was missed.
Yes — the Audit Other Object Access Events subcategory, the same one Event 4698 needs. Enable it once and you get create, update, and delete together, which is the only way the pattern-based detections work.
Last reviewed 28 August 2026