Summary
Starting with Windows 10 and higher Operating Systems, Microsoft decided to decrease a load of Windows by changing how the default log file of Windows Update should be written and reviewed. On the newer systems Microsoft requires you to issue the logfile first before you can read any of it.
Synopsis
This tutorial explains the faster and easier way to do this on the fly using Windows PowerShell.
Discussion
Steps:
1. Open an elevated PowerShell prompt.
2. Run:
Get-WindowsUpdateLog
3. Accept the eventual popup that makes you agree on using Microsoft Symbols (first-time use only).
4. Await PowerShell to find and compile the relevant WU chunks (.etl files) generated on the system
5. When done, PowerShell will place the WindowsUpdate.log file on your Desktop.
The compiled WindowsUpdate.log file is generated as a 'fixed-only' file using this method.
Workaround
Windows Update may sometime generate an excessive number of .etl files tracing update history in longer periods. The compilation of such log files may take a longer time to compile all .etl chunks.
To keep historical data and still retain a limited amount of chunks, you can compile WU.log on your desktop and then delete the compiled chunks leaving you with the compiled file as a backup.
Useful information
1. Directory where all .etl chunks are generated is: "C:\Windows\Logs\WindowsUpdate\"
2. You can remove chunks based on any string pattern within the names of the .etl chunks using wild character (*) before and after the string you aim to select.
Example
a) Use 'dir' command to list all contents in the folder and the -Name property
b) Find a similar pattern in the files you want to delete (such as date, or common string of characters)
c) Use 'Remove-Item' command with a wild character before and after the selected string to delete files
Command example
dir C:\Windows\Logs\WindowsUpdate\
Remove-Item *20180618* (this will delete all files that date from 18-06-2018)
Additional Information
Related Articles
BSOD When Building on Windows 10 6Number of Views AdminStudio Keeps Prompting the message "This feature requires AdminStudio (Version) Professional Subscription or higher" 12Number of Views Error 1315 Unable to Write to the Specified Folder (Shared Folder) on Windows 10 machines 4Number of Views FLEXID9 with Windows 10 20H2 8Number of Views Identifying Windows 10 with MSI 16Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago