schtasks.exe

Windows Task Scheduler Command-Line Tool

Application ProcessSafeSystem Utility
CPU Usage
0-2%
Memory
1-5 MB
Location
System32
Publisher
Microsoft Corporation

Quick Answer

schtasks.exe is safe. It's Windows Task Scheduler's command-line interface used to create, query, run, or delete scheduled tasks via scripts.

Is it a Virus?
✔ NO - Safe
Must be in C:\Windows\System32\schtasks.exe or C:\Windows\SysWOW64\schtasks.exe
Warning
Generally legitimate
Used by admins for automation; misuse can occur if attackers schedule tasks
Can I Disable?
✔ YES
Do not remove; you can ignore it or disable specific tasks instead

What is schtasks.exe?

schtasks.exe is the command-line tool included with Windows that allows administrators and power users to create, query, modify, delete, and run scheduled tasks through the Task Scheduler service. It enables automation of maintenance and custom scripts without a GUI.

schtasks.exe uses the Task Scheduler API to enumerate tasks, set triggers, and trigger runs. It supports /CREATE, /DELETE, /QUERY, /RUN, /CHANGE, and /TN options for task names and parameters.

Quick Fact: schtasks.exe can be scripted in batch or PowerShell to automate system maintenance and repetitive admin tasks.

Types of schtasks Processes

Is schtasks.exe Safe?

Yes, schtasks.exe is safe when it's the legitimate Windows utility located in the System32 folder and signed by Microsoft.

Is schtasks.exe a Virus or Malware?

The real schtasks.exe is NOT a virus. Malicious actors may copy or masquerade as it; verify digital signature and path.

How to Tell if schtasks.exe is Legitimate or Malware

  1. File Location: Must be in C:\Windows\System32\schtasks.exe or C:\Windows\SysWOW64\schtasks.exe. Any other path is suspicious.
  2. Digital Signature: Right-click schtasks.exe in File Explorer -> Properties -> Digital Signatures. Should show 'Microsoft Corporation' or 'Microsoft Windows'.
  3. Resource Usage: Normal usage is minimal for the CLI; high CPU in background warrants checking scheduled tasks and malware.
  4. Behavior: schtasks.exe should not persistently run or spawn multiple instances without triggers.

Red Flags: If schtasks.exe is located outside System32 or SysWOW64, lacks a valid signature, or keeps running unexpectedly, scan for malware. Beware of named masquerades like 'schtasks2.exe'.

Why Is schtasks.exe Running on My PC?

schtasks.exe runs when you or a scheduled process triggers a task, or when Task Scheduler is executing a predefined job. It can also run during startup if a task is configured to run at logon.

Reasons it's running:

Can I Disable or Remove schtasks.exe?

In general, you should not remove schtasks.exe. You can limit its use by managing scheduled tasks and disabling individual triggers.

How to Stop schtasks.exe

How to Uninstall schtasks.exe

Common Problems: Scheduled Task Fails or Runs Too Frequently

If schtasks.exe-related tasks fail or misbehave, check task definitions, triggers, and permissions.

Common Causes & Solutions

Quick Fixes:
1. Open Command Prompt as Administrator and run: schtasks /Query /TN "TaskName"
2. Review task actions and triggers in Task Scheduler
3. Correct the executable path and arguments in the task
4. Test by running the task with schtasks /Run /TN "TaskName"
5. Ensure correct credentials and 'Run with highest privileges' if needed

Frequently Asked Questions

Is schtasks.exe a virus?

No, schtasks.exe is a legitimate Windows utility located in C:\Windows\System32\ and signed by Microsoft. Always verify the path and signature.

What is schtasks.exe used for?

schtasks.exe is used to create, query, delete, run, or change scheduled tasks via the Command Prompt or scripts.

How do I schedule a task with schtasks.exe?

Example: schtasks /Create /TN "MyTask" /TR "C:\\Scripts\\backup.bat" /SC DAILY /ST 02:00

Why is schtasks.exe running in Task Manager?

It runs as part of Task Scheduler operations or when a scheduled task is executing; you might see it briefly during runs.

How do I disable or stop schtasks.exe tasks?

Use schtasks /Change /TN "TaskName" /Disable to stop future runs, or schtasks /End /TN "TaskName" to stop a running task.

Can I uninstall schtasks.exe?

No—schtasks.exe is built into Windows as part of the Task Scheduler components and cannot be uninstalled separately.

Related Processes