{"id":10001,"date":"2024-10-08T15:02:32","date_gmt":"2024-10-08T15:02:32","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/how-to-check-the-software-installation-and-removal-history-in-windows\/"},"modified":"2025-01-20T09:44:56","modified_gmt":"2025-01-20T09:44:56","slug":"how-to-check-the-software-installation-and-removal-history-in-windows","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/how-to-check-the-software-installation-and-removal-history-in-windows\/","title":{"rendered":"How to Check the Software Installation and Removal History in Windows"},"content":{"rendered":"<p><p>The Windows Event logs maintain a comprehensive record of software installations, updates, and removals on a computer. These logs are also valuable for determining the specific user responsible for initiating any application installation or removal.<\/p>\n<p>Here\u2019s how you can access the application installation logs in Windows:<\/p>\n<ol>\n<li>Launch the Event Viewer snap-in by entering <code>eventvwr.msc<\/code> in the Run dialog.<\/li>\n<li>Navigate to <strong>Windows Logs<\/strong> and then to <strong>Application<\/strong>.<\/li>\n<li>Right-click on the log and choose <strong>Filter current log<\/strong>.<\/li>\n<li>Select MsiInstaller as the event source.<\/li>\n<li>Look for the following event IDs for information regarding software installation or removal:<br \/> EventID <strong>11707<\/strong> indicates <code>Installation completed successfully<\/code>.<br \/> EventID <strong>11724<\/strong> indicates <code>Removal completed successfully<\/code>.<\/li>\n<li>To determine which user uninstalled or installed a program, open the <strong>Details<\/strong> tab in the event properties and switch to <strong>XML view<\/strong>. The Security UserID attribute will display the user\u2019s SID. Make sure to copy it.<\/li>\n<li>Execute the following command to convert the user SID into an actual account name:<br \/> <code>wmic useraccount where sid='S-1-5-21-3414967564-454070197-2746421142-1001' get name<\/code><\/li>\n<\/ol>\n<p>This command will return the account name of the user who triggered the installation or removal of the program.<\/p>\n<\/p>\n<p><p>To retrieve all software installation and removal events from the Event log, you can utilize the <a href=\"https:\/\/woshub.com\/search-windows-event-logs-powershell\/\" rel=\"nofollow noopener\" target=\"_blank\">Get-WinEvent<\/a> cmdlet. For example, to display a record of successful software installations, you can use the following command:<\/p>\n<\/p>\n<p><p><code>Get-WinEvent -FilterHashtable @{LogName=\"Application\";ID=11707;ProviderName='MsiInstaller'} | Select TimeCreated,Message<\/code><\/p>\n<\/p>\n<p><p>To ensure that Event Viewer logs are stored at maximum depth, consider increasing the <a href=\"https:\/\/woshub.com\/windows-event-viewer-log-size\/\" rel=\"nofollow noopener\" target=\"_blank\">Windows Event Log size limit<\/a>.<\/p>\n<\/p>\n<p><p>Furthermore, Windows offers a more user-friendly tool for monitoring the history of application installations, removals, and updates, including those for Microsoft Store (UWP) apps, as well as the <a href=\"https:\/\/woshub.com\/viewing-windowsupdate-log-in-windows-10\/\" rel=\"nofollow noopener\" target=\"_blank\">Windows Update logs<\/a>. This tool is known as the system <strong>Reliability Monitor<\/strong>.<\/p>\n<\/p>\n<p><p>The Reliability Monitor is a distinct graphical utility found in the Classic Control Panel that illustrates the system stability index along with comprehensive information regarding events that may impact the operating system&#8217;s stability, such as application crashes and software installation or removal activities.<\/p>\n<p>To access the Reliability Monitor, navigate to Control Panel -&gt; Security and Maintenance. Within the <strong>Maintenance<\/strong> section, select the <strong>View reliability history<\/strong> link (or execute the <code>perfmon \/rel<\/code> command).<\/p>\n<p>You can view updates, programs, and UWP apps that have been installed or removed on a daily or weekly basis. For further details about a specific event, click the <strong>View technical details<\/strong> button.<\/p>\n<p>This script lists all program installation, removal, and update events (including Windows updates and APPX\/MSIX installations) that have occurred on the computer within the past 7 days in a visually interactive table via <a href=\"https:\/\/woshub.com\/using-out-gridview-table-powershell\/\" rel=\"nofollow noopener\" target=\"_blank\">Out-GridView<\/a>.<\/p>\n<\/p>\n<p><p>$DaysAgo = (Get-Date).AddDays(-7)<br \/> $RealiabilityFilter= &#8220;TimeGenerated &gt; &#8216;$DaysAgo&#8217; and (SourceName=&#8217;Microsoft-Windows-WindowsUpdateClient&#8217; or SourceName=&#8217;MsiInstaller&#8217;)&#8221; <br \/> Get-CimInstance -ClassName Win32_ReliabilityRecords -filter $RealiabilityFilter | Select TimeGenerated, ProductName, User, message | Out-GridView<\/p>\n<p>Utilize Out-GridView&#8217;s built-in filters to narrow down events by a designated application, event, or user.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Windows Event logs maintain a comprehensive record of software installations, updates, and removals on a computer. These logs are also valuable for determining the specific user responsible for initiating any application installation or removal. Here\u2019s how you can access the application installation logs in Windows: Launch the Event Viewer snap-in by entering eventvwr.msc in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10002,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,98,99],"tags":[],"class_list":["post-10001","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","category-windows-10","category-windows-11"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/10001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=10001"}],"version-history":[{"count":1,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/10001\/revisions"}],"predecessor-version":[{"id":10304,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/10001\/revisions\/10304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/10002"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=10001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=10001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=10001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}