Compartilhar via


Run a Task in Response to a Given Event

Applies To: Windows Server 2008, Windows Vista

You can configure a task to run when an event meeting specified criteria is logged.

To Run a Task in Response to a Given Event

  1. Start Event Viewer.

  2. In the console tree, navigate to the log that contains the event you want to associate with a task.

  3. Right-click the event and select Attach Task to This Event.

  4. Perform each step presented by the Create Basic Task Wizard.

Additional Considerations

  • You cannot assign a task to an event in a saved log.

  • You cannot assign a task to an event in an analytic or debug log.