Partager via


View Task Properties and History

Applies To: Windows Server 2008, Windows Vista

A task's properties can be viewed to find out information such as the task's name, description, security options, triggers, actions, conditions, and settings. A task's history can also be viewed along with the properties. A task's history is tracked by events in the Microsoft-Windows-TaskScheduler event log. Events are raised when a task is started, run, when the task is finished executing, and at other times to track a task's history. Errors related to a task are also tracked in the task's history. For information about interpreting the events in task history, see Event Properties (https://go.microsoft.com/fwlink/?LinkId=70217).

To view a task's properties and history 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 view.

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

  4. Click Properties in the Action pane. The Task Properties dialog box will appear.

  5. In the Task Properties dialog box, the task's properties are located on the General, Triggers, Actions, Conditions, and Settings tabs. Click a tab to view the properties.

  6. Click the History tab to view the task's history. Click an event in the list of events on the History tab to view the description of the event.

To view a task's properties and history 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 /Query /FO LIST /V

To view the help for this command, type:

schtasks /Query /?

Additional references

Change an Existing Task

General Task Properties

Triggers

Actions

Task Conditions

Task Settings