Over 60 GB of .msp files in C:\Windows\Installer


skcusime

Well-known member
Member
Local time
5:09 AM
Posts
23
OS
Windows 11
I have a Lenovo all-in-one desktop with a 500GB SSD. During my end-of-month backup, I noticed that the Macrium backup image was unusually large at 240GB.

Since all the data files on this computer are stored on a separate HDD, I used Wiztree to track down what was using up so much space. I discovered 561 files and 15 folders in C:\Windows\Installer.

Is there a safe way or a recommended program to clear out the unnecessary files in this folder?

For context, this Lenovo is not my daily driver. My main PC has significantly more programs installed, but it only has a few .msp files and takes up half the disk space.
 

My Computer My Computer

At a glance

Windows 11Intel Core Ultra 7 265K32GB DDR5NVIDIA GeForce GT 1030
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Hybrid
CPU
Intel Core Ultra 7 265K
Motherboard
ASUS Prime H8 10m-A
Memory
32GB DDR5
Graphics Card(s)
NVIDIA GeForce GT 1030
Sound Card
Built in
Monitor(s) Displays
Lenovo N27Q
Screen Resolution
1920 x 1080
Hard Drives
Crucial P3 1TB, WD 4tb SSD, WD 1tb SSD, WD Red 10TB HDD
PSU
Antec CSK650DC 80+ Bronze
Case
Antec P10C Black ATX
Cooling
4 case fans
Keyboard
Microsoft wired
Mouse
Microsoft wired
Internet Speed
100Mbps/20Mbps
Browser
Chrome
Antivirus
Malwarebytes
Other Info
Windows 11 upgraded from Win10 upgraded from Win8.1

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
1785812050630.webp

I also second PatchCleaner.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
Why not just delete the older folders that are empty as so many of mine are?

Copilot says: (it does say the empty Folders are OK to delete using File Explorer):

Those files are not safe to delete manually. Here’s the short, precise truth:

The contents of C:\Windows\Installer are required for repairing, updating, or uninstalling many programs. If you delete them, Windows Installer loses the cached packages it needs, and you can end up with:

  • Programs that cannot uninstall
  • Programs that cannot update
  • Broken repair operations
  • Orphaned entries in “Programs and Features”
Even very old files (2008, 2010, etc.) may still belong to software that is technically still installed or partially registered.


What​

You can safely remove only orphaned installer entries, but not by deleting the folder manually.

The correct, supported cleanup methods are:

1.​

This removes superseded installer packages created by Windows Updates.

2.​

Examples:

  • PatchCleaner (identifies orphaned MSI/MSP files by checking Windows Installer registration)
  • WICleanup.vbs (from Windows Installer SDK)
These tools compare the Installer folder against the actual Windows Installer database and only remove files that are truly orphaned.

3.​

Uninstalling programs through Settings will remove their associated MSI/MSP cache entries automatically.


Why the folder is so large​

Windows Installer caches:

  • MSI (installer packages)
  • MSP (patches)
  • Transforms
  • Rollback data
This is normal. A few hundred MB is typical; some systems exceed 1–2 GB.

Empty folders in C:\Windows\Installer are safe to delete. They’re leftovers from past installs and don’t affect Windows Installer. Open File Explorer and delete only the folders that show as completely empty.

Bottom line​

Do not delete C:\Windows\Installer manually. You can safely clean it only with tools that detect orphaned MSI/MSP files.

If you want, I can walk you through checking which files are orphaned and how to safely clean them without breaking anything.
 
Last edited:

