Where Is Windows System Log? Find Event Viewer
In this article
Windows system logs are located in the Event Viewer application. This tool centralizes records of software, hardware, and security events generated by your PC’s operating system and installed programs.
What You'll Need
- A Windows 10 or Windows 11 PC with administrator privileges (recommended for full access).
- No additional software installation is required; Event Viewer is built into the OS.
Step-by-Step
- Open Event Viewer: Press the
Windows Key + Ron your keyboard to open the Run dialog box. Typeeventvwr.mscand pressEnter. Alternatively, right-click the Start button and select Event Viewer from the context menu. - Navigate the Console Tree: On the left side of the window, you will see a tree structure labeled "Event Viewer (Local)". Expand this node to reveal several folders.
- Locate Standard Logs: Click the arrow next to Windows. Inside this folder, you will find the core system logs:
- Application: Errors and warnings from installed programs.
- Security: Audit logs for login attempts, permission changes, and policy changes.
- Setup: Information related to Windows updates and installations.
- System: Driver failures, service crashes, and hardware issues reported by Windows components.
- View Detailed Entries: Click on any of these log folders (e.g., "System"). The center pane will populate with a list of recent events. Each entry shows an Event Level (Error, Warning, Information), Source, Event ID, and Date/Time.
- Filter Specific Events: To reduce clutter, click Action in the top-right toolbar, then select Filter Current Log.... Here, you can check boxes for specific levels like "Error" and "Warning" to hide informational noise. Click OK to apply.
Common Mistakes
Users often confuse the raw log files with the interface used to read them. A common error is trying to open text files directly from the C:\Windows\System32\winevt\Logs directory. While these .evtx files exist, they are binary formats that cannot be read correctly in Notepad or Word. Always use Event Viewer to interpret them.
Another frequent mistake is ignoring the "Event ID." Two errors might look similar visually, but the unique Event ID number determines exactly which component failed. Searching for just the error message without the ID often leads to irrelevant search results.
Tips
Create Custom Views: If you frequently monitor specific issues, do not rely on manual filtering. In the left pane, right-click Custom Views and select Create Custom View.... Select the logs to search (e.g., System and Application), choose the event levels, and give it a name like "Critical Errors." This creates a permanent shortcut to those specific logs.
Export Logs for Support: When seeking help from IT support or Microsoft, they may ask for your logs. Right-click the log folder (e.g., System) and select Save All Events As.... Save it as an .evtx file. Do not send screenshots; the file contains the metadata needed for diagnosis.
Troubleshooting
If Event Viewer fails to open or appears blank, try the following steps in order:
Restart the Windows Management Instrumentation (WMI) Service: Press Windows Key + R, type services.msc, and hit Enter. Scroll down to find Windows Management Instrumentation. Right-click it and select Restart. This service feeds data to Event Viewer; if it hangs, the viewer will show nothing.
Check Disk Space: If your drive is completely full, Windows may stop writing new logs. Ensure you have at least a few gigabytes of free space on your C: drive.
Repair System Files: Open Command Prompt as Administrator (search cmd in Start, right-click, select Run as administrator). Type sfc /scannow and press Enter. Allow the process to complete and repair any corrupted system files that might be preventing the logging service from functioning.
Frequently Asked Questions
Can I view logs from another computer remotely?
Yes. In Event Viewer, go to Action > Connect to Remote Computer.... Enter the IP address or name of the target machine. Note that remote management must be enabled on the target PC via Group Policy or PowerShell.
Why are some log entries grayed out?
Grayed-out entries usually indicate "Informational" level events that are being suppressed by default filters. They are still recorded but hidden to keep the view clean. Adjusting your filter settings will reveal them.
How far back do the logs go?
By default, Windows retains logs until the file reaches a maximum size limit (usually 20MB for System/Application). Once full, older events are overwritten by newer ones. You can change this retention policy in the "Properties" of each log folder.
Is there a way to clear all logs?
You can right-click any log folder and select Clear Log.... Be aware that clearing logs deletes historical data permanently, which may hinder troubleshooting past issues. It is generally safer to archive them first using the "Save All Events As" option.
Do third-party apps create their own logs?
Most reputable applications write to the standard Windows Application log rather than creating separate visible files. However, some specialized software (like web servers or databases) may maintain their own proprietary log files in their installation directories.