Share via


Enable a Task to Run

Applies To: Windows Server 2008, Windows Vista

When a task is disabled, which stops a task from running, you can enable the task so that it can be run on demand or when it is scheduled to run.

To enable a task to run by using the Windows interface

  1. If Task Scheduler is not open, start Task Scheduler. For more information, see Start Task Scheduler.

  2. Find and click the task folder in the console tree that contains the task you want to enable.

  3. In the console window, click the task that you want to enable.

  4. In the Actions pane, click Enable. The Enable command will only be available in the Actions pane if the task is disabled.

To enable a task to run by using a command line

  1. Open a command prompt. To open a command prompt, click Start, click All Programs, click Accessories, and then click Command Prompt.

  2. Type:

    schtasks /Change [/S <system> [/U <username> [/P [<password>]]]]
    /TN <taskname> [/ENABLE]
    

To view the help for this command, type:

schtasks /Change /?

Additional references

Run a Task on Demand

Disable a Task from Running

Command-line syntax notation