If you use any Free Disk Space Analyzer software for Windows 10 to find what is taking up excess space on your drive, it might show that the C:\Windsows\Installer folder is one of them. If you check the folder, you will most likely find a lot of MSI and MSP files in there possibly consuming gigabytes of drive space. Now, when you view the Property details of MSI and MSP files in the Installer folder, these could show that they are connected to software currently installed. Others might be from the software you have uninstalled or old versions that have since been replaced. Those are no longer needed and can be safely deleted. However, the conundrum is identifying these MSI and MSP files because just deleting any MSI or MSP file is not encouraged as it could be required for updating, patching, or uninstalling existing applications and doing so may cause serious problems in the future that necessitate a reinstallation of Windows 10. Nevertheless, there are a few ways in which you can more safely identify and delete redundant MSI and MSP files from the Windows Installer folder in Windows 10 – we present them below. Caution: Be careful before you decide to delete any files and remember to create a system restore point first before you proceed. If you are unsure, best not to delete anything.
Clean up unused MSI & MSP Files from Windows Installer folder
In this post, we will highlight 3 utilities to clean up unused .MSI and .MSP files from the Windows Installer folder in Windows 10. They are:
1] WInstCleaner.ps1 PowerShell script
With the WInstCleaner.ps1 PowerShell script, you can manually dig into the C:\Windows\Installer folder and determine which files are orphaned and should be safe to delete. Because the patch files still registered will have a corresponding entry in the registry, those that are missing aren’t necessary anymore. The PowerShell script shows you the files that you SHOULD NOT delete from Windows Installer folder as they are the ones still in use, those not in the list are safe to remove. WInstCleaner.ps1 is available here for download from microsoft.com.
2] PatchCleaner
Patch Cleaner is specifically designed to clean redundant files from the Installer folder. Patch Cleaner appeared in 2015 but there have been no updates since 2016, so it’s safe to say the program is no longer in development. PatchCleaner portable and installer versions are available for download.
3] Windows Installer Unused Files Cleanup Tool
The Windows Installer Unused Files Cleanup Tool (WICleanup) by KZTechs can scan for orphaned MSI and MSP files in the Windows Installer folder and offers you an option to delete them via the graphical user interface (GUI). For scripts and command-line usage, WICleanup also includes a command-line version in the archive (WICleanupC.exe). To use WICleanup, all you need to do is extract the downloaded ZIP file, run the WICleanupUI.exe, and click the Scan button. All the entries that show in the window are orphaned files and manually check the boxes for what you want to delete. WICleanup is available here for download. TIP: This post will help you troubleshoot Missing Windows Installer Cache files. With these 3 tools, you can clean up unused MSI and MSP files from the Windows Installer folder on Windows 10!