Event ID 201: Scheduled task action completed
Written when a task action finishes. Records the task, action, instance and the action's result code.
- Channel
- Microsoft-Windows-TaskScheduler/Operational
- Logged by default
- Varies by version
- Written on
- Any host
- Volume
- Very high
- 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 task whose action completed |
| ActionName | Path of the executable that ran |
| ResultCode | Exit/result code of the action (0 is usually success) |
| TaskInstanceId | GUID of the run instance; matches the 200 that started it |
Analyst notes
- 01201 gives the result of the action, which helps separate successful malicious runs from failed ones.
- 02Use TaskInstanceId to pair 200/201 and to tie both to the process in 129.
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=201)]]" -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 201 mean?
- Written when a task action finishes. Records the task, action, instance and the action's result code. It is written to the Task Scheduler Operational log (Microsoft-Windows-TaskScheduler/Operational).
- Is event 201 logged by default?
- No. It must be enabled before it is recorded.
- Where is event 201 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 task action finishes. Records the task, action, instance and the action's result code. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.