schtasks commands (original) (raw)

Schedules commands and programs to run periodically or at a specific time, adds and removes tasks from the schedule, starts and stops tasks on demand, and displays and changes scheduled tasks.

Note

The schtasks.exe tool performs the same operations as Scheduled Tasks in Control Panel. You can use these tools together and interchangeably.

Required permissions

Syntax

schtasks /change
schtasks /create
schtasks /delete
schtasks /end
schtasks /query
schtasks /run

Parameters

Parameter Description
schtasks change Changes one or more of the following properties of a task:The program that the task runs (/tr)The user account under which the task runs (/ru)The password for the user account (/rp)Adds the interactive-only property to the task (/it)
schtasks create Schedules a new task.
schtasks delete Deletes a scheduled task.
schtasks end Stops a program started by a task.
schtasks query Displays tasks scheduled to run on the computer.
schtasks run Starts a scheduled task immediately. The run operation ignores the schedule, but uses the program file location, user account, and password saved in the task to run the task immediately.