This post shows students and new users steps to determine the actual size of WinSxS folder in Windows 11.
The component store (WinSxS folder) contains components that make-up Windows and allow you operate your system. These components are kept in this folder in case you need to rollback changes or repair corrupted files .
The folder is located at C:\Windows\WinSxS. Files in this folder might appear to be stored in more than one place in the operating system, but there’s usually only one copy of the file and the rest of the copies are actually hard links.
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
While you may use File Explorer can determine the size of directories without taking into account that the contained files might be hard linked, using it to determine the size of the WinSxS folder may not give you the correct results.
DISM includes functionality that can determine how much disk space the WinSxS folder really uses.
How to view size of WinSxS folder in Windows 11
As mentioned above, using File Explorer to determine the size of the WinSxS folder in Windows 11, DISM includes functionality that can determine how much disk space the WinSxS folder really uses.
Below is how to determine the size of your WinSxS folder in Windows 11.
To do that, first open Windows Terminal as administrator and select either Windows PowerShell or Command Prompt.
Once opened, run the command below to view the actual size of your WinSxS folder.
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
Here’s the information that’s available in the output:
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. |
In this example, the WinSxS folder appears to be 7.15 GB, but the actual overhead (the sum of the size of backups and disabled features and the size of cache and temporary data) is 1.46 GB.
That should do it!
Conclusion:
This post showed you how to determine the WinSxS folder in Windows 11. If you find any error above or have something to share, please use the comments form below.