End a Running Task
Applies To: Windows Server 2008, Windows Vista
You can end a running task to stop the task from completing its actions. This stops the task while the task is in the process of completing an action. Only tasks with the If the running task does not stop when requested, force it to stop setting selected will be forced to end if they do not stop when you try to end them. For more information about settings, see Task Settings.
You must have the correct permissions to end certain tasks. For more information, see Task Security Context.
To end a running 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 end.
In the console window, click the task that you want to end.
In the Actions pane, click End.
In the Confirm ending this task dialog box, click Yes.
Note
You can also end a task by clicking Display All Running Tasks… in the Actions pane, selecting a task in the Running Tasks dialog box, and then clicking on the End Task button in the Running Tasks dialog box.
To end a running 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 /End [/S <system> [/U <username> [/P [<password>]]]] /TN taskname
To view the help for this command, type:
schtasks /End /?