Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / Windows Installer Folder Too Large? How to Clean Up Safely

November 12, 2026

Windows Installer Folder Too Large? How to Clean Up Safely

One of the common causes of running out of free space on the system drive is the C:\Windows\Installer system folder. When I analyzed disk usage with the WinDirStat tool, I found that this folder’s size had grown to almost 100 GB. In this article, we’ll explain what the C:\Windows\Installer folder is used for, whether the files stored in it can be deleted manually, and how to clean it up safely.

Contents:
  • What Is the Windows Installer Folder Used For?
  • How to Properly Clean Up Files in the Windows Installer Folder
  • Find Orphaned MSI and MSP Installer Files Using PowerShell
  • Moving the Windows Installer Folder to Another Drive

What Is the Windows Installer Folder Used For?

The hidden system folder C:\Windows\Installer stores cached copies of app installers in the *.MSI (Microsoft Installer) format and their update *.MSP packages (Microsoft Installer Patch). When a user starts the installation of an MSI-based software, the Windows Installer service (msiserver) is invoked. The msiserver service copies the source *.MSI installer file to the hidden system folder %windir%\Installer and renames the original file to a random character sequence while keeping the *.MSI file extension. For example: C:\Windows\Installer\1db12be7.msi .

Large Windows Installer folder: How to clean up safely

Note. The MSI package is copied to this folder as soon as the software installation starts. Even if you cancel the program installation, a copy of the MSI installation file will remain in the Installer folder.

Having a cached copy of the source MSI installer allows Windows to safely uninstall, repair, or modify an installed application even if the original installation files have been removed. Windows Installer also automatically uses cached MSI files to repair a program when one or more of its important files have been corrupted or deleted.

MSI packages cached in the Installer directory can be used to forcibly uninstall apps that fail to remove using standard procedures.

Consequently, whenever an application is installed or updated, a process that frequently occurs silently in the background without user interaction, new installation packages are cached in the %windir%\Installer directory. As a result, the size of the Installer folder continually increases.

When an application is uninstalled via standard procedures, such as the Settings -> Apps ->Installed Apps (ms-settings:appsfeatures), the legacy Programs and Features Control Panel applet item (appwiz.cpl), or the msiexec command-line tool, the corresponding cached MSI and MSP packages within the C:\Windows\Installer directory are automatically removed.

If a cached MSI file has been deleted, attempting to uninstall the app will display a Windows Installer dialog asking you to provide the path to the original MSI file.

The feature you are trying to use in on a network resource that is unavailable.
The installation source for this product in no available/ Error Code: 1612

Error 1612 - The MSI installation source for this product is not available

Therefore, if you manually delete files from the C:\Windows\Installer folder, you may no longer be able to uninstall some apps properly if you don’t have the original installation files. So the main recommendation is: don’t delete files from this folder without giving it any thought.

How to Properly Clean Up Files in the Windows Installer Folder

Over time, the %windir%\Installer folder can accumulate a large number of files that are no longer associated with any installed programs. For example, this can happen if the application installation or removal is interrupted, if a third-party or custom uninstaller is used, or if old MSI packages remain in the cache after successive automated application updates.

The main challenge is to identify which application a particular MSI/MSP installer file belongs to. This is difficult because all installer files in C:\Windows\Installer are renamed to random names such as 19bf84.msi.

To make it easier to identify MSI and MSP source files in this folder, you can enable the display of their metadata directly in File Explorer.

  1. Navigate to%windir%\Installerfolder
  2. Switch to Details view.
  3. Right-click any column header and select More.
  4. Enable display of the following properties: Authors (developer) and Subject (this property most often contains the full application name).Enable hidden metadata columns in File Explorer to view the developer and program name
  5. Most MSI files should now display the name of the application they belong to. Show developer and app name for every cached MSI files in \Windows\Installer

If you know that this application has already been uninstalled or updated, you can safely delete the corresponding MSI and MSP files from this folder manually.

Find Orphaned MSI and MSP Installer Files Using PowerShell

You can automate the process of finding orphaned MSI/MSP files in the C:\Windows\Installer directory using a PowerShell script. The idea is that all registered programs can be retrieved from the registry. You can simply enumerate the keys under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData . The LocalPackage value for each registered program should contain the path to its locally cached MSI package.

LocalPackage registry value - contains the full file path of the cached MSI file

However, it is simpler to request a list of the cached packages registered in the system from the Windows Installer service directly. The resulting list of files can then be compared with the files that actually exist in C:\Windows\Installer. An MSI installer file is likely to be considered orphaned if it exists on the disk but is not found in the Windows Installer database.

