How to Check WinSxS Folder Size in Windows 11
You can check the WinSxS folder size in Windows 11 to understand how much disk space the Windows Component Store is occupying.
The WinSxS folder, officially known as the Windows Component Store, stores multiple versions of system files and components. This is essential for Windows Update, allowing you to revert to previous versions or install optional features.
While vital for system stability, this storage can grow considerably. For example, a typical Windows 11 installation might see the WinSxS folder consuming over 10 GB of space.
Knowing its size helps you manage your C: drive effectively. You can then decide if cleanup is necessary.
How to Check WinSxS Folder Size in 🪟 Windows 11
Why check this folder? You might notice it takes up a lot of space. However, Windows uses “hard links,” which means files in this folder often appear in other places on your computer too. If you just check the size using a normal folder view, you will get the wrong number.
What happens when done? You will see an accurate report showing how much space the folder really uses, including how much of that space can actually be cleaned up.
Warning: Do Not Delete the WinSxS Folder Manually
Warning: Never attempt to manually delete files or folders inside 📁C:\Windows\WinSxS. This folder is the Windows Component Store. Deleting files here will break your operating system, prevent Windows updates from installing, and likely cause your computer to stop booting correctly.
Follow these steps to get an accurate report of your storage usage:
- Open Windows Terminal as administrator. (Note: This requires admin privileges).
- Select either Windows PowerShell or Command Prompt.

Once the window is open, type or copy the following command and press Enter:
dism /online /cleanup-image /analyzecomponentstore
The tool will take a moment to scan your system. Once finished, it will display a table with detailed information about the folder size, including:
- Actual Size of Component Store: The real amount of space used, accounting for hard links.
- Backups and Disabled Features: Components kept for recovery or optional features.
- Cache and Temporary Data: Files used to speed up system updates.
- Component Store Cleanup Recommended: Tells you if you can safely shrink the folder size.

Safe Methods to Clean Up the Component Store
If the analysis shows that you can reclaim space, you can use built-in tools to safely remove unnecessary files. These methods are supported by Microsoft and will not damage your system.
1Using the StartComponentCleanup Command
This command tells Windows to remove superseded versions of components that are no longer needed. Note: This requires admin privileges.
dism /online /cleanup-image /startcomponentcleanup
2Using the ResetBase Switch
For a more aggressive cleanup, you can use the /ResetBase switch. This removes all superseded versions of every component in the store. You will not be able to uninstall existing updates after running this. Note: This requires admin privileges.
dism /online /cleanup-image /startcomponentcleanup /resetbase
3Using Task Scheduler
Windows 11 automatically runs a cleanup task when the system is idle. You can trigger this manually via Task Scheduler by navigating to Microsoft\Windows\Servicing\StartComponentCleanup and running the task.
Summary
The WinSxS folder is essential for system health, but it can grow over time. Because Windows uses hard links, regular file checkers give inaccurate size reports. By using the DISM command, you get a clear look at how much space is actually being used by the component store. You can safely manage this space using the /StartComponentCleanup command. For more advanced technical details, refer to the official Microsoft documentation.
Is it safe to clear the WinSxS folder?
Yes, but only if you use the official DISM commands provided by Microsoft. Never delete files manually in File Explorer. Using the /StartComponentCleanup command safely removes old, unneeded system files while keeping your computer stable and ensuring that future Windows updates and system recovery features continue to work perfectly.
How do I know if my WinSxS folder is too big?
You can determine if the folder is too large by running the DISM /AnalyzeComponentStore command. The output will explicitly state whether a cleanup is recommended. If your disk space is low and the report shows several gigabytes of reclaimable space, it is a good time to perform a cleanup.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!