Windows 11 error logs: where to find them and how to read them
Windows 11 keeps errors in several places: the event logs, the update and DISM logs, and crash dump files. Start with Event Viewer (System and Application), filter by Error level around the time of the problem, and use PowerShell for a faster or deeper look.
On this page
What it means
"Error log" is not one file in Windows. The system writes different kinds of problems to different places, so where to look depends on what went wrong: an app crash, a freeze, a restart, or a failed update.
The main places are the event logs (Application, System, Security and Setup), stored as .evtx files in %SystemRoot%\System32\Winevt\Logs\; the DISM log at %WINDIR%\Logs\Dism\dism.log; the Windows Update trace files, which need converting before you can read them; and .dmp crash dump files left after a blue screen. This page shows how to reach each one without getting lost in harmless warnings.
If you already have a specific update error code, the Windows 11 update error guide may get you to the answer faster.
Symptoms and causes
You are likely dealing with this problem if:
- An app crashed, Windows froze or restarted, and you want to know why
- An update or install failed and you need the log behind it
- You looked for a Windows Update log file and cannot find a readable one
- Event Viewer shows a lot of errors and you cannot tell which one matters
The usual causes, most common first:
- There is no single log file
- Errors are spread across the event logs, the update traces, the DISM log and dump files, so checking only one place often shows nothing useful.
- WindowsUpdate.log is not written as plain text any more
- Microsoft states that Windows Update no longer directly produces a WindowsUpdate.log file. It writes .etl trace files to C:\Windows\Logs\WindowsUpdate, which have to be converted before you can read them.
- Event Viewer is noisy
- Many Warning and Error events are harmless. Without a time and level filter, the one event that matches your problem is easy to miss.
- Some logs need administrator rights
- Microsoft's Get-WinEvent documentation warns that without admin rights you might see errors saying information about a log cannot be retrieved.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Read the System and Application logs in Event Viewer
This is the main place Windows records crashes, service failures and driver problems. Filtering by level and time turns a huge list into a few events.
- Press WinS, type
Event Viewerand open it. - In the left pane, expand Windows Logs and select System for Windows, driver and hardware problems, or Application for app crashes.
- Right-click the log and choose Filter Current Log. Tick Critical and Error, and set Logged to a range that covers the time of the problem.
- Click an event to read its details in the pane below. Compare its time with when the failure actually happened, and ignore errors from other times.
- To reuse the same filter later, choose Create Custom View instead and save it.
2.Pull recent errors with PowerShell
A single command shows only recent events, which is quicker than clicking through filters.
- Right-click Start, choose Terminal (Admin) and confirm the prompt. Admin rights avoid errors about logs that cannot be read.
- List System events from the last two days with Information events hidden, so what remains is Warning, Error and Critical. Add
-MaxEvents 50at the end to limit the output.Get-WinEvent -FilterHashtable @{LogName='System'; StartTime=(Get-Date).AddDays(-2); SuppressHashFilter=@{Level=4}} - For app crashes, use the Application log instead.
Get-WinEvent -FilterHashtable @{LogName='Application'; StartTime=(Get-Date).AddDays(-2); SuppressHashFilter=@{Level=4}} - To see every log available on the PC, or to read a saved log file, use these.
Get-WinEvent -ListLog * Get-WinEvent -Path 'C:\path\file.evtx'
3.Generate a readable Windows Update log
Because the update log is stored as .etl traces, you need to convert it to text when an update or install fails.
- Open Terminal (Admin) and run the command. It writes
WindowsUpdate.logto your Desktop by default. Microsoft's page for this command is written for Windows Server and does not name Windows 11, so if PowerShell does not recognise it on your PC, skip this fix.Get-WindowsUpdateLog - To choose where the file goes, add
-LogPathwith a file name. To also produceUSO.logandUX.login a folder on the Desktop, add-IncludeAllLogs.Get-WindowsUpdateLog -LogPath C:\Temp\WindowsUpdate.log - Open the resulting file in Notepad and search for
errororfailednear the time of the failed update. Temporary files are kept in$env:TEMP\WindowsUpdateLog. - Match any error code you find with the site's guides, for example 0x80070643 or 0x80073712.
4.Check what a blue screen left behind
After a blue-screen crash, the System log records the event and a .dmp dump file holds the details that explain the stop code.
- Dump files are only written if the crash dump setting allows it. To check, open Control Panel > System and Security > System, select Advanced system settings, and under Startup and Recovery select Settings. The Write Debugging Information list sets the kind of dump Windows creates.
- Small memory dumps are listed in the
%SystemRoot%\Minidumpfolder (normallyC:\Windows\Minidump), with names that contain the crash date. Other dump types depend on the setting above. - In Event Viewer, open Windows Logs, then System, and look for events from the time of the crash, such as BugCheck or Kernel-Power.
- To analyse a dump file, install WinDbg using Microsoft's Install WinDbg page (direct installer, Microsoft Store or winget), then open the
.dmpfile from WinDbg's File menu. - In the WinDbg command window, run the analysis command first.
.bugcheckshows the bug check code.!analyze -v .bugcheck
5.Look at the DISM log for repair failures
Failures of DISM repair and servicing commands write to their own log rather than to Event Viewer.
- Open File Explorer and go to
%WINDIR%\Logs\Dism\(normallyC:\Windows\Logs\Dism\), then opendism.log. This is DISM's default log location unless the command was run with/LogPath. - When the log grows, DISM archives it as a
.bakfile and starts a new one, so check fordism.log.bakif the failure is not in the current file. If you need to send the log to someone for help, copy it instead of opening it in a small editor.
Check that it worked
- You can open Event Viewer and see at least one System or Application event matching the time of the failure
- Get-WindowsUpdateLog creates a readable WindowsUpdate.log on the Desktop
- For a blue screen, WinDbg opens the dump file and shows a bug check code
If it still fails
- If the log shows nothing near the failure time, check that the filter's time range includes it and that you opened both System and Application.
- If the log is unreadable or access is denied, reopen Terminal or Event Viewer as administrator.
- Take the exact event source, event ID and message text to Microsoft's support pages or the device manufacturer's support, and search for those rather than for a general description.
- For repeated blue screens or update failures, see the site's Windows 11 update error guide and the guides for the specific code you found.
Questions
Are all the errors in Event Viewer a problem?
No. Many Error and Warning events are harmless and appear on healthy PCs. Only look at events that match the time of a real failure.
Should I use Get-EventLog instead?
No. Get-WinEvent is the current command. Get-EventLog is kept only for backward compatibility. Neither works in WinPE.
Sources
- Get-WinEvent (Microsoft.PowerShell.Diagnostics)Official · Microsoft Learn
- Get-WindowsUpdateLog (WindowsUpdate)Official · Microsoft Learn
- Analyze a Kernel-Mode Dump File by Using WinDbgOfficial · Microsoft Learn
- Install WinDbgOfficial · Microsoft Learn
- Enabling a Kernel-Mode Dump FileOfficial · Microsoft Learn
- Small Memory DumpOfficial · Microsoft Learn
- DISM Global Options for Command-Line SyntaxOfficial · Microsoft Learn