Skip to content
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 Reset Your Microsoft Account Password
How to Reset Your Microsoft Account Password

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

The WinSxS folder, officially known as the Windows Component Store, holds various versions of system files and components. It’s vital for system stability, allowing Windows to revert updates or repair damaged files.

While essential, this folder can become surprisingly large; on Windows 11, it frequently occupies over 10GB and can even stretch to 30GB or more. This consumes significant disk space.

Don’t worry about manually deleting files here; Windows handles this process smartly. You can easily clear out unneeded components and reclaim disk space without risking your system’s integrity.

⚡ Quick Answer

Safely reduce the WinSxS folder size using Storage Sense in Settings or the Disk Cleanup tool. For a deeper clean, open Windows Terminal as an administrator and run Dism.exe /online /Cleanup-Image /StartComponentCleanup.

How to Check the Current Size of the WinSxS Folder

Checking the current size of your WinSxS folder is a good first step before you try to reduce WinSxS folder size, and it’s easy to do with a simple command.

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

This command analyzes the component store and tells you if cleanup is recommended. What you’ll see: A report will appear, showing the folder’s actual size compared to the space it takes up on your disk.

Methods to Reduce WinSxS Folder Size

Now that you know how much space it’s using, let’s look at how to manage this folder. Here are 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. You can find Storage Sense in Settings under System > Storage. It automatically removes temporary files and old 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)

If you need to thoroughly reduce WinSxS folder size, the advanced DISM cleanup tool can help remove older component versions safely, but you’ll need administrator rights to run it.

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 you’ll see: Windows removes obsolete files that are no longer needed for system recovery, significantly reducing the folder size.

Automating Cleanup with Task Scheduler

You can automate the process to reduce WinSxS folder size by using the built-in Task Scheduler to manually run Windows’ own cleanup task whenever you need to.

  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
windows 11 task scheduler run task

What you’ll see: The system will scan for unnecessary components and remove them in the background.

Summary

To safely manage your WinSxS folder size, always use Windows’ built-in tools like Task Scheduler, Disk Cleanup, or the DISM command. Manually deleting files can seriously damage your system, so stick to these approved methods to keep your PC running well and save space.

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

No, it is never safe to manually delete files from the WinSxS folder because these are critical system components needed for Windows to work correctly.

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 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 Use Windows 11 Disk Cleanup and Storage Sense
Windows How to Use Windows 11 Disk Cleanup and Storage Sense
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 *