New
#1
Win 7 Install Size DOUBLES after SP1 & Sec. Updates?! Winsxs!!!!
Hello,
I'm new here AND new to Windows 7. (I've been one of those XP hold-outs.) Here's an as-brief-as-possible description of my dilemma:
I've just installed Windows 7 Ultimate Retail. The initial install size came in around 7.50 gb or so of data. (That's cool. Bigger than what I'm used to with XP, but no problem.) Given that I manage multiple PCs, I download Microsoft's montly security update releases in ISO format, so that I can easily deploy them to multiple computers, saving time and bandwidth. So, since I had them already, I thought I'd just install SP1 and all subsequent security updates from those source files instead of going through Windows Update. I did so. After, the total install size jumped from less than 8 gb to more than 16 gb!!! "Hmm," I thought. "Must be a bunch of temp files than can be deleted, right?" Well, I've done some research, learned about how and where Win 7 stores temp files, and used its built in clean up utility to delete as much as possible. Yet, my total installed data STILL comes in at over 13 gb, and that's even AFTER I've disabled (and deleted associated files) both Hibernation and System Restore. Further, that's even after I've disabled the page file! So, more research led me to learn about Win 7's hard-linking and Winsxs folder. And with that, I'll segway into a new paragraph...
...So, I understand what, why, and how of Win Vista/Seven's hard-linking. I know that a hard-link, though reported to consume a certain amount of data, correlated to the REAL file to which it links, doesn't REALLY consume that much space on a hard drive. In other words, I know that a real file and a hard-link file don't (or shouldn't?) really take up twice the size on the hard drive as the real file alone, even though it can be reported that way in Windows Explorer. So, before anyone starts making assumptions as to where I'm going in this thread and starts posting links to other discussions concerning the Winsxs folder, please understand that I GET IT. Nevertheless, I do find frustration and confusion with the total data size of which my Windows 7 install consists, and the following paragraph will explain why!...
...After freshly installing any OS, I always do a disc/partition image of that install, simply to make it much easier and quicker to restore that system should a future software/hardware failure make the system inoperable. So, having not noticed that the install size had doubled after the intallation of SP1 and the security updates, I proceeded to run my trusty old disc imaging software (Norton Ghost 2003) and backup the drive. Well, I let it do its thing (simple sector-by-sector imaging, no compression) and came back later to discover the image size was a WHOPPING 16 gb!!! "What?!" 16 gb for a simple Windows install with ABSOLUTELY no other installed programs, drivers, page files, hibernation stores, or anything?!!! "You've got to be kidding me," I said! Nope! Rebooted Windows, checked the C: drive and sure enough, there was the 16 gb of used space reported. So, as stated previously, I did all the obvious things to clean up the drive, and here's what I'm left with as shown in my "Local Disk (C:) Properties" window:
Used Space: 13,720,485,888 bytes 12.7 GB
So, as also previously stated, further research led to the revelation of hard-linking and the Winsxs folder, but I'm still baffled and frustrated. No matter what Microsoft may report, the contents of the Winsxs folder certainly do NOT contain mostly hard-linked files (that don't really take up the space that is reported). Here's what I find as reported in Windows Explorer:
The total combined data size of ALL files & folders on C: drive, EXCLUDING the Winsxs folder and files is:
8,749,218,173 bytes.
The total data size of ONLY the Winsxs folder and files is:
8,612,009,170 bytes.
Hmm! Notice that combining those two totals equates to 17,361,227,343 bytes total.
That's 3,640,741,455 bytes MORE than the total used space reported in the "Local Disk (C:) Properties" window!
(So, does that mean that the roughly 3.5 gb of data-discrepency is due to hard-link files causing redundancy in the check? If so, why isn't my image file merely 12 or 13 gb in size instead of 16 gb? Weird!)
Yet, the combination of those totals roughly equals the data size of the total sector-for-sector disc image I created using a DOS based imaging software that is totally unaware of and couldn't care less about hard-link file types. It only copies actual, non free-space, stored data. Conclusion: If the Winsxs folder contained mostly hard-link files that don't actually take up free space, my image file should only be around 8.5 gb at most (or would it be 13 gb?), and certainly not the ridiculously huge 16 gb file that it is! And, segway to a new paragraph...
...O.k. I admit that I'm ranting a bit more than my "as-brief-as-possible" introduction would indicate if taken literally. So, I'll (almost directly) get to my point and request for help. No matter what Steven Sinofsky claims on Microsoft's MSDN blog (see link below), obviously, my Winsxs folder does contain mostly REAL files that take up REAL space. I've already deleted every temp file that the system will allow to be discarded, including cleaning up the SP1 install files (which as I understand it can be done either via the Disk Cleanup program or by DISM via command prompt). What I'm left with is an installation of Windows 7 SP1 (and subsequent security updates) that is well MORE THAN DOUBLE the data size of the original, fresh, pre-SP1 Windows 7 installation. Further, nearly all of the additional data size can be traced to the Winsxs folder. Again, I understand the whole winsxs/hard-links thing. I've read about how Windows 7 stores sequential versions of installation/system/library/configuration files within the Winsxs folder in order to help assure compatibility with older programs, etc. But how in the world can it be "necessary" to retain over 8 gb of more-or-less redundant files on a system that's been installed for only 2 days and has had absolutely ZERO additional programs or drivers installed that weren't already part of the default Windows installation and/or security updates? This seems to me to be an absolutely ridiculous way of designing an OS! I've read Microsoft's point of view for desiging Vista, 7, and 8 in this way, declaring that its a much better way to assure program compatibility and ease of maintenance (ie detecting current versions and updating) as compared to older methods of querying the registry, dll, and/or inf files but those old methods sure as heck didn't take double the data space to do so! I've been maintaining Windows based systems since the early 90's, and I can count on one hand (and wouldn't need to use all 5 fingers) the number of times I've had system stability compromised or the inability to update/upgrade software because the registry got corrupted or a dll or inf file went missing!!! But, apparently Microsoft's desire to "modularize" Windows in the name of "reliability" caused them to become completely oblivious to the benefits of efficiency. Like everything else, efforts to make things idiot-proof seemingly serve more to frustrate those who are not idiots to begin with than to help those whom they're intended to serve. But, alas, I'm ranting again. Sigh. So, can anyone out there help me to reduce the size of Windows 7's Winsxs folder's footprint, without messing up Window's functionality? (I just can't accept that is must be this way!!!)
Thanks in advance,
Citizen One
P.S. To those who are put-off by my long-winded request (and rant), I ask your tolerance and appreciate your patience.
Link to MSDN blog explaining hard links and the winsxs folder: Disk Space - Engineering Windows 7 - Site Home - MSDN Blogs