My Computers My Computers

  • At a glance

    Windows 11 Home, ver 25H2 build 26200.8894Intel Core i5 5200U @ 2.20GH4 GBIntel HD Graphics 5500 on board
    OS
    Windows 11 Home, ver 25H2 build 26200.8894
    Computer type
    Laptop
    Manufacturer/Model
    Hewlett-Packard Spectre 13-4001 x360 convertable
    CPU
    Intel Core i5 5200U @ 2.20GH
    Motherboard
    Hewlett-Packard 802D
    Memory
    4 GB
    Graphics Card(s)
    Intel HD Graphics 5500 on board
    Sound Card
    Intel Smart Sound Technology (Intel SST)
    Hard Drives
    Micron 256GB M.2 2280 NGFF SSD MTFDDAV256TBN, (SATA 6.0 Gb/s)
    Keyboard
    Model # G01KB
    Antivirus
    Microsoft Defender
    Other Info
    born on date: 25 Feb 2016
  • At a glance

    Win 11 Home 25H2 build 26200.8894Intel Core i7 4th Gen 4790 (3.60GHz), Haswell...Samsung 16 GB DDR3 (8GB in 2 modules)NVIDIA GeForce GTX 760, 3GB, and on-board Int...
    Operating System
    Win 11 Home 25H2 build 26200.8894
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Desktop model M32AD-US019S (DOM: 6/9/2014 )
    CPU
    Intel Core i7 4th Gen 4790 (3.60GHz), Haswell 22nm Technology, SOCKET 1150
    Motherboard
    H81M-E/M51AD/DP_MB
    Memory
    Samsung 16 GB DDR3 (8GB in 2 modules)
    Graphics card(s)
    NVIDIA GeForce GTX 760, 3GB, and on-board Intel HD Graphics 4600 Rev 6
    Monitor(s) Displays
    HP EliteDisplay E241i LED; HP EliteDisplay E243
    Hard Drives
    Samsung 500GB SSD, 870 EVO (SATA 6.0 )
    Micron 250GB SSD, CT250MX500
    Toshiba HDD, 3GB (original drive w/PC)
    Case
    ASUS
    Keyboard
    ASUS-------------------------
    Antivirus
    MS Defender
    Other Info
    purchased 8/28/2015 from Newegg.
  • HEWLETT PACKARD
    HP OmniBook X Flip NGAI (Next Gen AI),
    Model: 16-as0023dx
    PT# B5UH1UA#ABA Product #: B5UH1UA
    delivered and setup 7/25/25
    16" 2K Touch-Screen Laptop
    Intel Core Ultra 7 256V '24 Series 2 - CPU
    Boost Clock Frequency 4.8 gigahertz; Neural Processing Unit (NPU) Yes;
    16GB Memory, LPDDR5X
    1TB SSD PCIe 4.0
    Graphics: Intel Arc 140V
    1 x HDMI 2.1
    1 x Thunderbolt 4
    2K Touch-Screen display, LED, IPS; 1920 x 1200 (Full HD+)
    USB Ports: 1 x USB-C 3.1, 2 x USB-A 3.1
    Wi-Fi 6E

    DELL
    Model:I7591-7483BLK-PUS 2-in-1 (7000 Series)
    purchased new 12/3/2019,
    15.6 inch 2-IN-1;
    4K Ultra HD Touch-Screen, 3840 x 2160,
    Intel Core i7 10510U CPU 1.80GHz,
    16GB RAM DDR4 SDRAM 2400 megahert (2 slots),
    dedicated graphics Nvidia GeForce MX250 2 GB Graphics,
    PCIe 512GB Intel SSD + 32GB Optane Memory (Intel Optane Memory H10 with solid-state storage),
    wireless-AX & Bluetooth
    Battery: 68wh, Type 4VGMP 4 cell

My Computer My Computer

At a glance

Home2FH2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home2FH2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.43 AGESA ComboAM5 1.3.0.1b Patch A (07/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (07/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
I suggest to install a cleaner, a good one and clean this with it. Some cleaner such as Microsoft product are safe.
 

My Computer My Computer

At a glance

Windows 11Intel Core i7DDR4RTX 4060 Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
i7 RTX
CPU
Intel Core i7
Motherboard
Prime B660M
Memory
DDR4
Graphics Card(s)
RTX 4060 Ti
Sound Card
board
Monitor(s) Displays
Asus
Screen Resolution
2560x1440
Hard Drives
SSD 1T
Cooling
Water
Keyboard
Steekseries
Mouse
Logitech G502
Internet Speed
60mbps
Browser
Chrome
Antivirus
Windows defender
Other Info
I have neat case with color and I think the PSU is mid-high.
My installer folder is 1GB and I don't have a single *.msp file.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.9168AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.9168
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
Back
Top Bottom