Analyze Windows Component Store or WinSxS in Windows 8.1

The WinSxS folder is the location for Windows Component Store files. The Windows Component Store is used to support the functions needed for installation,  customization and updating of the Windows operating system. It is used during installing, updating, upgrading, uninstalling, enabling, disabling  Windows features & components. It is also used during system recovery from corruption or boot failures.

In most cases, the size of the WinSxS folder appears higher than it what it actually is. If you were to check the Properties of the WinSxs folder, you would see its size – but this may not be the actual size. This is because while there may be only actually one real hard copy of the file, more than one copy of the same version of a file could be stored in multiple locations in the operating system, and just “projected” by hard linking from the component store.

If you want to analyze the contents of your Windows Component Store and see the actual size of the WinSxS folder, you will have to use the Deployment Image Servicing & Management Tool.

Windows 8.1 introduces a new command line option for the Deployment Image Servicing & Management Tool or DISM.exe: 


This option is not recognized on earlier versions of Windows.

Analyze Windows Component Store size in Windows 8.1

To find out the actual size of your Windows Component Store in Windows 8.1 and analyze its contents, open a Windows PowerShell (Admin) window or an elevated command prompt, type the following and hit Enter.

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Windows Component Store

On my Windows 8.1 computer, I saw the following Component Store (WinSxS) information:

  • Windows Explorer Reported Size of Component Store : 5.87 GB
  • Actual Size of Component Store : 5.71 GB
  •     Shared with Windows : 4.72 GB
  •     Backups and Disabled Features : 987.27 MB
  •     Cache and Temporary Data : 27.40 MB
  • Date of Last Cleanup : 2013-06-15 22:05:06
  • Number of Reclaimable Packages : 9 Component Store Cleanup Recommended : Yes

Now the Number of Reclaimable Packages shows you the number of superseded packages on the system that component cleanup can remove. You can also reduce the size of a Windows image.

In my next post, I will show how to cleanup the WinSxS folder safely.

This post is what you want to read if your Windows Component Store is Corrupt.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.


  1. Azureflea

    i like this new command.

  2. abodooma

    Also needed for compatibility with old programs and troubleshooting

  3. Willem Kranendonk

    Using your DISM.exe command given above, I get the error 87 message: ‘The option “Online /Cleanup-Image” is unknown.’ What to do now?

  4. I just tried it again. There is no syntax error. Run PowerShell as Adin, copy-paste Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore and hit Enter. It works.

Leave a Reply

Your email address will not be published. Required fields are marked *

7 + 5 =