Think Like a Computer
No ads, no affiliate links, no software recommendations you did not ask for.

Windows Event Log: Reading and Finding the Error

Learn to read the Windows event log: understand levels, find critical errors, and correlate crashes with preceding events. Practical steps for Event Viewer.

The Windows event log is the first place to look when a machine misbehaves. It records what the operating system and applications were doing, and it records failures. The problem is volume: a typical system writes thousands of events a day, and most of them are noise. The skill is not opening Event Viewer; it is finding the event that matters and understanding what it means.

This page explains the structure of the event log, what the severity levels actually indicate, and how to trace a crash back to the events that led up to it. It also covers the common mistake of treating every error as a cause, when many are symptoms or routine occurrences.

What the Event Log Contains

The event log is a set of logs maintained by the Windows Event Log service. The three classic logs are:

  • Application – events from applications and services, such as a program crashing or a service failing to start.
  • System – events from the operating system itself, including driver failures, disk errors, and service problems.
  • Security – audit events, such as logon attempts and object access. By default, many security events are not logged unless auditing is enabled.

Newer Windows versions also have Applications and Services Logs, which are more specific, such as Microsoft-Windows-Kernel-Power/Operational or Microsoft-Windows-DNS-Client/Operational. These logs are often more useful than the broad System log for diagnosing specific components.

Each event has a Level, a Source, an Event ID, and a Timestamp. The Level is the severity, the Source is the component that generated the event, and the Event ID is a numeric identifier that uniquely defines the event type. The timestamp is crucial for correlation.

Understanding Event Levels

The Level field is not a measure of importance. It is a measure of severity, but a critical event can be benign and an informational event can be the key to a diagnosis.

LevelMeaningWhen it mattersWhen it does NOT apply
CriticalA failure that caused the system or a component to stop working.A crash or a shutdown. For example, Event ID 41 (Kernel-Power) means the system rebooted without a clean shutdown.A single critical event that is not followed by a problem. Some critical events are expected, such as a UPS-triggered shutdown.
ErrorA failure that did not stop the system but indicates a problem.A service failed to start, a disk read failed, a driver reported an error.An error that occurs once and is not repeated. For example, a network timeout during a temporary outage.
WarningAn event that is not a failure but may indicate a future problem.A disk is running out of space, a service is retrying.A warning that is part of normal operation, such as a service that retries and succeeds.
InformationA successful operation or a normal event.Service started, application installed, system booted.When you are looking for a failure. But information events are essential for establishing a timeline.
VerboseDetailed diagnostic information.Debugging a specific component.Normal troubleshooting. Verbose logging is usually disabled.

Key point: A Critical event is not automatically the cause of your problem. It may be the result. For example, a power loss causes Event ID 41, but the power loss was external. Similarly, a driver error may be the symptom of a failing disk, not the root cause.

Finding the Event That Matters

When the machine has a problem, the event log can tell you what happened, but you have to filter the noise. The steps below assume you are using Event Viewer, which is built into Windows. There is no need for third-party tools.

1. Open Event Viewer

Press Win + R, type eventvwr.msc, and press Enter. Alternatively, search for “Event Viewer” in the Start menu.

2. Filter the Log

Start with the System log, because most hardware and driver issues appear there. Right-click System and choose Filter Current Log…. In the dialog, check Critical and Error. You can also set a time range, such as the last hour or the time of the problem. Click OK.

Now you have a list of errors and critical events. But many of these are routine. For example, a service that failed to start once and then started on retry is not your problem. Look for events that match the time of the symptom.

3. Read the Event Details

Double-click an event to see its details. The General tab gives a description. The Details tab shows the raw XML, which often contains more specific information, such as a file path or an error code.

Pay attention to the Source and Event ID. For example, Event ID 7000 from Service Control Manager means a service failed to start. Event ID 1000 from Application Error means an application crashed.

4. Correlate with the Time of the Problem

If the machine crashed at 14:32, look at events from 14:25 to 14:35. The events immediately before the crash are the most relevant. A crash is usually preceded by a series of events: a driver warning, then an error, then a critical event. The sequence tells the story.

To see events in chronological order, sort the log by Date and Time by clicking the column header.

The Event ID is the most precise way to research an event. Search the web for “Event ID 41” or “Event ID 1000” along with the source. Microsoft’s documentation and community forums will explain what the event means and common causes.

Correlating a Crash: A Worked Example

Suppose the machine restarted unexpectedly. The first thing to do is filter the System log for Critical events. You will likely see Event ID 41, Kernel-Power, with a message that the system rebooted without cleanly shutting down first. This event is generated when the system starts after an unclean shutdown. It tells you that the system lost power or crashed, but it does not tell you why.

