Event ID 4702 is logged in the Security log each time a scheduled task is updated or changed. It records the task name, the new task content, and the account that made the change. Enable Audit Other Object Access Events so task changes can be monitored for unauthorised persistence or tampering.
What Event ID 4702 tells you about scheduled task activity
Event ID 4702 is a change-detection signal, not just a housekeeping log entry. It tells you that a scheduled task definition has been modified, which matters because scheduled tasks are a common persistence and tampering mechanism on Windows systems. The key operational question is whether the change was expected, who made it, and whether the new task definition matches your approved maintenance pattern.
Because the event records the task name and the account that changed it, it can answer two questions at once: what was altered and which principal touched it. That makes it useful for correlating administrative change windows, unusual account usage, and post-compromise persistence checks. If the new task content introduces a new executable path, arguments, or trigger pattern, treat the event as a potential security-relevant configuration change.
In practice, Event ID 4702 is most valuable when it is collected alongside the surrounding task-creation, task-deletion, and privilege-related events that show whether the modification was part of a normal admin workflow or part of abuse. The strongest operational use is to baseline expected task changes and then compare deviations against the asset, account, and maintenance context.
For a practical Windows logging reference, the Windows Event Log Guide covers 4702 in the broader context of task-related and account-related Windows event IDs.
Why scheduled task changes deserve scrutiny
Scheduled task modifications can be a low-noise way to establish or preserve persistence because they run on a timer, can execute with elevated context, and often blend into routine administration. A changed task may point to a legitimate software update, but it can also be used to relaunch malware, re-establish a foothold after reboot, or quietly redirect execution to a different binary or script.
The main failure mode is assuming that a task update is harmless because the task already existed. In many environments, attackers prefer modifying an existing task rather than creating a new one because the change can be less obvious in review. If the log shows an unexpected account, a strange new command line, or a trigger that does not match the business schedule, the event should be treated as a trust break until verified.
For defenders, this means the real security value lies in understanding the delta, not just the presence of the event. A small edit to arguments, run-as context, or trigger timing can be enough to alter behaviour materially even when the task name stays the same.
What to check when 4702 appears in your logs
Start by confirming whether the change aligns with an approved change ticket or a known deployment window. Then compare the old and new task definitions, especially the action path, arguments, trigger frequency, and run-as account. If the task now points to a script, temporary directory, user profile path, or unusual parent process chain, that is often more important than the task name itself.
If the modifying account is unexpected, review whether it had administrative rights, interactive logon activity, or recent compromise indicators. Where the task is used for automation, check whether the credential behind it is overprivileged or shared across systems. Task changes are often a symptom of broader access abuse, so one event should trigger a wider look at the account and host history rather than a narrow log review.
If you are forwarding logs to a SIEM, build detections around task modifications that happen outside maintenance windows, involve non-standard accounts, or alter tasks that execute from writable locations. If you already monitor process creation, pair 4702 with the first execution after the change to see whether the task immediately launches suspicious code.
Risk and Threat Considerations
Scheduled task modification is a persistence-friendly abuse path because it can survive restarts and reuse a trusted Windows mechanism. If defenders only watch for new task creation, they can miss a quieter attacker move, namely altering an existing task to keep execution alive or to switch to a different payload after the environment changes.
Failure mechanism: An attacker or rogue insider changes the task definition, then relies on the operating system to execute the altered schedule without drawing attention. The weakness is usually a combination of weak change monitoring, excessive administrative access, and lack of baseline review for the task’s final command line and trigger.
Impact: The result can be unauthorized persistence, recurring malicious execution, and a longer dwell time because the modification looks like ordinary administration unless the new content is inspected.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AU-6 — Audit Record Review, Analysis, and Reporting | Task-change events need review and correlation to spot suspicious modification patterns. |
| CM-3 — Configuration Change Control | A scheduled task edit is a configuration change that should be controlled and approved. | |
| Recommendation — Review 4702 events with related logs to detect unauthorized task changes. Require approval and tracking for scheduled task definition changes. | ||
| MITRE ATT&CK | T1053.005 — Scheduled Task/Job: Scheduled Task | Scheduled tasks are a known persistence mechanism and 4702 can indicate related abuse. |
| Recommendation — Hunt for persistence and execution changes when scheduled tasks are modified. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Logging and review of task modifications supports detection of unauthorized persistence. |
| Recommendation — Centralize and review task-change logs for suspicious activity. | ||
| NIST CSF 2.0 | DE.CM-08 — Vulnerabilities, threats, and events are monitored | Monitoring task-change events supports detection of anomalous system activity. |
| Recommendation — Monitor scheduled task changes as part of continuous anomaly detection. | ||
Practitioner Guidance
What to verify: Treat 4702 as actionable only when you can verify the prior task definition, the approving change record, and the identity of the modifying account. If you cannot reconstruct the before-and-after task content, assume the task needs a manual review.
Decision rule: If the changed task can execute code from a writable location, runs with elevated rights, or was edited by an account outside the normal admin group, prioritise incident triage and host review before accepting the change as routine maintenance.
What good looks like: Mature monitoring produces a short list of expected task edits, each tied to a known operator, a change window, and a clear business purpose. Anything outside that pattern should be rare enough to investigate rather than normalise.
Practitioner takeaway: Event ID 4702 is most useful when you treat it as a control point for persistence, not merely as a log of configuration drift, because the security question is whether the new task content is still trustworthy.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org