Windows 8 and 8.1 Forums


WinSxS Folder (Component Store) - Analyze in Windows 8.1

  1. #1
    WinSxS Folder (Component Store) - Analyze in Windows 8.1

    WinSxS Folder (Component Store) - Analyze in Windows 8.1
    How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1
    Published by Brink is offline
    11 Apr 2014
    Default WinSxS Folder (Component Store) - Analyze in Windows 8.1

    Published by


    Brink's Avatar
    Administrator

    Join Date: Jul 2009
    Posts: 22,564

    How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1


    information   Information
    The WinSxS folder is located in the Windows folder, for example c:\Windows\WinSxS. Itís the location for Windows Component Store files. The Windows Component Store is used to support the functions needed for the customization and updating of Windows. Here are some examples of how the Windows Component Store files are used:

    • Using Windows Update to install new component versions. This keeps systems secure and up-to-date.
    • Enabling or disabling Windows features.
    • Adding roles or features using Server Manager.
    • Moving systems between different Windows Editions.
    • System recovery from corruption or boot failures.
    • Uninstalling problematic updates.
    • Running programs using side-by-side assemblies.


    Why is the WinSxS folder so big? The short answer to this commonly asked question is that the component store (WinSxS folder) contains all the components that make-up Windows to allow you operate your system. These components are kept to rollback any problematic change or to repair a file that becomes corrupted.

    The WinSxS folder isnít as large as it may appear at first glance because size calculations can include Windows binaries located elsewhere which makes the WinSxS folder seem larger than it really is.

    For more information about the component store, see:



    This tutorial will help show you how to determine the actual size of the component store (WinSxS folder) and if you should clean it up in Windows 8.1 and Windows Server 2012 R2.

    You must be signed in as an administrator to be able to do the steps in this tutorial.




    Here's How:

    1. Open an elevated command prompt.

    2. In the elevated command prompt, copy and paste the command below, and press Enter. (see screenshot below)

    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore


    Click image for larger version


    Note   Note
    The information returned is:

    Title Description
    Windows Explorer Reported Size of Component Store This value the size of the WinSxS folder if computed by Windows Explorer. This value doesnít factor in the use of hard links within the WinSxS folder.
    Actual Size of Component Store This value factors in hard links within the WinSxS folder. It doesnít exclude files that are shared with Windows by using hard links.
    Shared with Windows This value provides the size of files that are hard linked so that they appear both in the component store and in other locations (for the normal operation of Windows). This is included in the actual size, but shouldnít be considered part of the component store overhead.
    Backups and Disabled Features This is the size of the components that are being kept to respond to failures in newer components or to provide the option of enabling more functionality. It also includes the size of component store metadata and side-by-side components.
    This is included in the actual size and is part of the component store overhead.
    Cache and Temporary Data This is the size of files that are used internally by the component store to make component servicing operations faster. This is included in the actual size and is part of the component store overhead.
    Date of Last Cleanup This is the date of the most recently completed component store cleanup.
    Number of Reclaimable Packages This is the number of superseded packages on the system that component cleanup can remove.
    Component Store Cleanup Recommended This is a component store cleanup recommendation. Cleanup is recommended when performing a cleanup process may reduce the size of the component store overhead.



    3. Based on the analysis above you can determine the overhead of the WinSxS folder by taking the sum of the backups and disabled features size with the cache and temporary data size.

    In this example, the WinSxS folder appears to be 7.23 GB, but the actual overhead (the sum of the size of "backups and disabled features" and the size of "cache and temporary data") is 276.81 MB.

    The actual size of Component Store in this example is 6.76 GB.

    4. If Component Store Cleanup Recommended says No, then there is nothing else that needs to be done.

    5. If Component Store Cleanup Recommended says Yes, then you can follow the steps in the tutorial below if you like to cleanup and reduce the size of the component store (WinSxS folder) to free up hard disk space.


    That's it,
    Shawn


  2. #1


    Posts : 1
    windows 8


    How to do in Windows 8
    as it gives me Error: 87

      My System SpecsSystem Spec

  3. #2


    Posts : 22,564
    64-bit Windows 10


    Hello justdream, and welcome to Eight Forums.

    This option is not available in Windows 8. You would need to upgrade to Windows 8.1 first. If you like, the tutorial below can show you how to do so for free.

    Windows 8.1 - Update to from Windows 8
      My System SpecsSystem Spec

  4. #3


    Posts : 2
    Windows 8.1


    Thanks for the very helpful tutorials!

    Any idea why windows would create many duplicate "oem#.inf" drivers? I've got 60+ copies of my realtek drivers, as well as some other duplicates, and yet DISM says no need for cleanup.

    Screenshot of DriverStore Explorer output http://i.imgur.com/PR4UVJf.jpg

    If I look in device manager, it says that "oem81.inf" is the one currently loaded.
      My System SpecsSystem Spec

  5. #4


    Posts : 22,564
    64-bit Windows 10


    Hello Berban, and welcome to Eight Forums.

    They're just part of the driver package.
      My System SpecsSystem Spec

  6. #5


    Posts : 2
    Windows 8.1


    Hm, I'm still suspicious that something must be up because all the RealTek audio driver duplicates sum up to 7gb when the original driver download was only 300mb. But thanks for your help.
      My System SpecsSystem Spec

WinSxS Folder (Component Store) - Analyze in Windows 8.1
Related Threads
How to Use DISM to Fix Component Store Corruption in Windows 8 and Windows Server 2012 One of the most used tools when fixing corruption for Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 was the System Update and Readiness Tool (KB947821), commonly called CheckSUR. The...
Solved DISM says "component store is repairable" in Performance & Maintenance
Hi guys, I recently did a routine maintenance of my computer and after running Dism /Online /Cleanup-Image /CheckHealth command, it reported that the component store is repairable. Then, I immediately followed it up with sfc /scannow and it reported no integrity violations. I was just wondering...
How to Clean Up the WinSxS Folder (Component Store) in Windows 8.1 The WinSxS folder is located in the Windows folder, for example C:\Windows\WinSxS. Itís the location for Windows Component Store files. The Windows Component Store is used to support the functions needed for the customization...
I am getting repeated Component store corruptions after any security updates. No metro apps will open yet an icon appears on the Taskbar. I have been able to repair it with DISM every time but that is beside the point. I want to know why!
Component store in General Support
I would like all the info i can get on the winSXS folder in windows. What it is used for, windows update old and new .dll's, component store etc. Also I read where the DISM program has been changed for Windows 8.1?
Hi. I've been having problems with my laptop recently. I actually care less when it comes to updates since it's automatic, but I noticed that it refuses to install any drivers (which means I cannot access any USB drives or install programs that requites drivers) or updates, after searching for...
First of all Hi to all me just joined this forum :) from last few months I was having prob with my long ago installed windows 8 64 bit first RTM release I think I was not using it as primary OS so I did not tried to repair it early so yesterday I bot that os up the main prob is it...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook