Cleaning %windir%\Installer

14.Dec.2014

SSD’s are becoming very common. They’re not big as big as spindle drives yet (not cost effectively atleast). This makes watching the hard drive usage more important.

Back to the days of analyzing disk usage and removing the unwanted files.

There’s a few tools I use

  • ccleaner – very good tool, I run it pretty regularly
  • windirstat – tool to analyze disk usage

If you take a look, you’ll see that the c:\windows\installer folder is exceptionally large. A quick web search shows mixed results, with two contradicting results (both from Microsoft – one from MSDN, and the other from TechNet).

The TechNet article claims that you can not delete the files in that folder “flatly: No” with no convincing explanation. I didn’t buy it.

The MSDN article is a little better, it even has a script that you can use to determine which files can be deleted.

I wrote a small tool that moves the unwanted files over to a backup folder.

My suggestion would be to run the tool and keep the “backup_#” folder it creates around for a while (just in case you run into some problems later), or maybe move it off your SSD and onto a storage media.

You can download the tool here.

Usage: CleanUnusedInstallers.exe !
(running it without the ‘!’ will cause it to run in TraceOnly mode, and it will not make any changes to your files)

Advertisements

One Response to “Cleaning %windir%\Installer”

  1. u600eu9ebcu73a9u73a9u5bebu4e86u5c31u516cu5e03u4e86u554auff0cu9084u522au4e0du6389nu8acbu7248u4e3bu5e6bu522au6700u5f8cu4e00u7bc7nu8b1du8b1d Click https://twitter.com/moooker1

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: