Microsoft improves Windows Update log formatting in Windows 10 version 1709

Martin Brinkmann
Oct 11, 2017
Windows, Windows 10
|
5

Microsoft switched the Windows Update log file from a plain text document to a binary file with the release of Windows 10.

This meant, among other things, that you could not just open the log in a plain text editor to go through it, or use text editing tools to process it directly.

Microsoft released a PowerShell cmdlet called Get-WindowsUpdateLog that Home users and administrators may use to convert the binary log file to a formatted plain text document.

The cmdlet accepts several parameters, but you can also run it without any to merge and convert Windows Update traces files to a single log file that is readable in any plain text reader.

get-windowsupdatelog powershell

The process up until now relied on access to Windows symbols which were pulled from a public Microsoft symbol server. If access to the server was not available at the time, for instance because of network issues or if the local device was not connected to the Internet, the formatting would not work as intended.

Microsoft changed the requirement in the Fall Creators Update for Windows 10. While you still need to run Get-WindowsUpdateLog to format the log files, a connection to a symbol server is no longer required for it.

Optional parameters explained:

  • -Confirm -- This parameter prompts you and waits for confirmation before it runs the PowerShell cmdlet.
  • -ETLPath PATH(s) -- This lets you pick the folder, file or files that you want processed by the cmdlet.
  • -ForceFlush -- Forces the Windows Update Agent to flush all of its traces to etl files. Stops Update Orchestrator and Windows Update services, requires elevated privileges.
  • -LogPath -- Specifies the path the processed log file should be written to.
  • -ProcessingType -- Specifies the file type for temporary files that are created during processing. Default format is CSV, but XML may be used as well.
  • SymbolServer -- Select the Microsoft Symbol Server.  Default is the public symbol server.
  • -WhatIf -- A dry run that previews what would happen if you would run the cmdlet.
Summary
Microsoft improves Windows Update log formatting in Windows 10 version 1709
Article Name
Microsoft improves Windows Update log formatting in Windows 10 version 1709
Description
Microsoft switched the Windows Update log file from a plain text document to a binary file with the release of Windows 10.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Brian Hampson said on December 5, 2017 at 12:34 am
    Reply

    I was so frustrated with this that I put an entry in the Feedback Hub for Windows 10.

    Jump in and look for “WindowsUpdate.log – Bring back Flat Text format”

    The more upvotes it gets, the more likely MS will actually do something.

  2. Fedup said on November 30, 2017 at 3:37 am
    Reply

    Just put the text file back please… can’t monitor these new files in real time…. just a pain in the arse… helps no one…

  3. haha said on October 12, 2017 at 5:43 am
    Reply

    No one need this IF the windows updates never fail…

  4. Nate said on October 11, 2017 at 1:12 pm
    Reply

    All I need is the old WindowsUpdate.log file. For most minor issues with updates, having to run this stupid cmdlet is annoying as all get out.

  5. Franck said on October 11, 2017 at 10:24 am
    Reply

    Very interesting !

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.