Skip to content
Follow
Windows

How to Check WinSxS Folder Size in Windows 11

Richard
Written by
Richard
Jul 22, 2022 Updated Jul 14, 2026 3 min read
How to Set Max Recording Length in Windows 11 Gameplay Captures
How to Set Max Recording Length in Windows 11 Gameplay Captures

The WinSxS folder size in Windows 11 shows you how much space the Windows Component Store takes up on your computer. This store, officially called the Windows Component Store, keeps different versions of Windows files. This helps Windows Update work correctly, allows you to add new features, and lets you go back to an older version if needed.

This folder can get quite large. For example, a typical Windows 11 installation often has a WinSxS folder that is over 10 gigabytes (GB).

Knowing how big the WinSxS folder is helps you manage your C: drive storage better. It tells you if you need to clean it up.

⚡ Quick Answer

Open Windows Terminal as administrator, select PowerShell or Command Prompt, and run the command dism /online /cleanup-image /analyzecomponentstore. This displays the actual size of the component store and recoverable space.

How to Check WinSxS Folder Size in 🪟 Windows 11

Checking the WinSxS folder size in Windows 11 is important because the regular File Explorer view shows an inaccurate number. You can find the true size and how much space can be cleaned up by running a simple command, giving you a clear picture of your storage usage.

What will you see after running the command? 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

Never delete files or folders directly from the WinSxS folder, as it is essential for Windows to function and deleting anything will likely break your computer. Instead of manual deletion, follow safe steps to get an accurate report of your storage usage and manage it properly.

Follow these steps to get an accurate report of your storage usage:

  1. Open Windows Terminal as administrator. (Note: This requires admin privileges).
  2. Select either Windows PowerShell or Command Prompt.
Windows Terminal running as administrator for WinSxS commands
windows terminal run as administrator

Once the window is open, type or copy the following command and press Enter:

💻Code
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.
Windows 11 WinSxS folder size determination process
windows 11 winsxs folder determine size

Safe Methods to Clean Up the Component Store

If the analysis reveals you can free up space, Windows has built-in tools to safely remove unneeded files. These methods are supported by Microsoft and will not damage your system.

1Using the StartComponentCleanup Command

📝Good to Know
Using the StartComponentCleanup Command: Telling Windows to Remove Old Components. This command tells Windows to remove superseded versions of components that are no longer needed. Note: This requires admin privileges.
💻Code
dism /online /cleanup-image /startcomponentcleanup

2Using the ResetBase Switch

Using the DISM command with the /ResetBase switch offers a more thorough cleanup by removing all older versions of components, but you won’t be able to uninstall updates afterward.

💻Code
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 vital for your system, but it can grow large, and regular file checks show incorrect sizes because of Windows hard links; using the DISM command gives an accurate view and allows safe management via /StartComponentCleanup.

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?

Tags: #Windows 11
Was this helpful?
Richard

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.

📚 Related Tutorials

How to Enable Separate Process for Windows 11 File Explorer
Windows How to Enable Separate Process for Windows 11 File Explorer
How to Safely Reduce WinSxS Folder Size in Windows 11
Windows How to Safely Reduce WinSxS Folder Size in Windows 11
How to Access Command Prompt in Windows 11
Windows How to Access Command Prompt in Windows 11
How to Change Windows Terminal Launch Size
Windows How to Change Windows Terminal Launch Size

No comments yet — be the first to share your thoughts!

Leave a Comment

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