Skip to content

How-ToOS

How to Use Event Viewer in Windows 11 to Find Crashes and Errors

How to use Event Viewer in Windows 11 to find out why your PC crashed or restarted: open it, filter the System log for critical errors, read Kernel-Power Event ID 41 and its bug check codes, create a custom view and find Windows Memory Diagnostic results.

By , Systems & Technical Editor

4 min read

How to Use Event Viewer in Windows 11 to Find Crashes and Errors

When a PC restarts on its own, blue-screens or an app keeps crashing, Windows usually writes something about it to its event logs. Event Viewer is the built-in tool for reading those logs. It looks intimidating, but you only need a few parts of it to troubleshoot a gaming PC. This guide is based on Microsoft's documentation and Windows Central's walkthrough.

Step 1: Open Event Viewer

Open Start, search for Event Viewer and select the top result. Alternatively, press Windows key + R, type eventvwr.exe and select OK.

Step 2: Find the right log

In the left pane, expand Windows Logs. Microsoft describes the Application, Security and System logs here as the main logs, alongside Applications and Services Logs, which hold logs for individual Windows components.

For most hardware and crash problems, start with:

  • System: the log Microsoft's Event ID 41 and stop code guidance both point to, so start here for unexpected restarts and blue screens.

  • Application: events logged by programs, worth checking if one app keeps crashing.

Step 3: Filter for errors around the time of the problem

The logs contain thousands of entries, so filter them:

  1. Right-click System (or Application) and choose Filter Current Log.

  2. Under Logged, pick a time range that covers when the problem happened.

  3. Tick Critical and Error (add Warning if you find nothing).

  4. Select OK.

Windows Central's guide points out that Windows logs warnings and errors during normal operation, and many can be ignored, for example a service that failed to start first time but started later. Focus on entries whose time matches your crash.

If you check the same thing often, right-click a log and choose Create Custom View to save the filter.

Step 4: Read Kernel-Power Event ID 41

If your PC restarted or switched off without a proper shutdown, look for Event ID 41 (source Kernel-Power) in the System log. Microsoft says Windows logs this the next time the computer starts after it shuts down unexpectedly, with the description "The system has rebooted without cleanly shutting down first."

Open the event and look at its event data, which includes the BugcheckCode and PowerButtonTimestamp fields. Microsoft's troubleshooting article explains how to read them:

  • BugcheckCode is not zero: the PC restarted because of a stop error (a blue screen). The code is shown in decimal; Microsoft's example 159 converts to 0x9F. You can convert it with Calculator in Programmer mode, then look the code up in Microsoft's bug check code reference.

  • PowerButtonTimestamp is not zero: the PC was restarted by holding down the power button.

  • Both values are zero, or no Event ID 41 at all: Microsoft says this might indicate a power supply problem, for example an underpowered or faulty PSU, a power cut or the PC being unplugged. It says these symptoms typically indicate a hardware problem, and suggests steps such as disabling overclocking.

If it looks like power, our guide on how to tell if your PSU is failing and our random restarts fix guide are the next steps.

Step 5: Use it alongside other tools

Microsoft's guidance for stop code errors includes checking the system log in Event Viewer for critical errors in the same time frame as the crash, looking for anything that points to a device or driver. It also suggests running Windows Memory Diagnostic, then using Event Viewer to see the results: look in the System log for the MemoryDiagnostics-Results entry.

For a broader view, Reliability Monitor shows crashes and errors on a timeline. If you're dealing with blue screens specifically, see how to fix a blue screen in Windows 11; for games that keep closing, see how to fix games crashing on PC. For RAM problems, a longer test with MemTest86 is more thorough.

Tips

  • Note the Source and Event ID of anything relevant. Searching for those two together, ideally on Microsoft's own documentation, is the quickest way to find out what an event means.

  • Don't panic about every red entry. As Windows Central notes, Windows logs errors and warnings during normal operation, so focus on entries that line up with a real problem.

  • Clearing logs is possible (right-click a log, then Clear Log), but it removes the evidence. Windows Central notes you can choose Save and Clear to keep a copy.

Our verdict

Event Viewer is the first place to look after a crash or unexpected restart. Filter the System log for Critical and Error events around the time of the problem, then check Kernel-Power Event ID 41: a non-zero bug check code points to a blue screen you can look up, while zeros often point to power or hardware, according to Microsoft. Pair it with Reliability Monitor and a memory test, and you can often narrow down the cause.

The bottom line

Event Viewer is the first place to look after a crash or unexpected restart. Filter the System log for Critical and Error events around the time of the problem, then check Kernel-Power Event ID 41: a non-zero bug check code points to a blue screen you can look up, while zeros often point to power or hardware, according to Microsoft. Pair it with Reliability Monitor and a memory test, and you can often narrow down the cause.

Sources

  1. 01Microsoft Learn, Advanced troubleshooting for Event ID 41: "The system has rebooted without cleanly shutting down first"
  2. 02Microsoft Learn, Bug checks (stop code errors)
  3. 03Microsoft Learn, Inside Show: Event Viewer
  4. 04Windows Central, How to get started with Event Viewer on Windows 11

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix a Mouse That Double-Clicks When You Click Once

How-To

How to Fix a Mouse That Double-Clicks When You Click Once

How to fix a mouse that double-clicks when you click once: check Windows' click and double-click speed settings, test in other apps, change USB port, clean the button and test on another PC, plus what to do if the mouse is faulty.

Marcus Thorne3 min

How to Use the Windows Backup App in Windows 11

How-To

How to Use the Windows Backup App in Windows 11

How to use the Windows Backup app in Windows 11 to save your folders to OneDrive and your apps, settings and Wi-Fi details to your Microsoft account, restore them on a new PC, change what's backed up and understand its limits.

Marcus Thorne3 min

How to Remove or Turn Off Copilot in Windows 11

How-To

How to Remove or Turn Off Copilot in Windows 11

How to remove or turn off Microsoft Copilot in Windows 11: uninstall the Copilot app in Settings or with PowerShell, change what the Copilot key does, and the AppLocker option Microsoft recommends for IT admins.

Marcus Thorne3 min

How to Translate Text Offline on Your PC with LibreTranslate

How-To

How to Translate Text Offline on Your PC with LibreTranslate

How to run LibreTranslate, a free and open-source translation service, on your own PC: install it with pip, load only the languages you need, translate in the browser or through its API, keep it local and add optional CUDA acceleration.

Marcus Thorne3 min