Event Viewer Automated Tasks

Event logging is a great feature of any computer system which unfortunately, not so many users make good use of. A great feature which may become useless if not properly managed. The Windows Event Viewer is a management tool that enables you to browse and manage event logs. It is an indispensable tool for monitoring the health of systems and troubleshooting issues when they arise. Users of Windows systems need to familiarize themselves with the tool in general and in particular with some tasks that would help them get notifications when an event occurs.

In general Event Viewer allows you to perform the following tasks:

  • View events from multiple event logs
  • Save useful event filters as custom views that can be reused
  • Schedule a task to run in response to an event
  • Create and manage event subscriptions

To leverage the Event Viewer to the full, I suggest to play around with the automated responses to events. Event Viewer is integrated with Task Scheduler, enabling you to right-click most events to start scheduling a task to run when that event is logged in the future.
To run a task in response to a given event follow these steps:

  1. In the Start search text box, type Event Viewer and press enter.
  2. In the console tree, navigate to the log that contains the event you want to associate with a task, such as, Windows Logs\System
  3. Select an event and on the right side under Actions, click Attach Task to This Event.
  4. Perform each step presented by the Create Basic Task Wizard and on the Action page select the task you want to perform.

Note, that you cannot assign a task to an event in a saved log, and you cannot assign a task to an event in an analytic or debug log. For the latest information about Event Viewer, go here.