Skip to content

Windows Event ID 4700: A scheduled task was enabled

Written when a disabled scheduled task is enabled. It can catch a technique of keeping a malicious task disabled and enabling it only at attack time.

Overview

The subcategory is Audit Other Object Access Events. It is generated when an existing task is enabled. Together with creation 4698, disabling 4701, and update 4702, it tracks a task’s state changes.

How it is triggered

  • When a disabled task is switched to enabled (GUI / schtasks /change /enable / API).

Security review points

  • An attacker may keep a task disabled to avoid detection and enable it only when they want it to run. Check which task was enabled, when, and by whom.
  • Also confirm, in operational context, re-enabling of a defensive or monitoring task after it was disabled (4701).

Notes for log review

  • It tends to be noise on its own. Tie it to the creation-time XML (4698) and evaluate what the enabled task runs.
  • It also appears during legitimate operational toggling. Match against normal patterns of target task and subject.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1053.005 Scheduled TaskExecution, Persistence, Privilege EscalationEnabling a normally disabled task only when it is time to run

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

Microsoft Sentinel has 1 public detection rule that uses this event ID as a condition.

RuleTypeSeverity
Gain Code Execution on ADFS Server via SMB + Remote Service or Scheduled TaskSentinel analytics ruleMedium

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
Task NameThe enabled task name
Subject\Account NameThe account that performed the operation

References