<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WinSxS, Disk Space and Windows 7</title>
	<atom:link href="http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=winsxs-disk-space-and-windows-7</link>
	<description>a technical repository, by Matt Wade</description>
	<lastBuildDate>Thu, 04 Mar 2010 22:42:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pbb</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-2343</link>
		<dc:creator>pbb</dc:creator>
		<pubDate>Tue, 26 Jan 2010 01:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-2343</guid>
		<description>Sorry, that calculation was total nonsense... Time for me to go to bed ;-)

But using the Link Shell Extension, you can see how many of the files are not hardlinks...</description>
		<content:encoded><![CDATA[<p>Sorry, that calculation was total nonsense&#8230; Time for me to go to bed <img src='http://aspoc.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>But using the Link Shell Extension, you can see how many of the files are not hardlinks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pbb</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-2342</link>
		<dc:creator>pbb</dc:creator>
		<pubDate>Tue, 26 Jan 2010 00:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-2342</guid>
		<description>I have found one very useful application to display linked files: Link Shell Extension (http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html). It will show information about hardlinks, symbolic links and junctions.

A quick scan of my relatively clean Windows 7 Ultimate 64-bit install, shows around 600MB of &quot;orphaned&quot; files (that is, files that don&#039;t also exist in other folders) in the WinSxS folder, out of 5,5GB reported. This means around 5GB of the files in WinSxS is actually hardlinks to files in other locations in the Windows folder.

This makes more or less sense, since my total Windows directory tree reports 11GB. That is close to 5GB &quot;real&quot; Windows files, plus 5GB hardlinks in WinSxS, plus 0.6GB orphaned files in WinSxS.

If you turn this calculation around, you can make an educated guess about how much waste your WinSxS folder really is:
1. Check the reported size of your Windows folder with all subfolders.
2. Substract the reported size of the WinSxS folder with all subfolders.
3. The remainder is all orphaned files in WinSxS plus all files in the Windows folder that don&#039;t have a hardlink in WinSxS.</description>
		<content:encoded><![CDATA[<p>I have found one very useful application to display linked files: Link Shell Extension (<a href="http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html" rel="nofollow">http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html</a>). It will show information about hardlinks, symbolic links and junctions.</p>
<p>A quick scan of my relatively clean Windows 7 Ultimate 64-bit install, shows around 600MB of &#8220;orphaned&#8221; files (that is, files that don&#8217;t also exist in other folders) in the WinSxS folder, out of 5,5GB reported. This means around 5GB of the files in WinSxS is actually hardlinks to files in other locations in the Windows folder.</p>
<p>This makes more or less sense, since my total Windows directory tree reports 11GB. That is close to 5GB &#8220;real&#8221; Windows files, plus 5GB hardlinks in WinSxS, plus 0.6GB orphaned files in WinSxS.</p>
<p>If you turn this calculation around, you can make an educated guess about how much waste your WinSxS folder really is:<br />
1. Check the reported size of your Windows folder with all subfolders.<br />
2. Substract the reported size of the WinSxS folder with all subfolders.<br />
3. The remainder is all orphaned files in WinSxS plus all files in the Windows folder that don&#8217;t have a hardlink in WinSxS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sonoyuu</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-2330</link>
		<dc:creator>sonoyuu</dc:creator>
		<pubDate>Sat, 26 Dec 2009 19:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-2330</guid>
		<description>I have been working with Vista since early beta, and (unfortunately) most of the systems in my company network are Vista Ultimate, though the networks of my clients are mostly XP Pro/SBS 2003. After paying for Vista Ultimate licenses it was quite aggravating to learn of this irritating and limiting problem associated with the Winsxs folder.

Let me be blunt, when I learned Windows 7 also has this system limitation I was finally convinced I need to migrate away from Microsoft and start implementing more Linux systems in my infrastructure.

This folder which can range from a few gigs to 16+ GB may seem innocuous enough to those with 5400 RPM or 7200 RPM HDD that are 100+ GB, but when you have 37GB 10,000 RPM HDD in most of your systems it can create serious problems when you don’t expect such a large foot print for the OS. What makes matters worse is that when you uninstall applications, the DLL “copies” are kept in the winsxs folder, they are NOT removed.

Even if you are creative; managing to create junctions/symbolic links and move the winsxs folder to another drive (not a task for the faint of heart) you will find that you can no longer install windows updates as you will generate error 80070011 because Microsoft will not install updates into a folder junction.

Unfortunately, I see Windows 7 as being a slightly less buggy Vista with some changed/added features, yet is still full of flaws. On the other hand, the Linux methodology is becoming more polished and user friendly despite its limited market share. The reality is that the majority of my client networks will remain XP Pro as long as XP Pro remains available.

Microsoft’s current line up is more geared towards the high school/college aged social networker than it is towards business and productivity. From my view, Vista and Windows 7 are moving too far away from what computers do in the workplace and too much towards what people do in their personal lives. Employers realize this which is why I think Linux will replace many XP systems when XP is no longer available for licensing.</description>
		<content:encoded><![CDATA[<p>I have been working with Vista since early beta, and (unfortunately) most of the systems in my company network are Vista Ultimate, though the networks of my clients are mostly XP Pro/SBS 2003. After paying for Vista Ultimate licenses it was quite aggravating to learn of this irritating and limiting problem associated with the Winsxs folder.</p>
<p>Let me be blunt, when I learned Windows 7 also has this system limitation I was finally convinced I need to migrate away from Microsoft and start implementing more Linux systems in my infrastructure.</p>
<p>This folder which can range from a few gigs to 16+ GB may seem innocuous enough to those with 5400 RPM or 7200 RPM HDD that are 100+ GB, but when you have 37GB 10,000 RPM HDD in most of your systems it can create serious problems when you don’t expect such a large foot print for the OS. What makes matters worse is that when you uninstall applications, the DLL “copies” are kept in the winsxs folder, they are NOT removed.</p>
<p>Even if you are creative; managing to create junctions/symbolic links and move the winsxs folder to another drive (not a task for the faint of heart) you will find that you can no longer install windows updates as you will generate error 80070011 because Microsoft will not install updates into a folder junction.</p>
<p>Unfortunately, I see Windows 7 as being a slightly less buggy Vista with some changed/added features, yet is still full of flaws. On the other hand, the Linux methodology is becoming more polished and user friendly despite its limited market share. The reality is that the majority of my client networks will remain XP Pro as long as XP Pro remains available.</p>
<p>Microsoft’s current line up is more geared towards the high school/college aged social networker than it is towards business and productivity. From my view, Vista and Windows 7 are moving too far away from what computers do in the workplace and too much towards what people do in their personal lives. Employers realize this which is why I think Linux will replace many XP systems when XP is no longer available for licensing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Windows 7 and its Missing Quick Launch Bar</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-2327</link>
		<dc:creator>Windows 7 and its Missing Quick Launch Bar</dc:creator>
		<pubDate>Tue, 13 Oct 2009 01:51:17 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-2327</guid>
		<description>[...] with that was that Windows 7 requires 16GB free hard disk space to upgrade. It seems it&#8217;s a common problem. Unfortunately, there doesn&#8217;t seem to be an easy solution besides uninstalling apps. [...]</description>
		<content:encoded><![CDATA[<p>[...] with that was that Windows 7 requires 16GB free hard disk space to upgrade. It seems it&#8217;s a common problem. Unfortunately, there doesn&#8217;t seem to be an easy solution besides uninstalling apps. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tinyauhang</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-2154</link>
		<dc:creator>tinyauhang</dc:creator>
		<pubDate>Sun, 05 Jul 2009 05:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-2154</guid>
		<description>my winsxs folder is 13gb! and i hv got 1gb freespace left, sad~</description>
		<content:encoded><![CDATA[<p>my winsxs folder is 13gb! and i hv got 1gb freespace left, sad~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-1350</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Wed, 03 Jun 2009 03:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-1350</guid>
		<description>ya i just installed windows vista x64 ultimate YESTERDAY onto a 20gb partition on my laptop, other partition is 93gb or so, anyways, i ran windows update yesterday, of course there was about 93 of em, so whatever i installed them, and now my winsxs folder is at 14gb and ive got around 200mb freespace, vista blows lol, imma try windows 7 again, i have on here in the past and didnt have this problem, mainly since i didnt install 93 updates on 7 but oh well, i think 7 ran better then this vista ultimate ive got now</description>
		<content:encoded><![CDATA[<p>ya i just installed windows vista x64 ultimate YESTERDAY onto a 20gb partition on my laptop, other partition is 93gb or so, anyways, i ran windows update yesterday, of course there was about 93 of em, so whatever i installed them, and now my winsxs folder is at 14gb and ive got around 200mb freespace, vista blows lol, imma try windows 7 again, i have on here in the past and didnt have this problem, mainly since i didnt install 93 updates on 7 but oh well, i think 7 ran better then this vista ultimate ive got now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-1327</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 29 May 2009 21:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-1327</guid>
		<description>Good grief.</description>
		<content:encoded><![CDATA[<p>Good grief.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zaw</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-1326</link>
		<dc:creator>zaw</dc:creator>
		<pubDate>Fri, 29 May 2009 21:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-1326</guid>
		<description>Mine is at 23Gigs!!  over 1 year of install and have a tons for programs installed and removed from time to time.

I think that directory is just result of LAZY Coders working at Microsoft!!</description>
		<content:encoded><![CDATA[<p>Mine is at 23Gigs!!  over 1 year of install and have a tons for programs installed and removed from time to time.</p>
<p>I think that directory is just result of LAZY Coders working at Microsoft!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omer</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-1320</link>
		<dc:creator>Omer</dc:creator>
		<pubDate>Thu, 28 May 2009 19:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-1320</guid>
		<description>I&#039;ll read the whole blog again in detail. But I am sorry I can not buy this argument that these are not actually stored and only reported incorrectly. My WinSxS folder has grown over 10GBs and I believe it has nearly similar footprint on disk because I am running low on space and analyzed all other contents of this partition.

Given the argument in this article IF somehow it miscalculates disk space used by WinSxS then this should be true
summing up the size of all folders n files in my C:\ + free disk space should be greater than the total disk size. This matches exactly as my partition size hence making it hard for me to digest what&#039;s written by the Microsoft blogger.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll read the whole blog again in detail. But I am sorry I can not buy this argument that these are not actually stored and only reported incorrectly. My WinSxS folder has grown over 10GBs and I believe it has nearly similar footprint on disk because I am running low on space and analyzed all other contents of this partition.</p>
<p>Given the argument in this article IF somehow it miscalculates disk space used by WinSxS then this should be true<br />
summing up the size of all folders n files in my C:\ + free disk space should be greater than the total disk size. This matches exactly as my partition size hence making it hard for me to digest what&#8217;s written by the Microsoft blogger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/comment-page-1/#comment-1247</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 24 Apr 2009 10:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://aspoc.net/archives/2008/11/20/winsxs-disk-space-and-windows-7/#comment-1247</guid>
		<description>As I understand it each file in the winsxs folder should be unique within that fold BUT will have a link count &gt; 1 - the other link using this should be somewhere in program files, or the main windows hierarchy.

if you ask for a file size sum of either of these areas separately you will end up counting the sizes twice.

Possible problems for space I can see is there you have files in winsxs with a link count of 1 - this means other the original has been removed without cleaning up winsxs, or the original is on a different volume and its created a copy rather than a hard link. Or there was never an original and something is directly referencing winsxs which means there is no way you can know if a file is safe to clean up.

I&#039;ve been looking at the APIs and it should not be too difficult to write a tool that recurses through the file system and keeps a track or which files are hardlinked to which (you can get a link count plus the file ID from the file info struct) - if I get round to writing it I&#039;ll post it somewhere.

I&#039;m still more than tempted to backup older versions elsewhere, and turn the older versions into hard links to the latest version unless there are major version number changes in the library - though this risks breaking software when dll APIs change.</description>
		<content:encoded><![CDATA[<p>As I understand it each file in the winsxs folder should be unique within that fold BUT will have a link count &gt; 1 &#8211; the other link using this should be somewhere in program files, or the main windows hierarchy.</p>
<p>if you ask for a file size sum of either of these areas separately you will end up counting the sizes twice.</p>
<p>Possible problems for space I can see is there you have files in winsxs with a link count of 1 &#8211; this means other the original has been removed without cleaning up winsxs, or the original is on a different volume and its created a copy rather than a hard link. Or there was never an original and something is directly referencing winsxs which means there is no way you can know if a file is safe to clean up.</p>
<p>I&#8217;ve been looking at the APIs and it should not be too difficult to write a tool that recurses through the file system and keeps a track or which files are hardlinked to which (you can get a link count plus the file ID from the file info struct) &#8211; if I get round to writing it I&#8217;ll post it somewhere.</p>
<p>I&#8217;m still more than tempted to backup older versions elsewhere, and turn the older versions into hard links to the latest version unless there are major version number changes in the library &#8211; though this risks breaking software when dll APIs change.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
