When apps are installed and updated on Windows 10 operating system, a hidden directory designated by C: \Windows \ Installer is used to store Microsoft Installer files (MSI) and Windows Installer patch files (MSP). In this article, we will present the different ways to easily and safely clean unused MSI and MSP files from the Windows Installer folder in Windows 10.
If you’re using Free Disk Space Analyzer software for Windows 10 to find out what occupies the excess space on your drive, it could show that the C: \Windows \Installer folder is one of them. If you check the folder, you will most likely find a lot of MSI and MSP files that eventually consume gigabytes of disk space.
Now when you see the ownership details of the MSI and MSP files in the installer folder, they can show that they are connected to the currently installed software. Others may come from software that you uninstalled or from older versions that have been replaced. These are no longer necessary and can be removed safely.
However, the conundrum identifies these MSI and MSP files since deleting any MSI or MSP file is not recommended as it may be necessary to update, fix or uninstall existing applications and this could lead to serious future problems requiring resettlement. Windows 10.
However, there are several ways to safely identify and delete redundant MSI and MSP files from the Windows Installer folder in Windows 10; we present them below.
Warning: be careful before deciding to delete a file and don’t forget to create a system restore point before continuing. If you are not sure, it is better not to delete anything.
Clean unused MSI and MSP Files from Windows Installer folder
In this article, we will highlight 3 utilities to clean up unused.MSI and .MSP files from the Windows Installer folder in Windows 10. They are:
1] Script WInstCleaner.ps1 PowerShell
With the PowerShell WInstCleaner.ps1 script, you can manually dig into the C: \Windows\ Installer folder and determine which files are orphaned and should be safely deleted. Since patch files that are still saved will have a corresponding registry entry, missing files are no longer needed.
The PowerShell script shows you the files that you MUST NOT delete from the Windows Installer folder, as these are the ones that are still in use, the ones that are not listed are safe to delete.
WInstCleaner.ps1 can be downloaded here from microsoft.com.
Patch Cleaner is specially designed to clean redundant files from the installer folder. Patch Cleaner appeared in 2015 but there has been no update since 2016, so it is safe to say that the program is no longer in development.
PatchCleaner installation and portable versions are available for download.
3] Windows Installer Unused File Cleanup Tool
KZTechs Windows Installer Unused File Cleaner (WICleanup) can find orphaned MSI and MSP files in the Windows Installer folder and gives you an option to delete them via the graphical user interface (GUI). For scripting and using the command line, WICleanup also includes a command-line version in the file (WICleanupC.exe).
WICleanup is available here for download
To use WICleanup, simply extract the downloaded ZIP file, run WICleanupUI.exe, and click on the Scan button. All the entries displayed in the window are orphan files and manually check the boxes for what you want to delete.
WICleanup is available here for download.