Home > Uncategorized > Vista: Creating a Scheduled Task that Notifies you when an Event in the Event Log Occurs

Vista: Creating a Scheduled Task that Notifies you when an Event in the Event Log Occurs

There are many Event Log events that you may want to actually be notified are happening. For instance, the lovely “HDD might be failing.”

In this example, I’ll make a scheduled task to pop-up a notice window when the controversial 4226 Event happens.
There are two method. Going right into Task Scheduler (start>run> “task scheduler” or “taskschd.msc”> enter; or start>run> “Control Panel\Administrative Tools” then double-click on Task Scheduler) and making a scheduled task that… well, that’s a whole lot of unnecessary writing. Let’s just do it the more convenient way:

  1. Open your Event Log viewer (start>run> “eventvwr.exe”> enter)
  2. In the tree: Windows Logs\System and wait.
  3. Find the Event in the logs, right-click and select “Attach task to this event” (this is also an option on the right-side menu Event Actions menu). Wait.
  4. Name the Event. Write a description.
  5. “When an Event is Logged” should already be filled out.
  6. On the action menu, select “Display a message.”
  7. Type a Title for the message window, and type a message to appear in the message window.
  8. Finish.

You can also set it to send an Email via SMTP, which is pretty rad. See this previous post for some free SMTP servers.

I can imagine this was a feature of previous versions of Windows, specifically Server, but I never had seen it.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: