Falcon1986-Online

Home of a med student who likes to manage websites and talk tech!

[HOW-TO] Free disk space being used for Windows Installer data files

with 4 comments

Windows 7 LogoAt the office where I work over the summer, one of my responsibilities is performing basic computer maintenance. I encountered one Windows XP computer that only had about 2GB of free space left on an 80GB capacity hard disk. Even after running a cleanup with CCleaner and scanning for malware, there was no significant change in free space. The computer’s owner only had about 4GB of her own data and not many applications were installed. I got suspicious and ran Free Disk Usage Analyzer only to find out that Windows was the culprit. After running a cleanup with msizap.exe, I was able to recover over 50GB of free space! How awesome is that?!

The disk usage analyzer showed me that C:/WINDOWS/Installer/ was occupying about 50GB worth of space on the drive. I found this quite surprising, since I had never encountered that folder or knew it could grow so large. After a bit of searching around on Google, I came across the Windows Installer Cleanup Utility. It’s one of those tools that you will not easily find on the Microsoft website, but it solved this problem easily. Here are the steps you can take to gain more space on your disk.

  1. Download the Windows Installer Cleanup Utility and run the installer. The corresponding entry is placed on your Programs menu, but we won’t be accessing it via this route.
  2. Launch a command prompt by going to Start > Run > cmd and press ENTER.
  3. You need to enter ‘C:/Program Files/Windows Installer Cleanup’ via the command prompt.
    cd C:\Program Files\Windows Installer Clean Up
  4. Enter the following command and press ENTER.
    msizap !G
  5. Exit the command prompt and re-check the size of C:/WINDOWS/Installer/.

The G parameter instructs msizap.exe to clean up orphaned files, which happened to be the cause of the heavy disk space usage. The exclamation mark suppresses confirmation prompts.

On normally-functioning Windows PCs, running this tool will usually have no effect since there is no significant inflation of C:/WINDOWS/Installer/. However, if you notice that the directory’s size is unusually large, it’s not a bad idea to run it to see what can be cleaned up.

About these ads

Written by falcon1986

26 June, 2010 at 11:33 AM

Posted in Windows

Tagged with , ,

4 Responses

Subscribe to comments with RSS.

  1. [...] At the office where I work over the summer, one of my responsibilities is performing basic computer maintenance. I encountered one Windows XP computer that only had about 2GB of free space left on an 80GB capacity hard disk. Even after running a cleanup with CCleaner and scanning for malware, there was no significant change in free space. The computer's owner only had about 4GB of her own data and not many applications were installed. I got suspi … Read More [...]

  2. Thank you! I have a 147 gig disk and 90 gigs of that was installer files. I did as instructed above and freed up 88.9 gigs and got my c drive back again. Thank you!

    Kevin Reynolds

    17 November, 2012 at 2:38 PM

  3. Thank you so so much :) such an eazy to use and eefective peace of software and detailed explanation. You Rock !

    Dina Cohen

    8 March, 2013 at 9:23 AM


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: