I spent a long time researching winsxs out of curiosity and the OS mis-reports it's size because it contains A LOT of hardlinks to 'real' files elsewhere.
Yes it does use some space, but not as much as Windows reports!
That was originally my understanding, but it might not be that simple... even Microsoft's own people can't seem to agree on exactly what's in the WinSxS folder.
This guy says that it's mainly hard links to files physically situated elsewhere, whereas
this one says that WinSxS actually contains the canonical data, which is referenced by hard links elsewhere.
My own feeling is that the second explanation is more likely to be the correct one, and that WinSxS does actually contain (at least mostly) real data - I downloaded
this, which measures the "true" size of a folder, and got this result for my WinSxS folder (notice that it's a German app, and therefore doubtlessly frighteningly efficient):
C:\Windows\winsxs>ctts
ctTrueSize v1.1 - Zeigt die wahre Größe von Ordnern an.
Copyright (C) 2007, 2008 c't Magazin für Computertechnik
Geschrieben von Hajo Schulz (hos)
Brutto:
42909 Dateien, 10620 Ordner
6.40 GB (6.876.719.549 Bytes)
Hardlinks:
788 Dateien
111 MB (116.500.940 Bytes)
Total:
42121 Dateien, 10620 Ordner
6.29 GB (6.760.218.609 Bytes)
Inklusive Cluster-Verschnitt: 6.37 GB (6.845.493.248 Bytes)
The "Brutto" (gross) amount is the same as reported in Explorer, but of that total only 111 MB is represented by hard links to other files, leaving 6.29 GB of "real" data.
It's my main working PC, which I've tried to keep uncluttered with unnecessary software installs, maybe a system with different usage patterns would show different results.
Either way, there doesn't seem to be much you can do to shrink WinSxS without the risk of breaking things, so it's mostly of academic interest I suppose.
