Tool or script for reducing size of Windows\installer folder

Gregory Cullen 0 Reputation points
2026-01-09T19:21:51.7933333+00:00

My Windows\installer folder is huge (28GB) and I'd like to reduce it. I found reference to the WInstCleaner.ps1, but cannot find a download for it. Is there something better I could use?

Thanks-- [Moderator note: PII removed] 

Windows for home | Windows 11 | Files, folders, and storage
{count} votes

1 answer

Sort by: Most helpful
  1. Sin-D 6,710 Reputation points Microsoft External Staff Moderator
    2026-01-10T06:45:13.0666667+00:00

    Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.  


    Hi Gregory,

    Thanks for reaching out to Microsoft Q&A Forum. I understand your cautions here, the C:\Windows\Installer folder is special, and cleaning it improperly can break repair, update, or uninstall operations. There is no supported Microsoft tool that safely “shrinks” this folder automatically, and many scripts you’ll find online are risky.

    The safest way is uninstalling unused applications

    This is the only fully supported way to actually reduce Installer size.

    1. Settings > Apps > Installed apps
    2. Uninstall software you no longer use
    3. Reboot

    This removes:

    • Program files
    • Registry entries
    • Cached MSI/MSP files (when safe)

    Please note not to these:

    • Do not manually delete files from C:\Windows\Installer
    • Do not use generic “cleaner” tools
    • Do not rely on old scripts (including WInstCleaner)
    • Do not follow advice suggesting ownership changes or forced deletes

    Symptoms after unsafe cleanup:

    • Programs fail to repair or uninstall
    • Office update errors
    • MSI error 1612 / 1706
    • Windows Update failures

    Often unrecoverable without reinstalling affected apps or Windows.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.