How To Trigger An Action Automatically When Something Goes Wrong in Windows 7 [Tips]

Posted by Kent on October 6th, 2009, in Featured, How to, Tips & Tricks tagged in: ,
free computer fix

Event Viewer is my best friend. Whenever I went into a problem, I always went there first to gather more information before I decided to do anything else. Often it helped. But I always wished that I can do more with these event logs. For example, sometimes I want to get alerted when some critical error occurs, sometimes I just want to launch a specifically program when a warning message pops in. I can’t do none of these without having a 3rd party application in place prior to Windows 7. Now I can.

Let’s say I found an error message in my application event logs that I had no idea when it happened, and what caused it.

image

To get more information, I can now right-click the event and select Attach a Task to this Log, or highlight the event and pick the same task from the Action panel at the right side.

image

Then, a Create Basic Task Wizard appeared, type the name of task in Task box, and some of information about this task in Description box, and click Next.

image

And click another Next.

image

In Action step, there are three type of actions available to select.

image

Selecting each option will bring you different window at next. For this case, I picked Display a message.

image

That’s it, click Finish to close the wizard.

image

Next time when the same error happens, this pre-defined message box will be popping up onto my desktop. Nice.

image

What’s behind the scene?

What’s really behind thing is the wizard we just walked through created a on-event task in Task Scheduler, which will be triggered by an event from Event Viewer.

image

Related Articles From Windows7hacker:

Subscribe to W7H Tips & Tricks (Why?)

Email:

    Trackbacks/Pingbacks (2)

  1. Windows 7 actually fixes itself! | simon-may.com
    [...] Windows 7 allows you to automate what happens when something goes wrong, have a read of the excellent tutorial for [...]
  2. FastPictureViewer Code Pack Lets You to View All Kinds of RAW Images Right in Windows 7 Explorer [Tool] | Windows 7 hacker | Blake's Blog
    [...] You might also like: How To Trigger An Action Automatically When Something Goes [...]

Leave a Reply


How To Fix Taskbar Preview One Click Switch To Last Active Program

[How To] Use Math Input Panel to Create Complex Math Equation

No Supporting Custom XML Feature in Microsoft Office 2007, Starting Jan 11, 2010

[How to] extract .SDC file from MSDNAA

How To Use Built-in Disk Management Tool to Shrink or Extend Partition Volume in Windows 7