How to Safely Reduce WinSxS Folder Size in Windows 11
The WinSxS folder (the Windows Component Store that holds old system files and updates) often grows past 20GB and fills up your hard drive. Shrinking this folder safely requires built-in tools like Disk Cleanup rather than deleting files by hand.
Running the system clean-up tools frees up gigabytes of storage space without breaking your operating system or causing error recovery problems.
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 helps you see how much disk space the component store is actually using before you try to clean it up. Windows File Explorer often shows an incorrect size for this folder because of how it counts system files. You need to run a quick command in PowerShell or Command Prompt to get the real size and see if a cleanup is recommended.
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.
| Method | Ease of Use | Effectiveness |
|---|---|---|
| Storage Sense | High | Moderate |
| Disk Cleanup | Medium | Moderate |
| DISM Commands | Low | High |
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)
Running a DISM (Deployment Image Servicing and Management) cleanup is the safest built-in method to reduce WinSxS folder size by removing old system update files you no longer need. Because this tool modifies core system files, you must run it from an elevated command prompt with administrator rights. It safely deletes superseded updates and frees up valuable drive space without breaking your installation.
To perform a standard cleanup, run:
Dism.exe /online /Cleanup-Image /StartComponentCleanup
To remove all older versions of components, use the following command:
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 WinSxS folder maintenance ensures your system keeps the component store small over time without requiring you to run manual commands. You can set up a background maintenance task using Task Scheduler so Windows handles the cleanup on a regular schedule. This prevents the folder from growing too large again and saves you from having to repeat the manual steps every few months.
- Click Start and search for Task Scheduler.
- Navigate to: Task Scheduler Library\Microsoft\Windows\Servicing\StartComponentCleanup.
- Right-click the task and select Run.

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 manage the WinSxS folder using built-in tools like Task Scheduler, Disk Cleanup, or DISM. Manually deleting files can seriously damage your system, so stick to these approved methods to keep your PC running well and save space.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!