See also: How to fix a malfunctioning Windows Installer service.

Here is a ready-to-use PowerShell script that implements this algorithm and lists (it only lists files, without deleting anything!) orphaned .MSI and .MSP files in the C:\Windows\Installer folder that are not associated with apps registered within the msiserver service.

https://github.com/maxbakhub/winposh/blob/main/WindowsDesktopManagement/Get-OrphanedMSIInstallers.ps1

Download the script to your computer. Then enable PowerShell script execution in the current session and run the script:

Set-ExecutionPolicy RemoteSigned -Scope Process
.\Get-OrphanedMSIInstalers.ps1

Get-OrphanedMSIInstalers.ps1 - find unreferenced MSI and MSP packages

You now have a potential list of files to delete. However, we recommend moving the listed files to another drive first rather than deleting them immediately

PatchCleaner (https://www.homedev.com.au/free/patchcleaner) is a third-party graphical tool that works on a similar principle. It can scan the Installer directory to identify any orphaned MSI and MSP packages.

Note that PatchCleaner excludes Adobe Acrobat packages from the output by default (to prevent breaking the app’s update mechanism). This is achieved by using the built-in exclusion filter, which is pre-configured with the keyword Acrobat.

PatchCleaner enables administrators to move (the recommended action) or permanently delete identified orphaned MSI packages to quickly clean up the C:\Windows\Installer folder.

Free PatchCleaner tool to find and move or delete orphaned MSI from the hidden Windows Installer

Moving the Windows Installer Folder to Another Drive

If you need to keep all the MSI installer files in the Installer folder, but are running low on space on your system drive, you can move the folder’s contents to a different drive and create a symbolic link from the original location to the new one.

You can move the folder to another drive while preserving NTFS permissions from the command prompt using this Robocopy command:

robocopy C:\Windows\Installer E:\Windows\Installer /E /MOVE /COPYALL /DCOPY:DAT /XJ

Remove the original directory:

rmdir C:\Windows\Installer

Make a symbolic link to the new folder:

mklink /J C:\Windows\Installer E:\Windows\Installer

Restart the computer and attempt to install or uninstall any MSI-based app to verify that the Windows Installer service is working correctly.

0 comment
0
Facebook Twitter Google + Pinterest
PowerShellQuestions and AnswersWindows 10Windows 11
previous post
Shrink WSL2 and Docker Desktop VHDX Files in Windows

Related Reading

How to Move (Migrate) Windows Shares to a...

February 26, 2026

Monitor Windows Log Files in Real Time with...

March 26, 2026

Security Warnings When Opening RDP Files in Windows...

April 20, 2026

Remove the Max Path Length Limit (260-Characters) on...

November 19, 2025

Automate Software and Settings Deployment with WinGet Configure...

November 6, 2026

CrowdSec on Windows: From Installation to Threat Blocking

July 6, 2026

Updating UEFI Secure Boot Certificates on Windows Devices...

April 27, 2026

We Can’t Sign In to Your Account: Fix...

October 29, 2026

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Shrink WSL2 and Docker Desktop VHDX Files in Windows

    November 11, 2026
  • We Can’t Sign In to Your Account: Fix Temporary User Profile in Windows

    October 20, 2026
  • Backup/Sync to Cloud Storage with Rclone on Windows

    October 9, 2026
  • Fix Missing “Yes” Button in User Account Control Prompt on Windows

    October 7, 2026
  • Block Specific Keyboard Shortcuts with Keyboard Filter on Windows

    October 3, 2026
  • How to Set Task Priority in Windows Task Scheduler

    September 22, 2026
  • AutoStart Program at RDP Logon in Windows RDS

    September 8, 2026
  • How to Convert Windows Machine into a Proxmox VM

    August 30, 2026
  • Enable or Disable Fast User Switching in Windows 11

    August 18, 2026
  • How to Hide Wi-Fi Network in Windows with WLAN Filters (Blacklist and Whitelist)

    August 14, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • How to Hide (Block) a Specific Windows Update
  • Run Elevated Commands with Sudo on Windows 11
  • Fix: Slow Startup of PowerShell Console and Scripts
  • Automate Software and Settings Deployment with WinGet Configure (DSC)
  • How to Extract Printer Drivers from Windows
  • Backup/Sync to Cloud Storage with Rclone on Windows
  • Pin and Unpin Apps to Taskbar in Windows 11 via PowerShell
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top