From Vista onward, the Windows operating system uses WinSxS for its core components. Operating system files in the directory are
hard linked from their usual locations in the Windows directory structure. A file in a subdirectory in may be linked from multiple locations (e.g. the directory and application directories).
Windows Explorer double-counts the disk space occupied by these files. This can be demonstrated using the fsutil command-line program. Some third-party Explorer extensions to show the link count also exist. However, not all files from are projected this way to "live" operating system files. For example, after installing some Windows updates, old file versions replaced by the updates are still kept in although they are no longer linked in the "live" Windows directories. This allows updates to be uninstalled safely. Because of its elevated importance, from Vista onward the directory is owned by the
Trusted Installer service SID. By default not even administrators can modify its contents (without taking ownership first). Uninstalling applications does not immediately free space in the directory; space for unused assemblies is garbage-collected over time by the Installer service. Windows 7 includes
Windows AIK tool
Deployment Image Servicing and Management (DISM) which can remove files used by superseded OS updates using the Trusted Installer worker service, without the need to reboot or take down the system;
post-SP1 updates add
Windows Update cleanup to the
Disk Cleanup tool () and the downloadable System Update Readiness tool (CheckSUR) which can repair components store errors and replace corrupt or missing OS files with known good versions.
Windows 8 integrates repair capability to the DISM tool which is now able to copy valid OS files from Windows Update or an offline
WIM image, as well as reset the component store to only contain the latest versions of OS components. Windows 10 runs the automatic task to clean up the component store. == Advantages ==