Skip to content
Follow
Windows

How to Safely Reduce WinSxS Folder Size in Windows 11

Richard
Written by
Richard
Jul 22, 2022 Updated Jul 14, 2026 3 min read
How to Reset Your Microsoft Account Password
How to Reset Your Microsoft Account Password

Reducing the WinSxS folder size in Windows 11 safely uses built-in tools like Disk Cleanup or Storage Sense.

The WinSxS folder, also called the Windows Component Store, keeps system files and different versions of them. It helps Windows update properly and fix problems.

While important, the WinSxS folder can get very big, sometimes over 10GB or even 30GB, taking up lots of disk space on your PC.

You don’t need to manually delete anything here; Windows manages this for you. You can free up disk space without harming your system.

⚡ 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

The WinSxS folder size check is a good first step before trying to reduce it. Seeing how much space the WinSxS folder is taking up is done by running a simple command in Windows that analyzes the component store. This report shows the WinSxS folder's actual size and if any cleanup is recommended.

💻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, comparing the folder’s actual size with the space it occupies on your disk.

Methods to Reduce WinSxS Folder Size

The WinSxS folder in Windows 11 uses a significant amount of disk space. You can manage the WinSxS folder size using effective methods to reduce its footprint.

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)

You can significantly reduce the WinSxS folder size using an advanced DISM (Deployment Image Servicing and Management) cleanup tool that safely removes old versions of Windows components. To use this powerful feature, you’ll need to run it with administrator permissions. This tool helps free up disk space by getting rid of unneeded files, making your system run more efficiently.

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

Automating the process to reduce the WinSxS folder size is possible using Windows’ built-in Task Scheduler. This lets you run the cleanup task automatically without needing to remember to do it manually. You can find the specific task within the Task Scheduler Library and then simply right-click it to run the cleanup when needed.

  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

The system scans for and removes unneeded components in the background to reduce WinSxS folder size. These components, part of Windows features and updates, can accumulate over time. This automatic cleanup process helps free up disk space on your Windows 11 computer.

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 *