Now look at the events just before the crash. Filter for Errors and Warnings in the same time range. You might see:

  • Event ID 6008 from EventLog: “The previous system shutdown was unexpected.” This appears at the next boot and confirms the unclean shutdown.
  • Event ID 1001 from BugCheck: This indicates a blue screen (BSOD) occurred. The event contains the bugcheck code, which you can look up.
  • Event ID 41 from Kernel-Power: This is the critical event.

If you see a BugCheck event, the bugcheck code (e.g., 0x0000007E) tells you the type of crash. If you see a disk error (Event ID 7 from disk, or Event ID 51 from disk), the crash may be caused by a failing drive.

If there are no errors before the crash, the cause may be hardware, such as a power supply or overheating. The event log cannot tell you everything; it can only tell you what was recorded.

What People Get Wrong About the Event Log

The most common mistake is to treat every Error or Critical event as the cause of the current problem. This is a natural mistake because the log is full of red flags, and it is easy to assume that red means “the problem.”

But the event log is a record of what happened, not a diagnosis. A Critical event may be the result of the problem, not the cause. For example, a kernel-power event (Event ID 41) is often the result of a power loss, not a software bug. Similarly, a driver error may be caused by a failing hard drive, not by the driver itself.

Another common mistake is to focus on the first error you see, without checking the timeline. An error that occurred hours before the crash is unlikely to be the cause. The events immediately preceding the crash are the most relevant.

A third mistake is to assume that a clean event log means there is no problem. Some failures are not logged, or they are logged as Information. For example, a hardware failure that causes a freeze may not produce an event because the system cannot write to the log.

The correct approach is to use the event log as a clue, not as a verdict. Correlate the events with the symptom, look for patterns, and use the Event ID to research. If the log does not point to a clear cause, move on to other diagnostic tools, such as reliability monitor or hardware tests.

Using the Command Line

Event Viewer is graphical, but the command line can be faster for filtering and exporting. The wevtutil tool is built into Windows.

To list the logs:

wevtutil el

To query the System log for errors in the last 24 hours and display the event ID and message:

wevtutil qe System "/q:*[System[(Level=1 or Level=2) and TimeCreated[timediff(@SystemTime) <= 86400000]]]" /c:20 /f:text

This command returns the 20 most recent errors and critical events from the System log. The output includes the Event ID, Source, and message. If the command returns nothing, there are no matching events.

To export the entire System log to a file for analysis:

wevtutil epl System C:\systemlog.evtx

The file can be opened in Event Viewer on another machine.

PowerShell also has cmdlets for event logs. To get the last 10 errors from the System log:

Get-WinEvent -LogName System -MaxEvents 10 | Where-Object {$_.LevelDisplayName -eq 'Error' -or $_.LevelDisplayName -eq 'Critical'} | Format-List TimeCreated, Id, ProviderName, Message

The output shows the time, event ID, source, and message for each event.

When the Event Log Is Not Enough

The event log is a starting point, not a complete diagnostic tool. If the log does not reveal the cause, consider:

  • Reliability Monitor – a built-in tool that shows a timeline of system events, including software installs, failures, and warnings. It can be easier to spot patterns than in Event Viewer.
  • Hardware diagnostics – memory tests, disk checks, and temperature monitoring. A failing component may not produce a specific event.
  • Clean boot – to determine if a third-party service or driver is causing the issue.

These are beyond the scope of this page, but they are the natural next steps when the event log is inconclusive.

Summary

The event log is a powerful diagnostic tool, but it requires interpretation. Understand the levels, filter for the time of the problem, and correlate events to build a timeline. Use the Event ID to research specific events. Avoid the trap of assuming every error is the cause. With practice, the event log will point you to the root cause more often than not.

Common questions

How do I find the error in Event Viewer?

Open Event Viewer, go to Windows Logs > System, and filter for Critical and Error levels. Then look at events around the time of the problem. Double-click an event to see details, and note the Event ID and Source to research further.

What does a Critical event mean in the event log?

A Critical event indicates a failure that caused the system or a component to stop working. However, it is not always the root cause; it may be the result of an external factor, such as a power loss. Always correlate with surrounding events.

Why are there so many errors in the event log?

Many errors are routine and do not indicate a problem. For example, a service may fail to start once and then succeed on retry. The event log records all failures, but only a few are relevant to a specific issue. Filter by time and severity to focus on what matters.

How do I export the event log for analysis?

You can use the command `wevtutil epl System C:\systemlog.evtx` to export the System log to a file. This file can be opened in Event Viewer on another machine. Alternatively, use PowerShell's `Get-WinEvent` to export to CSV or XML.

What is Event ID 41 (Kernel-Power)?

Event ID 41 from Kernel-Power means the system rebooted without a clean shutdown. This event is logged when the system starts after an unexpected shutdown. It does not tell you the cause; you need to look at events before the crash to determine why.

Read next