Pular para o conteúdo principal

Better troubleshooting capabilities with Windows 7 Event Viewer

Better troubleshooting capabilities with Windows 7 Event Viewer: "
If you had been holding on to Microsoft Windows XP and just recently made the move to Windows 7, you’ve begun to discover that a lot has changed in the operating system besides just the new user interface with all its new bells and whistles.

For example, chances are that one of the first places that you probably turned to when troubleshooting problems in Windows XP was the Event Viewer. Well, when you get to Windows 7’s Event Viewer, you are in for a new experience.

In this edition of the Windows Desktop Report, I’ll introduce you to some of the new features in Windows 7’s Event Viewer.

This blog post is also available in PDF format in a TechRepublic download.

An overview


As you know, Event Viewer maintains logs that record information about program, security, and system events that occur on your system. While XP’s Event Viewer is an effective tool that you can use to view and manage event logs, gather information about hardware and software problems, as well as monitor security events, it does have some shortcomings. Perhaps the biggest drawback is that XP’s Event Viewer does such a good job at logging events, that the number of items in the log can be staggering. As such, sorting through the logs can be a very daunting task. To add insult to injury, not all the events are documented very well and many aren’t documented at all — often leaving even the most experienced troubleshooter puzzled.

Another drawback in the system stems from the fact that Windows XP has other logs that are stored as text files on the hard disk. This means that when troubleshooting problems, you may have to scan through a bunch of text files in addition to scanning through Event Viewer.

Fortunately, Windows 7’s developers have spent a great deal of time and effort on improving Event Viewer. Let’s take a closer look.

The new Event Viewer


To begin with, the Windows 7 version of the Event Viewer has been completely rewritten with a new user interface that makes it much easier to filter and sort events as well as control which type of events are logged. In addition, you can now perform some basic diagnostic tasks right from within Event Viewer itself.

Microsoft has stated that they are going to impose stricter standards in order to ensure that events logged in Event Viewer are more meaningful, actionable, and well-documented, thus providing better information for troubleshooting. In addition, Windows 7’s Event Viewer will be the central point of inquiry for all the operating system’s logs. More specifically, those operating system components that store logging information in text files will add events to the event log in Windows 7.

Other new features in Event Viewer allow you to create and save custom views so that you can easily focus in on the problem you are currently troubleshooting, create event subscriptions that can collect information from other computers on a network, and allow you to more easily correlate problems that affect multiple computers and assign tasks that are to run when a certain event occurs.

A tour


Let’s take a look around the new Event Viewer in Windows 7. As you can see in Figure A, the new user interface provides access to more pertinent information than Windows XP’s Event Viewer, as shown in Figure B.

Figure A



Windows 7’s Event Viewer provides access to lots of information.

Figure B



The user interface for Windows XP’s Event Viewer looks pretty stark in comparison to the Windows 7’s Event Viewer.

As you look at Windows 7’s Event Viewer, you’ll notice that the left pane contains an expandable tree that provides you with easy access to all of Event Viewer’s logs. The two main categories are Windows Logs and Applications and Services logs. The Windows Logs category includes the logs that were available in Windows XP, such as the Application, Security, and System logs, while the Applications and Services logs are a new category of event logs that store events from a single application or component.

In the center is the View Pane that provides you with an easy way to view both the list of events as well as the information that each event contains, as shown in Figure C.

Figure C



The View pane does double duty, showing you both the list of events and details about the selected event.

On the right side of Event Viewer is a new area called the Actions pane, which contains a list of actions, or commands, that are associated with Event Viewer. As you can see by comparing the Actions pane in Figures A and C, the Actions pane changes to provide relevant tasks depending on what is selected.

To make focusing on specific events easier, you can create a Custom View that essentially allows you to create a very detailed event query that can span several logs. To help you create a Custom View, Event Viewer provides you with a very detailed form, as shown in Figure D. Once you have created a Custom View, you can then save it and reuse it later.

Figure D



Creating Custom View can be a real time-saver when troubleshooting problems.

Attaching tasks to events is also a great troubleshooting feature. To make this a simple procedure, Windows 7’s Event Viewer employs the Task Scheduler Wizard and provides you with several relevant actions to attach to the event, as shown in Figure E.

Figure E



You can configure a task that is to take place when a certain event occurs.

What’s your take?


In addition to providing improved performance and a new user interface, Windows 7’s Event Viewer gives you a whole slew of new features to make troubleshooting a much easier task. If you are a Windows 7 user who has recently moved from XP, what has been your experience with Windows 7’s Event Viewer? As always, if you have comments or information to share about this topic, please take a moment to drop by the TechRepublic Community Forums and let us hear from you.

Stay on top of the latest Microsoft Windows tips and tricks with TechRepublic’s Windows Desktop newsletter, delivered every Monday and Thursday. Automatically sign up today!



"

Comentários

Postagens mais visitadas deste blog

Favigen, Favicon Generator

Favigen, Favicon Generator : " Favicons are small icons that help identify websites. They are used as a visual representation of a website both in the web browser and at many online services. The three most prominent locations of favicons are the browser’s address bar, the tabbar and the bookmarks folder. Many webmasters like to create custom favicons to add that custom identifier to their website. Favicons can be created in many image and icon editors, but also online. Favigen is a straightforward favicon generator that can turn an image into a favicon. All that it takes is to pick an image from the local hard drive first, select the dimensions of the favicon and click the submit button to make the service generate the favicon. Favigen supports several image formats, including jpg and png, and it does not seem to have size restrictions either. Available image dimensions range are 16×16, 32×32 and 64×64. The generated favicon is displayed directly on the page. A click on do...

A simple rsync script to back up your home directory

A simple rsync script to back up your home directory : " Backing up important data is obviously something we should all do. Unfortunately, it is not always easy to make it happen. We get lazy; we do not have the additional hardware for a backup server; it takes a long time and a lot of CDs to back up to optical media; we do not trust online backup services; backup schemes are difficult to set up and use — any of dozens of reasons can stand in our way. Still, we know we should be backing up our important data. Modern open source Unix-like operating systems offer a plethora of options for incredibly simple, effective backup schemes, however. If the problem is figuring out how to set one up, a simple rsync solution may be exactly what you need. The rsync utility is used to synchronize files between two systems. It does so by way of incremental copies, only copying from the source to the destination what has not already been copied there, saving time, network bandwidth, and syst...

Google Wave now open to the public: faster, Robots and Gadgets aplenty!

Google Wave now open to the public: faster, Robots and Gadgets aplenty! : " Filed under: Internet , Google If you somehow missed it, Google Wave is now a bonafide Labs project: rather than being an invite-only alpha, it's now a public beta test! If you don't already have an account, just head on over to Wave and use your regular Google login details. If you've not seen any of the Google Wave introductory videos , you should check them out -- they explain the whole thing a lot more succinctly than I ever could. Wave has also been enabled for Google Apps domains -- businesses could convert their internal communication to Waves today! Leading up to this public release there have a lot of changes. It's by no means finished, but Google Wave is now a lot faster . It's also more intuitive -- more useful -- and given the large number of Robots and Gadgets now reaching prime-time readiness, it feels like the mass adoption of Wave is imminent. Also, if you're an ol...