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 (http://go.microsoft.com/fwlink/?LinkId=70217).
|To view a task's properties and history 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 view.
In the console window, click the task that you want to view.
Click Properties in the Action pane. The Task Properties dialog box will appear.
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.
Click the History tab to view the task's history.
- Task history can be enabled or disabled. In
the Action pane, click Disable All Tasks History or
Enable All Tasks History to change the Task History
- Click an event in the list of events on the
History tab to view the description of the event.
- Task history can be enabled or disabled. In the Action pane, click Disable All Tasks History or Enable All Tasks History to change the Task History display.
|To view a task's properties and history 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.
Schtasks /Query /FO LIST /V
To view the help for this command, type:
schtasks /Query /?