Cleaned Up 600 MB in One Command

May 4 2009

I know, this sounds like the start of a bad weight-loss ad. Well, except for me not earning a commission, it’s sorta like that…

In my adventures yesterday trying to free up some room, I found a couple of interesting thing I thought I’d share.

1. MS has a little utility, the “Windows Installer CleanUp” app which lets you remove old defunct ‘uninstalls’ from the Add/Remove. Unlike most things that just delete the Registry entry for it, this one deletes any garbage left over from it (the $PatchCache$ and such folders), which can actually recover some space.

You can grab it here: http://support.microsoft.com/kb/290301

2. If you go to where you install it, you’ll also see a command-line utility, “MsiZap.exe” which it uses under the hood. This utility is cool in its own right. (You can google it for more detailed description.) One thing it can do is auto-delete any “orphaned” uninstalls with all their garbage. To do that, you run it with the “G!” switches:

MsiZap.exe G!

That step alone cleared up about 500-600 MB off my laptop.

Enjoy.