Disable a Task from Running
Applies To: Windows Server 2008, Windows Vista
If you want to stop a task from running for a certain period of time, you can disable the task. The task can be enabled at a later time so that it is allowed to run. For more information, see Enable a Task to Run.
To disable a task from running by using the Windows interface
If Task Scheduler is not open, start Task Scheduler. For more information, see Start Task Scheduler.
Find and click the task folder in the console tree that contains the task you want to disable.
In the console window, click the task that you want to disable.
In the Actions pane, click Disable. The Disable command will only be available in the Actions pane if the task is enabled.
To disable a task from running by using a command line
Open a command prompt. To open a command prompt, click Start, click All Programs, click Accessories, and then click Command Prompt.
Type:
schtasks /Change [/S <system> [/U <username> [/P [<password>]]]] /TN <taskname> /DISABLE
To view the help for this command, type:
schtasks /Change /?