How to Create Desktop Notifications For Windows Events - gHacks Tech News

How to Create Desktop Notifications For Windows Events

The Windows event log records all kinds of events automatically in the operating system, from application installs to hardware failures and user permission changes.

Many Windows users on the other hand ignore the event log, mostly because it takes some time to get used to it. The sheer size of the recorded events of a system, and the nimbus of being a tool for system administrator and experts are two additional factors that play a role.

The event log serves a few purposes, including the important option to troubleshoot PC issues and to receive notifications about potentially problematic issues. This can be helpful in fixing or repairing problems before they lead to data loss or hardware failures.

Not even the most thorough admin on the other hand wants to check the event log on a daily basis to discover events that need attention. That's a problem since it is important to react as soon as possible if critical or error level events occur.

That's why Microsoft added notifications options in the event log. Notifications can be configured to show up as desktop alerts or emails, so that it becomes possible to react as soon as the message is read.

The following guide has been created for Windows 7 systems, the menus and options may differ in other Microsoft operating systems.

Press Windows-R, type eventvwr.msc and hit enter to start the Event Viewer. Windows categorizes events in the two main groups Windows Logs, and Applications and Services Logs.

Each category consists of subgroups that display the events. The Actions sidebar lists the Create Custom View option. A click on that displays the following configuration menu:

event log
event log

Here it is possible to select an event level, e.g. critical or error, a specific event log, e.g. Windows Security or Internet Explorer in the Applications and Services logs, and specific event IDs.

There are more options than that but those are the three important ones. One needs to know the event ID of an event before it can be configured in here. Two options are available.

The first is to view the event log and check for critical or error levels. Those are the most severe levels and are written for instance if hardware fails.

The second option is to search the Internet for event ids. There is not a specific site that lists all events, but offers a search for events.

It is however also possible to select the critical or error level for instance and leave the Event IDs parameter at the default value which will catch all event IDs. This may however lead to lots of desktop notifications, depending on the amount of critical or error event levels on the PC.

Select a name for the new custom view in the next window.

critical errors
critical errors

The custom event view has now been configured. Now it is time to configure the desktop notifications for the new view.

To do that right-click on the newly created view in the Custom Views category on the left sidebar and select Attach Task To this custom view.

event notifications
event notifications

Click the Next button twice so that the Action step is displayed in the configuration window. Select Display A Message from the available options, and define the message after clicking next. A click on Finish in the last step completes the setup, and desktop notifications have been created for the selected event types and levels.

It is also possible to configure the notification to send an email instead, the configuration is similar with the exception that an SMTP server needs to be added in the task creation window.


We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Previous Post: «
Next Post: »


    Leave a Reply

    Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

    Please note that your comment may not appear immediately after you post it.