Measuring Windows 7 Patch Bloat

I found myself in need of reinstalling Windows 7 and thought it would be “fun” to see just how much Windows Updates increases the size of a Windows 7 system.  As an early adopter of SSDs this bloat has been quite painful to deal with (my Dell M1330 has 64 GB total).  The problem stems from the design of Windows 7 backwards compatibility, and the software update system.  

The update system keeps around a copy of every patch.  Be very careful if you want to delete this copy.  An overzealous delete can leave your system in an odd state.  Noticed that winsxs folder taking up so much space?  That is a copy of system components from prior editions of Windows so you can run things not ready for Windows 7.  Not everything under C:\windows is as it seems – some of the files aren’t “real” but instead links to the real file.  The space a folder takes up in explorer may not be the space it takes up on disk.  Still, disk space has gone somewhere and that’s what I want to measure.

clean install

This first image is after installing Windows 7.  I could have used a Windows 7 disc with SP1 included, but I wanted to see just how the patched added up over the years.  To be safe, I unplugged the network cable so no updates could be applied during install. The drive reports 28.1 GB used.  Before you freak out in the comments that I have done something horribly wrong know that I have 12 GB of RAM installed.  The price of awesome means Windows created a 12 GB swap file and a 9 GB hibernation file.  Windows 7 is taking up about 7.1 GB not counting these files. For the test, I left these in place.

The next step is to install just the Windows Updates marked Important – no optional updates, and no driver updates.

after important updates

After many, many, MANY reboots and “check for updates” cycles, Windows finally reported no Important updates were available.  Total used space was now 37.8 GB, a growth of 9.7 GB, more than Windows 7 itself!  Installing the optional IE9 and Security Essentials updates took the total to 38.4 GB.

Hopefully the Windows 8 team got around to fixing this issue going forward.  I dream of the day I won’t fear running out of space because I applied a security update!

Posted By Mike On Tuesday, September 13, 2011
Filed under microsoft | No Comments

Submit this story to DotNetKicks   

Leave a comment



Your name:
 

Your email (not shown):
 
Will display your Gravatar image.

Your website (optional):



About Michael

Michael C. Neel, born 1976 in Houston, TX and now live in Knoxvile, TN. Software developer, currently .Net focused. Board member of ETNUG and organizes CodeStock, East Tennessee's annual developers conference. .Net speaker, a Microsoft ASP.NET MVP and ASPInsider. Co-Founder of FuncWorks, LLC and GameMarx.

Proud father of two amazing girls, Rachel and Hannah, and loving husband to Cicelie who inflates and pops his ego as necessary.

 Subscribe to ViNull.com |  Comments

Follow me on Twitter | Contact Me

Related Posts

Microsoft Silent as Xbox Indies Marketplace Exploited

There have always been rumors that the game ratings on the Xbox 360 and Xbox.com website we’re being manipulated by game developers.  On March 23, ... Read more

Are gamers still rating Indie Games after the Xbox Dashboard update?

This post is cross posted from GameMarx.com Background:  In August of 2009 Microsoft updated the Xbox Dashboard to allow user ratings on games.  ... Read more

Web Deployment Projects for 2010: Microsoft Listens

Some like to suggest that Microsoft MVPs are just Microsoft zealots pushing the company line.  While it’s true MVPs are fans of Microsoft, the strongest ... Read more

DevLink 2009 – Good News Everyone!

DevLink 2009 has come and gone. Thanks to the hard work of John Kellar and crew it was once again awesome.  John and DevLink were the inspiration ... Read more

12 Reasons Startups Hate Microsoft

You might be surprised to learn there is still a war going on between Microsoft and Open Source.  You probably aren’t. Robert Schoble made a post ... Read more

XNA 3D Primer by Michael C. Neel

XNA 3D Primer by Michael C. Neel
Buy Now: [ Amazon ] [ Wrox ]

GameMarx

CodeStock

ASPInsiders Member

ETNUG Member