• Home
  • Consulting
  • Contact Us
    • About this site
    • Contact Wayne
    • Media Room
    • Wayne’s Bio

SBSFAQ.COM

Supporting IT Pro's & MSP's since 2000

  • Blog
  • FAQs
  • Reviews
  • Downloads

What is C:\Windows\Installer and why does it take up so much space?

April 12, 2008 by Wayne Small 9 Comments

On one of my servers, I got a low disk space alert today for the C: drive. This server hosts a number of websites including this blog so I was somewhat puzzled as to what would consume so much space. The C: drive on this server is 30GB in size. I use a freeware utility called TreeSize Free to determine where the space is – it’s a cool utility and allows you to drill down into folders to see what is taking up so much space.

Here’s a screen shot of it

image

You can see I’ve got 6.3GB taken up in the C:\Windows\Installer directory.

I checked inside the directory and found a heap of duplicate files.

image

Those 466MB duplicates are sucking up space big time. Ok – so the cowboy in me says go delete them and see what happens. The IT Professional in me says that I need to find out more about what they are and why there are duplicates BEFORE I delete them. So off to Google I go and within the first few hits I find out that they are files left over from the installation of various programs. I “could” delete them but there may be unspecified side effects if I do. I found a Microsoft KB article which references these files and a supported method to remove them IF they are left over from failed uninstallations

http://support.microsoft.com/default.aspx?scid=kb;en-us;290301

So what did I do? I decided to backup the lot and then delete them. So far no noticeable side effects from this, although talking to a few people I may notice issues when I go to remove a program in the future – it may require one or more of these files in order to uninstall correctly. To be honest, I’m not real happy that I had to go the cowboy route on this one – but with 4GB of disk space being chewed up but the big files, I didn’t have much choice. If you know of a better way to have handled this please let me know.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: Blog Tagged With: Troubleshooting

About The Author

Wayne has been working with Microsoft Server products in the SMB market for over 20 years. He has a passion for technology and been a Microsoft MVP for over 15 years. Read More…

