Change an Existing Task
Applies To: Windows Server 2008, Windows Vista
You can change an existing task by changing the general properties, triggers, actions, conditions, or settings of the task. For more information about deleting a task, see Delete a Task.
Changing an Existing Task
Using the Windows interface
Using a command line
To change an existing task 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 change.
In the console window, click the task that you want to change.
Click Properties in the Action pane. The Task Properties dialog box will appear.
In the Task Properties dialog box:
Click the General tab to view the task's general properties that you can change. For more information about these properties, see General Task Properties.
Click the Triggers tab to view the task's triggers. Select a trigger from the list of triggers on the tab and click the Edit button to change the selected trigger's settings, click the New button to create a new trigger, or click the Delete button to delete the selected trigger. For more information about triggers, see Triggers.
Click the Actions tab to view the task's actions. Select an action from the list of actions on the tab and click the Edit button to change the selected action's settings, click the New button to create a new action, or click the Delete button to delete the selected action. For more information about actions, see Actions.
Click the Conditions tab to view the task's conditions that you can change. For more information about these conditions, see Task Conditions.
Click the Settings tab to view the task's settings that you can change. For more information about these settings, see Task Settings.
Click the OK button on the Task Properties dialog box when you are finished changing the task. This will register the task again. If the task has an action that is triggered when the task is registered, the action will be executed. If you have not made any changes to the task, click the Cancel button.
To change an existing task 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> { [/RU <runasuser] [/RP <runaspassword>] [/TR <taskrun>] [/ST <starttime>] [/RI <interval>] [ {/ET <endtime> | /DU <duration>} [/K] ] [/SD <startdate>] [/ED <enddate>] [/ENABLE | /DISABLE] [/IT] [/Z] }
To view the help for this command, type:
schtasks /Change /?