Run a Task in Response to a Given Event
Applies To: Windows 7, Windows Server 2008 R2, Windows Server 2012, 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
Start Event Viewer.
In the console tree, navigate to the log that contains the event you want to associate with a task.
Right-click the event and select Attach Task to This Event .
Perform each step presented by the Create Basic Task Wizard .
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.