C:\Windows\Installer Is 30 GB: What Is It, and Can You Delete It?
The Biggest Hidden Folder on Your Disk, and Why You Cannot Delete It
Short answer: `C:\Windows\Installer` is the hidden system folder where Windows caches the installer (MSI) and patch (MSP) files of installed programs. Windows uses those files to repair, modify or uninstall a program. Deleting the folder or its contents wholesale permanently breaks repair and uninstall, and in some cases makes Windows updates fail. Reaching 20-40 GB over several years is normal, and most of that bulk is orphaned patches that no installed product refers to any more. The safe route is not to delete the folder but to identify which files are genuinely orphaned by checking them against the installer database, and remove only those. Properly uninstalling old versions of heavily patched products such as Office and Visual Studio also shrinks this folder on its own.
The folder is hidden in Explorer by default; because protected operating system files are concealed, many people never find out what is filling their disk. Below we cover what the folder is for, and then what can safely be cleaned.
Key Takeaways
- `C:\Windows\Installer` is the MSI/MSP cache of installed programs; Windows uses it for repair, modify and uninstall.
- Deleting the folder or its contents is irreversible: programs can no longer be uninstalled cleanly and some updates fail.
- Growing to 20-40 GB over the years is normal; most of it is orphaned patch files no installed product references.
- Disk Cleanup and DISM do NOT touch this folder — DISM's component cleanup targets WinSxS, not Installer.
- The safest and largest win: properly uninstall old versions of heavily patched products like Office and Visual Studio through Settings.
- The folder is marked hidden and system; to see its size you must turn off "Hide protected operating system files" in Explorer.
What can be deleted inside C:\Windows\Installer?
| Item | Safe to delete? | Why |
|---|---|---|
| The whole Installer folder | Never | Permanently breaks repair, modify and uninstall for installed programs |
| .msi files of installed products | No | Needed to uninstall the program or add features |
| Orphaned .msp patch files | Yes, if verified | Unnecessary once no installed product references them |
| The $PatchCache$ subfolder | With caution | Holds patch baselines; removing it can make later patches ask for original media |
| Moving the folder to another drive | Not advised | An unsupported configuration that can break updates |
What Is C:\Windows\Installer and Why Does It Grow?
Every program installed with Windows Installer technology leaves a copy of its MSI package in this folder during setup. The purpose is simple: so that Windows does not have to ask you for the original installation media when you later want to uninstall, repair or modify the program. The same logic applies to patches; every MSP patch is stored here as well.
That is where the growth comes from. A product like Office, which receives patches several times a month, accumulates hundreds of MSP files over the years. Visual Studio, SQL Server and large CAD suites behave the same way. On top of that, when a product is upgraded, the previous version's patches are not always cleaned up; those leftovers are called orphaned patches.
The result is that 20-40 GB is not unusual on a five-year-old Windows installation. Because file names are random GUIDs, there is no way to tell what belongs to what by looking — which is the real reason the folder cannot be cleaned by hand.
Why Is Deleting It Dangerous?
The common online advice to "delete this folder and free gigabytes" causes concrete damage. When a program's MSI file disappears, Windows can no longer uninstall it: the Uninstall button in Settings throws an error and the program stays stuck in the list. Repair and adding features stop working in the same way.
The second kind of damage shows up during updates. When a new patch is applied to a product, Windows Installer may need the baseline copy of the previous patch. If that copy has been deleted, installation fails, usually with an opaque error code. Tracing the cause months later is close to impossible.
This is why Windows marks the folder hidden and system, and why Disk Cleanup never touches it. Microsoft's position is unambiguous: the contents of this folder are not meant to be managed by hand.
So What Can You Actually Do?
The biggest and safest win comes not from the folder itself but from the programs feeding it. If Settings > Apps lists old Office versions you no longer use, several Visual Studio installations or old SQL Server instances, uninstall them properly. Uninstalling clears their MSI and MSP files as well; removing a single old Office version often frees 5-10 GB.
The second step is where most people are actually confused: the component store. `DISM /Online /Cleanup-Image /StartComponentCleanup` clears superseded component versions in `C:\Windows\WinSxS`. It does not touch the Installer folder, but WinSxS is frequently the item genuinely inflating the Windows folder.
The third step, clearing orphaned patches, is only safe with a tool that compares against the installer database. Such a tool matches every file in the folder against the reference list of installed products and flags only files no product claims. Do not attempt this by hand, and always create a restore point first.
Where Else Is Space Hiding on Your Disk?
Most people researching the Installer folder arrive with a broader question: "my C drive is full and I cannot find what is filling it." This folder ranks high on the list, but it is rarely the sole culprit.
Other hidden items of a similar scale are the `C:\Windows\WinSxS` component store, shadow copies of system restore points, the hibernation file `hiberfil.sys`, the page file `pagefile.sys` and old user profiles. All of them are hidden, and none of them appear correctly when Explorer calculates folder sizes.
Disk Mop's Disk Analysis module walks the drive folder by folder including hidden and system directories and sorts these items by size, while the Disk Treemap view turns the same data into something readable at a glance. So instead of guessing which folder is worth your time, you see it.
Frequently Asked Questions
Does Disk Cleanup clear this folder?
No. Neither the built-in Disk Cleanup tool nor Storage Sense touches `C:\Windows\Installer`. That is deliberate; its contents are required for installed programs to work correctly.
Can I move the folder to another drive?
Technically it is possible with a junction, but Microsoft does not support it. Updates and repair operations can fail unexpectedly. If your system drive is very small, uninstalling old programs is the safer fix.
Why are the file names meaningless strings?
Windows Installer registers every package with a unique GUID and stores files under that identifier. That is why you cannot tell which program a file belongs to by looking at it; matching is only possible through the installer database.
Why can I not see this folder in Explorer?
It is marked hidden and as a "protected operating system file". To see it, turn off "Hide protected operating system files" under Explorer > View > Options > View.
Verdict
`C:\Windows\Installer` is one of the largest hidden folders on the disk, but it is not a pile of junk waiting to be deleted. The correct order is: properly uninstall programs you no longer use, then clean the component store with `DISM`, and only then remove orphaned patches using a tool that verifies them.
To see which other hidden items have piled up alongside it, Disk Mop's Disk Analysis and Disk Treemap modules sort the drive by size including system folders, and the Uninstall Leftovers module separately lists files and registry entries left behind by removed programs.
Sort the hidden folders on your disk by size
One-time payment for lifetime access to all features. No subscription, no hidden fees.
Download Disk Mop Now