Practical tips to WinSxS component storage folder “thin”

The WinSxS component storage folder is one of the most important folders of Windows, containing many system components and files that ensure the stable operation of the system, and with the increase of system usage time, it will occupy more and more disk space. It will affect the normal operation of the system, but we can clean up some temporarily unused component files or uninstall some unneeded system functions to achieve the purpose of “slimming” it.

I. Check the size of WinSxS folder

Of course we need to know the size of the WinSxS folder first, but we can’t see the information through the usual way of viewing “Properties”, so we need to right-click on the Start button of the system and select the ” Windows PowerShell (Administrator)” command, in the pop-up PowerShell window, type “Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore ” command and enter. The system will automatically scan the WinSxS folder and create an inspection report, which will not only show the actual size of the folder, but also give recommendations on whether it needs to be cleaned. For example, my computer detected the size of the WinSxS folder as 5.29GB and recommended cleaning it up (Figure 1).


II. Cleaning components

Usually we can use the built-in automatic cleaning WinSxS task to clean up the components, but the task is scheduled for 30 days, if you want to clean up immediately, you can execute “DISM.exe /online /Cleanup-Image / StartComponentCleanup” command in PowerShell window. StartComponentCleanup” command, and it will automatically clean the old component files from the folder. After the analysis is finished, execute the command in the first step again, and you can see that the size of the folder has become 4.26GB, saving about 1GB of disk space (Figure 2).


Three, uninstall/close system functions

If some functions in the system are not used very often, we can completely uninstall or turn them off, and also reduce the disk space occupied by the WinSxS folder.

Right-click the Start button and select the “Applications and Features” command in the menu, and click the “Optional Features” option in the pop-up window to see the features installed by default on the system, including Internet Explorer, Windows Media Player, etc. You can see the features that are installed by default on your system, including Internet Explorer, Windows Media Player, and so on. Select a feature, and click the “Uninstall” button in the pop-up dialog box to remove it (Figure 3).


In the “Optional Features” window, continue to drag the scroll bar to the bottom and click the “More Windows Features” option to see more features in the pop-up dialog box. In this interface, just remove the checkbox in front of a feature and click the “OK” button to turn it off (Figure 4).


Leave a Comment