Brief summary
PatchCleaner is a free utility designed to recover disk space by identifying redundant files in the Windows Installer cache. It locates obsolete or orphaned .msi and .msp files that are taking up space in the hidden installer folders and gives you the option to move them to another location or remove them from the system.
Supported environments
- Windows Server (various editions)
- Windows 10
- Windows 8
- Windows 7
- Requires .NET Framework 4.5.2 or newer
- Not compatible with macOS or Linux
How PatchCleaner identifies files
Windows keeps installer packages and patches in a protected folder (typically C:\Windows\Installer and C:\Windows\Installer\$PatchCache$) so updates and rollbacks remain possible. PatchCleaner reads the Windows Installer inventory (via Windows Management Instrumentation) to build a list of registered .msi and .msp entries, then compares those entries with the physical files in the installer directory. Files that have no matching registration are flagged as orphaned. Because false positives can occur, the tool provides options to move files instead of permanently deleting them.
Using the graphical interface
- Launching PatchCleaner usually begins an automatic scan; press Refresh to force a manual rescan.
- Once scanning finishes, the app displays how many files it considers removable and the total space you could free.
- Select More details to inspect the exact files being proposed for removal; the listing shows which items are still in use.
- Use filters to exclude specific items from the purge list if you want to keep them.
- Choose Move to relocate orphaned files to another folder (recommended when testing), or choose Delete to permanently remove them.
Command-line operations
A command-line interface was introduced in later releases so you can run PatchCleaner non-interactively or include it in scripts. The CLI supports commands to export results, relocate orphaned files, or perform deletion, and it exposes a help/syntax option to display available switches. Run the executable with its help flag (for example, /? or --help) to see the exact parameters for your installed version.
Safety and best practices
- Prefer moving suspected orphaned files to a backup folder rather than deleting them immediately; this lets you restore a file if something goes wrong.
- Make sure you have appropriate administrative rights before running system utilities that scan and alter protected folders.
- If you rely on system restore or backup software, ensure those protections are in place before removing installer files.
- Be aware that removing certain installer or patch files can prevent successful uninstall, repair, or rollback operations for some applications or Windows components.
Can installer and patch files be removed?
Installer (.msi) and patch (.msp) packages are often retained so updates, repairs, or rollbacks remain possible. Although removing them might not cause immediate errors, you risk encountering failures when you try to update, uninstall, or repair software later. For that reason, deletion should be done cautiously and ideally only after verifying the files are truly unnecessary.
Alternatives to consider
- CCleaner — broader system cleaner that removes many types of junk files and privacy traces, but with many more options and steps to configure.
- Auslogics Registry Cleaner — another tool sometimes recommended for related cleanup tasks.
When PatchCleaner is a good choice
If disk space is being consumed by hidden installer files and you want a focused utility that compares installer directory contents with the system’s registered installers, PatchCleaner simplifies the task. Its ability to move files rather than outright deleting them makes it a practical first-step tool to free space while keeping a fallback option available.
Technical
- Windows
- Free