Follow
Windows

How to Safely Reduce WinSxS Folder Size in Windows 11

Richard
Written by
Richard
Jul 22, 2022 Updated Apr 29, 2026 3 min read
How to Safely Reduce WinSxS Folder Size in Windows 11

You can safely reduce the WinSxS folder size in Windows 11 by using built-in tools like Disk Cleanup or Storage Sense.

The WinSxS folder, formally known as the Windows Component Store, is a critical part of Windows that stores multiple versions of system files and components. It ensures your system can revert to previous versions or repair corrupted files, acting as a backup for updates and system stability.

While essential, this folder can grow significantly over time, often exceeding 10GB and sometimes even reaching 30GB or more on Windows 11 installations, consuming valuable disk space.

You don’t need to fear deleting files here; Windows manages it intelligently. We’ll show you how to clear out unneeded components and free up space without compromising your system’s integrity.

How to Check the Current Size of the WinSxS Folder

Before cleaning, you should check how much space it uses. Note: This step requires admin privileges. Open Command Prompt as an administrator and run the following command:

💻Code
Dism.exe /online /Cleanup-Image /StartComponentCleanup

This command analyzes the component store and tells you if cleanup is recommended. What happens when done? You will see a report showing the actual size of the folder versus the size on disk.

Methods to Reduce WinSxS Folder Size

You can manage this folder using different tools. Here is a comparison of the most effective methods:

MethodEase of UseEffectiveness
Storage SenseHighModerate
Disk CleanupMediumModerate
DISM CommandsLowHigh

Using Storage Sense and Disk Cleanup

Windows 11 includes built-in tools to reclaim disk space. Storage Sense can be found in Settings under System > Storage. It automatically removes temporary files and old delete-windows-old-folder-in-windows-11/" class="sal-link" rel="noopener" target="_blank" data-sal-id="23943">Windows update files. Alternatively, the classic Disk Cleanup tool allows you to select ‘Windows Update Cleanup’ to remove superseded files.

Advanced DISM Cleanup (Admin Required)

For a deep clean, use the Deployment Image Servicing and Management (DISM) tool. Note: These steps require admin privileges. Open Windows Terminal as an administrator.

To perform a standard cleanup, run:

💻Code
Dism.exe /online /Cleanup-Image /StartComponentCleanup

To remove all older versions of components, use the following command:

💻Code
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

What happens when done? Windows removes obsolete files that are no longer needed for system recovery, significantly reducing the folder size.

Automating Cleanup with Task Scheduler

Windows runs a maintenance task automatically, but you can trigger it manually. Note: This step requires admin privileges.

  1. Click Start and search for Task Scheduler.
  2. Navigate to: Task Scheduler Library\Microsoft\Windows\Servicing\StartComponentCleanup.
  3. Right-click the task and select Run.
Windows 11 Task Scheduler running component cleanup task

What happens when done? The system will scan for unnecessary components and remove them in the background.

Summary

The WinSxS folder is essential for Windows stability. While it can grow quite large, you should only use built-in tools like Task Scheduler, Disk Cleanup, or the DISM command-line tool to manage its size. Manually deleting files in 📁C:\Windows\WinSxS will damage your system. Using these approved methods regularly will keep your PC running smoothly and save disk space.

Is it safe to manually delete files from the WinSxS folder?

No, you should never manually delete files from the WinSxS folder. This folder contains critical system components and dependencies required for Windows to function. Deleting files manually can cause system instability, prevent Windows updates from installing, or even stop your computer from booting entirely. Always use official tools to manage its size.

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 Use Windows 11 Disk Cleanup and Storage Sense
Windows How to Use Windows 11 Disk Cleanup and Storage Sense
How to Check WinSxS Folder Size in Windows 11
Windows How to Check WinSxS Folder Size in Windows 11
How to Set Windows Terminal to Open with Command Prompt on Windows 11
Windows How to Set Windows Terminal to Open with Command Prompt on Windows 11
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically

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

Leave a Comment

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