Comments

  1. Fallen says

    June 17, 2008 at 11:44 am

    Start with deleting just the 455 MB Visual Studio Update thats there x times, not anything else.

    Then apply MS hotfix described in
    http://support.microsoft.com/kb/925336

    And its should be able to apply it afterwards (it was on the win 2003 server i had Visual studio .net on)

    Reply
  2. Russell Telfer says

    August 2, 2008 at 5:09 pm

    My problem – like Wayne’s, was about C drive getting larger every day and threatening to put me out of business. (Windows XP Pentium 4 2006)

    It was made worse because I couldn’t see what was causing the expansion of the drive. I had had to move a mass of programs and user files just to allow room for expanding system files.

    Daylight broke when Tosh of Techhelpforum suggested TreeSizeFree (see above). I hadn’t heard of it before.

    When I put it to use, for the first time I saw C:\Windows\Installer. On this folder there were a large number of .msi and .msp files.

    TreeSize allowed me to see this doubly hidden folder and to manage it. Specifically there were 93 .msp files, each 117,166 kb and all dated 27/7/2007 (sic). However I have only had this serious problem for 3 months.

    I have a similar computer which does not have this problem. Using Treesize, I found that this machine had JUST ONE file which matched the 93 on the troubled machine.

    Not really knowing what I was doing, I began to move these files onto another partition, and found out that things still worked. As a precaution, I copied the good .msp file from machine 2 in and then moved the rest.

    C’s free space has changed from 3% to 55%.

    There may still be junk in C:\Windows\Installer but at least now the threat of being closed down (or having to reformat) has gone.

    Wayne’s comments are particularly helpful because if you follow this up by googling comments by others who’ve experienced the problem, you’ll find that most of the guys who answer the question aren’t sure what advice to give.

    Russell

    Reply
  3. idiot says

    November 14, 2008 at 8:58 am

    Download the “Windows Installer CleanUp” utility from Microsoft:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;290301

    And then run MsiZap.exe (which will be installed as part of the utility) with the G parameter:

    MsiZap.exe G

    The G option tells MsiZap.exe to “remove orphaned cached Windows Installer data files (for all users)”. Some people advise adding ! (i.e. to use “G!” rather than “G”), but that tells MsiZap.exe to imply a Yes response to any prompts–perhaps not a good idea.

    So there you go.

    Reply
  4. Carlson Hewsing says

    January 15, 2009 at 12:39 pm

    The Windows utility simply does the same thing that the cowboy approach does – it deletes the files and prays that nothing gets screwed. Not really innovative, just another way for Microsoft to say they helped out without really helping.

    Reply
  5. Sam says

    May 2, 2009 at 1:07 am

    Hi,

    I used the microsoft’s utitlity to clean my installer folder and it messed up a lot of things. My Microsoft Office and Adobe Acrobat Professional are screwed. There are a lot of file types which have lost their original icons and now are being shown as files which do not have a proper program to open them. This is just the start. Feels like I will have to format my C drive or simply delete the installer folder as it’s screwed up the whole space on my C drive.

    Reply
  6. Sebi Stancu says

    May 25, 2009 at 10:26 pm

    HI.
    I just want to thank you all for the answers. msizap G (without !) works just fine. I’ve just free’d 20 GB of space from an 40 GB C: drive of an WXP sp3 computer.
    Then I’ve tested the resolution an uninstalled and installed a few apps, and the computer works just fine.
    Thank you again.

    Reply
  7. Anonymous says

    July 27, 2009 at 11:38 am

    Hi, This is what I does:
    Move the Windws/Installer folder to another partition (like d:\) and run junction tool to build a symbolic link from c:\windows\installer to the folder I moved to.

    Reply
  8. szelo says

    August 8, 2009 at 7:17 am

    I had the same problem as Russell! 75 GB on partition C and windows/installer directory was 55GB! (2GB free space left on drive C at that moment)
    I applied the MsiZap.exe G command as suggested and now I have plenty of space: 73% of the drive is free!

    Thanks for the correct solution!

    Reply
  9. Russell Telfer says

    October 3, 2010 at 8:57 am

    I was browsing today and I was pleased to see that a problem I’d experienced had been commented upon.
    I needed help and was given it. I provided some detail of my experience and that proved helpful to others.
    And then “”idiot”” (who obviously isn’t) suggested something else which is probably the best solution to the problem.
    Thanks, fellow, and thanks to the internet for making problem solving so much easier.
    Russell

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Connect Online With Us

  • Facebook
  • Twitter

Reviews

Splashtop – Cost Effective Remote Control Software

September 22, 2017 By Wayne Small 2 Comments

Western Digital DL4100 NAS

March 3, 2015 By Wayne Small Leave a Comment

SBS 2011 Configuring Certification Guide (70-169)

August 7, 2012 By Wayne Small 4 Comments

Site News

Exchange Bug Stops Mail Delivery in 2022

January 2, 2022

Huge bug found in Intel CPU that could permit hackers to steal your data

January 4, 2018

Recent Posts

  • World Backup Day – What does it mean to Australians?
  • New Teams update finally allows easy cross organisation switching
  • MS Exchange Zero Day and RemotePowerShell Disabling on Admin accounts
  • Setup changes for Exchange 2016 and Exchange 2019
  • Bluetooth Mouse and Keyboard Randomly Stop Responding

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration Patches Personal Rants SBS 4.5 SBS 2000 SBS 2000 SP1 SBS 2003 SBS 2003 Premium SBS 2003 R2 SBS 2003 R2 Premium SBS 2003 R2 Standard SBS 2003 SP1 Premium SBS 2003 SP1 Standard SBS 2003 Standard SBS 2008 SBS 2008 R2 SBS 2011 SBS 2011 Essentials SBS 2011 Standard Security Service Packs ShadowProtect Software Software I use StorageCraft Training TrendMicro Troubleshooting Virtualisation Windows Server 2012 Essentials Windows Storage Server 2008 R2 Essentials

Terms of Use

Privacy Policy

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in