How to Safely Reduce WinSxS Folder Size in Windows 11
The WinSxS folder, located at C:\Windows\WinSxS, is the heart of your Windows 11 system. It is known as the Windows Component Store. It keeps copies of system files needed to run your computer, fix errors, and install updates.
Why does it exist? It ensures that if a system file gets corrupted, Windows can repair itself using these stored backups.
What happens when it grows? It consumes disk space, but it is a necessary trade-off for system stability.
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:
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:
| 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 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:
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 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.
- Click Start and search for Task Scheduler.
- Navigate to: Task Scheduler Library\Microsoft\Windows\Servicing\StartComponentCleanup.
- Right-click the task and select Run.

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?
Leave a Reply