NOTE: Deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system so that your PC might not boot and make it impossible to update.
The DISM command tool let you to deal with WinSxS folder.
You can use DISM with Windows cabinet (.cab) or Windows Update Stand-alone Installer (.msu) files to install or remove updates, service packs, language packs, and to enable or disable Windows features.
Let’s see some examples for this tool:
First , use analysis you can determine the overhead of the WinSxS folder:

In this example, the WinSxS folder appears to be 5.18 GB, but the actual overhead (the sum of the size of backups and disabled features and the size of cache and temporary data) is 551.75 MB.
This tool aslo provides more options to further reduce the size of the WinSxS folder:

The last option ( is not show in this tutorial ) is to analyze the size of the Component Store in an offline Windows image.
You need to copy a .wim file, a .vhd, or a .vhdx that contains a Windows image and then you can start cleanup of the image.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.