Event ID 141: Scheduled task deleted
Written when a scheduled task is deleted. Records the task name and the account that deleted it.
- Channel
- Microsoft-Windows-TaskScheduler/Operational
- Logged by default
- Varies by version
- Written on
- Any host
- Volume
- Low
- Provider
- Microsoft-Windows-TaskScheduler
- Needs a SACL
- No
To have this event
- Task Scheduler Operational history enabled
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| TaskName | Full path of the deleted task |
| UserName | Account that deleted the task |
Analyst notes
- 01Attackers delete the task they used for one-shot remote execution to clean up; a 106/141 pair for the same task name in a short window describes create-run-delete.
- 02Correlate with Security 4699 (task deleted) and with the task's 100/200 run events to confirm it executed before removal.
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Microsoft-Windows-TaskScheduler/Operational' -FilterXPath "*[System[(EventID=141)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Related events
Common questions
- What does Windows event ID 141 mean?
- Written when a scheduled task is deleted. Records the task name and the account that deleted it. It is written to the Task Scheduler Operational log (Microsoft-Windows-TaskScheduler/Operational).
- Is event 141 logged by default?
- No. It must be enabled before it is recorded.
- Where is event 141 recorded?
- In the Microsoft-Windows-TaskScheduler/Operational channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten when a scheduled task is deleted. Records the task name and the account that deleted it. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.