{"id":174,"date":"2008-04-11T22:33:32","date_gmt":"2008-04-11T17:03:32","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=174"},"modified":"2020-03-11T11:39:16","modified_gmt":"2020-03-11T11:39:16","slug":"how-to-print-the-windows-update-history","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/how-to-print-the-windows-update-history\/","title":{"rendered":"How to Print Your Windows Update History By Exporting to Text or HTML File?"},"content":{"rendered":"<p>Every time you install an update or system installs it automatically, the Windows Update history is updated with the KB number. You can check the Windows Update history, but the GUI provides no option to print the list of updates installed from the Windows Update history screen. Here a couple of tools from Nirsoft site that can help you print the Windows Update history.<!--more--><\/p>\n<h2>How to Print Your Windows Update History By Exporting to a file<\/h2>\n<h3>Using WinUpdatesList<\/h3>\n<p><a href=\"http:\/\/www.nirsoft.net\/utils\/wul.html\" target=\"_blank\" rel=\"noopener noreferrer\">WinUpdatesList<\/a> displays the list of all Windows updates, including Service Packs and Hotfixes installed on your local computer. You can copy the list of updates to the clipboard, or save it to text\/HTML\/XML file in a single click. The following fields are shown for each update listed.<\/p>\n<p>Name, Description, Installation Date, Update Type, Web Link, Long Description, Last Modified Time, Installed by, Display Version, Application, Uninstall Command<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdateslist.png\" alt=\"winupdateslist - Print Your Windows Update History\" width=\"774\" height=\"525\" class=\"alignnone size-full wp-image-8472\" srcset=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdateslist.png 774w, https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdateslist-768x521.png 768w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/p>\n<p>Select all entries and click the Save button. From the file types drop-down list box, select the format in which the data is to be written. WinUpdatesList works in all versions of Windows.<\/p>\n<div class=\"qt\"><strong>Note:<\/strong> WinUpdatesList tool is very old and it&#8217;s not updated anymore. There is a new tool named <strong>WinUpdatesView<\/strong> that replaces <strong>WinUpdatesList<\/strong>.<\/div>\n<h4>WinUpdatesView (Windows Updates History Viewer)<\/h4>\n<p><a href=\"https:\/\/www.nirsoft.net\/utils\/windows_updates_history_viewer.html\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">WinUpdatesView<\/a> is a simple tool from Nirsoft that displays the history of Windows updates on your system. WinUpdatesView can load the Windows updates history from your local system, using API, and it can also read and parse the Windows updates database file (<code>DataStore.edb<\/code>) from an external drive or from a remote computer on your network.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdatesview.png\" alt=\"WinUpdatesView - Windows Updates History Viewer\" width=\"699\" height=\"377\" class=\"alignnone size-full wp-image-14599\" \/><\/p>\n<p><em><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-check-if-a-windows-update-kb-is-installed\/\">How to Check if a Specific Windows Update (KB) is Installed on your Computer?<\/a><\/em><\/p>\n<h3>Using SysExporter<\/h3>\n<p><a href=\"http:\/\/www.nirsoft.net\/utils\/sysexp.html\" target=\"_blank\" rel=\"noopener noreferrer\">SysExporter<\/a> allows you to grab the data stored in standard list-views, tree-views, list boxes, and combo boxes from almost any application running on your system, and export it to text, HTML or XML file. Let&#8217;s use SysExporter to export the Windows Update list to a text file on a Windows 7 computer.<\/p>\n<p><em>Unfortunately, on a Windows 10 computer, SysExporter is unable to grab the Windows updates list from Control Panel &rarr; All Control Panel Items &rarr; Programs and Features &rarr; <strong>View installed updates<\/strong> list view box.<\/em><\/p>\n<p>To export the Windows Update History in Windows 7, use these steps:<\/p>\n<ol>\n<li>Download <b><a href=\"http:\/\/www.nirsoft.net\/utils\/sysexp.html\" target=\"_blank\" rel=\"noopener noreferrer\">SysExporter<\/a><\/b> tool and run it<\/li>\n<li>Click Start, All Programs, Windows Update<\/li>\n<li>Click <strong>View update history<\/strong>\n<li>In SysExporter, select the item named <b>View update history (ListView)<\/b><\/li>\n<li>In the lower pane, select all the entries (CTRL + A)<\/li>\n<li>Right-click and choose <b>Copy selected items (Tab delimited)<\/b><\/li>\n<li>Open <strong>Notepad<\/strong> and paste the text from the clipboard.<\/li>\n<li>Save the Notepad document.<\/li>\n<\/ol>\n<p>You can also open the exported CSV file using Microsoft Excel\u00a0so that it will be shown neatly with column headers.<\/p>\n<h3>Using PowerShell<\/h3>\n<p>Launch Windows Powershell. Copy and paste the following code in the PowerShell console:<\/p>\n<pre>Get-Hotfix | format-list<\/pre>\n<p>This lists the installed updates for your Operating System.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/get-hotfix-powershell-output.png\" alt=\"print windows update list to a file\" width=\"700\" height=\"317\" class=\"alignnone size-full wp-image-9599\" \/><\/p>\n<p>The following code snippets will list all kind of updates (both Windows and app) but only those installed using Windows Update, Microsoft Update, Automatic Updates feature or via WSUS.<\/p>\n<pre># Convert Wua History ResultCode to a Name\r\n# 0, and 5 are not used for history\r\n# See https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa387095(v=vs.85).aspx\r\nfunction Convert-WuaResultCodeToName\r\n{\r\n    param(\r\n        [Parameter(Mandatory=$true)]\r\n        [int] $ResultCode\r\n    )\r\n\r\n    $Result = $ResultCode\r\n    switch($ResultCode)\r\n    {\r\n      2 {\r\n        $Result = \"Succeeded\"\r\n      }\r\n      3 {\r\n        $Result = \"Succeeded With Errors\"\r\n      }\r\n      4 {\r\n        $Result = \"Failed\"\r\n      }\r\n    }\r\n\r\n    return $Result\r\n}\r\n\r\nfunction Get-WuaHistory\r\n{\r\n\r\n  # Get a WUA Session\r\n  $session = (New-Object -ComObject 'Microsoft.Update.Session')\r\n\r\n  # Query the latest 1000 History starting with the first recordp     \r\n  $history = $session.QueryHistory(\"\",0,1000) | ForEach-Object {\r\n     $Result = Convert-WuaResultCodeToName -ResultCode $_.ResultCode\r\n\r\n     # Make the properties hidden in com properties visible.\r\n     $_ | Add-Member -MemberType NoteProperty -Value $Result -Name Result\r\n     $Product = $_.Categories | Where-Object {$_.Type -eq 'Product'} | Select-Object -First 1 -ExpandProperty Name\r\n     $_ | Add-Member -MemberType NoteProperty -Value $_.UpdateIdentity.UpdateId -Name UpdateId\r\n     $_ | Add-Member -MemberType NoteProperty -Value $_.UpdateIdentity.RevisionNumber -Name RevisionNumber\r\n     $_ | Add-Member -MemberType NoteProperty -Value $Product -Name Product -PassThru\r\n\r\n     Write-Output $_\r\n  } \r\n\r\n  #Remove null records and only return the fields we want\r\n  $history | \r\n      Where-Object {![String]::IsNullOrWhiteSpace($_.title)} | \r\n          Select-Object Result, Date, Title, SupportUrl, Product, UpdateId, RevisionNumber\r\n}<\/pre>\n<p>Src: <a href=\"https:\/\/stackoverflow.com\/questions\/41626129\/how-do-i-get-the-update-history-from-windows-update-in-powershell\" rel=\"noopener nofollow noreferrer\" target=\"_blank\">Stack Overflow<\/a><\/p>\n<p>And then run:<\/p>\n<pre>Get-WuaHistory | Format-Table<\/pre>\n<p>The command-line outputs the list of installed WU updates on the console window<\/p>\n<p>To output the results to a .html file, run:<\/p>\n<pre>Get-WuaHistory | sort-object Date -Unique | ConvertTo-Html | Out-File d:\\wulist.htm<\/pre>\n<p>This outputs the list of installed updates to an HTML file named <code>d:\\wulist.htm<\/code><\/p>\n<p>You can add a little bit of <a href=\"https:\/\/divtable.com\/table-styler\/\" rel=\"noopener noreferrer\" target=\"_blank\">CSS table styling<\/a> to the HTML file and make it look neater as below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/wu-list-powershell-table.png\" alt=\"print windows update list to a file\" width=\"700\" height=\"235\" class=\"alignnone size-full wp-image-9598\" \/><\/p>\n<p>Alternately, you can also use this PowerShell code snippet which gets only the Title, Description, Date and Operation fields:<\/p>\n<pre>$Session = New-Object -ComObject \"Microsoft.Update.Session\"\r\n$Searcher = $Session.CreateUpdateSearcher()\r\n$historyCount = $Searcher.GetTotalHistoryCount()\r\n$Searcher.QueryHistory(0, $historyCount) | Select-Object Title, Description, Date,\r\n    @{name=\"Operation\"; expression={switch($_.operation){\r\n        1 {\"Installation\"}; 2 {\"Uninstallation\"}; 3 {\"Other\"}\r\n}}} | Sort-Object Date -Unique | ConvertTo-Html | Out-File d:\\wulist.htm<\/pre>\n<p><em><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-check-if-a-windows-update-kb-is-installed\/\">How to Check if a Specific Windows Update (KB) is Installed on your Computer?<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every time you install an update or system installs it automatically, the Windows Update history is updated with the KB number. You can check the Windows Update history, but the GUI provides no option to print the list of updates installed from the Windows Update history screen. Here a couple of tools from Nirsoft site &#8230; <a title=\"How to Print Your Windows Update History By Exporting to Text or HTML File?\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/how-to-print-the-windows-update-history\/\" aria-label=\"Read more about How to Print Your Windows Update History By Exporting to Text or HTML File?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6,7],"tags":[396],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-utilities","category-windows","tag-powershell"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":8466,"url":"https:\/\/www.winhelponline.com\/blog\/how-to-check-if-a-windows-update-kb-is-installed\/","url_meta":{"origin":174,"position":0},"title":"How to Check if a Windows Update (KB) is Installed on your Computer?","author":"Ramesh","date":"April 3, 2019","format":false,"excerpt":"The Windows Update channel delivers all necessary updates suitable for your system. Most of the time, manual intervention is not required for installing updates. In some cases, especially during manual installation of an update using standalone installer, you may need to first check if a specific update (a prerequisite update)\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"WinUpdatesView - Windows Updates History Viewer","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdatesview.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdatesview.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/winupdatesview.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":80555,"url":"https:\/\/www.winhelponline.com\/blog\/clear-windows-update-history\/","url_meta":{"origin":174,"position":1},"title":"How to Clear Windows Update History","author":"Ramesh","date":"March 24, 2026","format":false,"excerpt":"This post explains how to clear the Windows Update history on Windows 10 and 11. The Windows Update client keeps track of installed and failed updates. The updates include Feature updates, monthly Cumulative Updates (Quality Updates), driver updates, Microsoft Defender Antivirus definitions, Windows Security Platform updates, and other non-security updates.\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"clear the entire windows update history","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10554,"url":"https:\/\/www.winhelponline.com\/blog\/windows-10-cumulative-updates-install-twice\/","url_meta":{"origin":174,"position":2},"title":"Why does a Windows 10 Cumulative Update Install Twice?","author":"Ramesh","date":"August 1, 2019","format":false,"excerpt":"You may have installed the latest Windows 10 Cumulative Update via Windows Update or by downloading the .msu package via MU Catalog. After some days, Windows Update may offer you the same update, download, and install it again. You may be wondering why does Windows 10 offer the same update\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"cumulative update installs twice in windows 10","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/wu-install-twice-cu.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/wu-install-twice-cu.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/wu-install-twice-cu.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/wu-install-twice-cu.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4477,"url":"https:\/\/www.winhelponline.com\/blog\/install-cab-msu-updates-mu-catalog\/","url_meta":{"origin":174,"position":3},"title":"How to Install CAB and MSU Updates from Windows Update Catalog","author":"Ramesh","date":"October 31, 2016","format":false,"excerpt":"Installing updates via Windows Update can be problematic sometimes. For example, downloads may stall at a specific stage due to problems with the Windows Update server or the Content Delivery Network (CDN) that hosts the update in your region. It could also be possible that the Windows Update or BITS\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/dism-install-cab-update.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/dism-install-cab-update.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/dism-install-cab-update.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":24345,"url":"https:\/\/www.winhelponline.com\/blog\/kb5005565-causes-printer-error-0x0000011b\/","url_meta":{"origin":174,"position":4},"title":"Printer Error 0x0000011B Caused by KB5005565","author":"Ramesh","date":"September 17, 2021","format":false,"excerpt":"After installing the September 14, 2021\u2014KB5005565 Cumulative Update, your computer may not print, especially when you attempt to print via the network. When you do so, the following error occurs: Windows cannot connect to the printer Printer error 0x0000011b (or) Operation could not be completed (error 0x0000011b). None of the\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"printer error 0x0000011b KB5005565","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/09\/printer-error-0x11b.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/09\/printer-error-0x11b.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/09\/printer-error-0x11b.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":78572,"url":"https:\/\/www.winhelponline.com\/blog\/build-26100-4061-ms-print-to-pdf-0x800f0922\/","url_meta":{"origin":174,"position":5},"title":"(26100.4061) Microsoft Print to PDF Error 0x800F0922","author":"Ramesh","date":"May 15, 2025","format":false,"excerpt":"When you try to install the Microsoft Print to PDF feature on a system running Windows 11 24H2 OS build 26100.4061 or 26100.3915, the feature doesn't install. It fails with the error 0x800F0922. Internally, the FOD installation process encounters the error 800F024B. 0x800F024B SPAPI_E_FILE_HASH_NOT_IN_CATALOG The hash for the file is\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"print to pdf 0x800f0922 bug in May 2025 Windows 11 quality update.","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/05\/ms-print-pdf-may-2025-lcu-bug.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/05\/ms-print-pdf-may-2025-lcu-bug.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/05\/ms-print-pdf-may-2025-lcu-bug.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/05\/ms-print-pdf-may-2025-lcu-bug.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}