Skip to content
Follow
Windows

How to Safely Reduce WinSxS Folder Size in Windows 11

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

The WinSxS folder in Windows 11 stores old system files and updates so your PC can run smoothly and fix errors. Also known as the Windows Component Store, this folder often grows larger than 20GB and takes up valuable space on your hard drive.

You can safely shrink this folder by running built-in tools like Disk Cleanup instead of deleting files by hand. Letting Windows clean up old update files frees up gigabytes of storage without breaking 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

Checking the WinSxS folder size is a good first step before trying to reduce it. Running a quick command analyzes the component store and reveals the exact storage footprint. 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. Managing the WinSxS folder size requires 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. Storage Sense resides 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)

An advanced DISM (Deployment Image Servicing and Management) tool safely strips away redundant system components to shrink the folder. Running this powerful feature requires 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. Locating the specific task within the Task Scheduler Library permits right-clicking 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

Safely managing the WinSxS folder size requires using 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 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 *