Windows Event ID · Security log

Event ID 4698: A scheduled task was created

Written when a scheduled task is created. Attackers use tasks to run their code again at every logon or on a timer, and give them names that look like real software.

Key fields

Task Name
The name, often made to look like Windows or OneDrive.
Task Content
The full task XML: trigger, account and the command it runs.

What looks suspicious

  • Tasks that run PowerShell, cmd or files in user folders.
  • Tasks created by accounts that do not normally manage the server.
  • Logon triggers running as SYSTEM.

Practise with real logs

These labs give you an .evtx file where Event ID 4698 is part of the story.

Related Event IDs

Questions people ask

What is Event ID 4698?

Event ID 4698 (Security log) means "A scheduled task was created". Written when a scheduled task is created. Attackers use tasks to run their code again at every logon or on a timer, and give them names that look like real software.

What should I look for in Event ID 4698?

Tasks that run PowerShell, cmd or files in user folders. Tasks created by accounts that do not normally manage the server. Logon triggers running as SYSTEM.

Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.