FolderRisk: Caution
WindowsUpdate C:\Windows\Logs\WindowsUpdate
Folder of Windows Update .etl trace files, to convert with Get-WindowsUpdateLog into a readable log.
What it’s for
Windows Update no longer writes a WindowsUpdate.log directly: the agent goes through Event Tracing for Windows (ETW) and produces .etl files, which land in this folder. You have to convert them before you can read anything.
What it contains
WindowsUpdate.<date>.<time>....etltrace files, unreadable as is.- Other update-related traces, such as
UpdateSessionOrchestration.etlorNotificationUxBroker.etl. - No text log: the readable
WindowsUpdate.logis generated on demand.
Risks and best practices
- Deleting these files does not break Windows, but it erases the history diagnosis needs.
Get-WindowsUpdateLogmerges the.etlfiles into a singleWindowsUpdate.log. It is a static copy, so regenerate it when you want fresh data.- Cross-check update errors with
CBS.logand the System log.
Useful commands
# List the tracesGet-ChildItem "$env:windir\Logs\WindowsUpdate" -Force | Sort-Object LastWriteTime -Descending | Select-Object -First 10 Name, Length, LastWriteTime
# Generate a readable log on the DesktopGet-WindowsUpdateLog -LogPath "$env:USERPROFILE\Desktop\WindowsUpdate.log"