In fact, the folder takes up less space than it seems, but if you cherish every GB of free space, you can delete its contents regularly.
WinSxS folder is located in C: \ Windows \ WinSxS, take up much space, and continues to grow. This folder accumulate unnecessary files, for example, the old system components, and the longer you are on the operating system, the more WinSxS folder.
Why WinSxS folder grows?
When you install any system updates, older files are replaced with new ones, and in WinSxS folder in case bugs are saved all the old versions.
Files from the Windows folder fall into WinSxS using hard links, and file managers mistake them for the real volume. Therefore, the size of folders can not be displayed correctly, but in fact it is, as a rule, does not weigh more than 15GB.
However, if you want to clean your system of unnecessary files, there are several ways to do this.
Cleaning Windows Update
At the command prompt, you need to dial cleanmgr, and built-in utility displays how much space you can free. You just mentioned "Cleaning updates Windows» and click OK.
If you have used a few years one operating system, certainly have a few gigabytes of free space.
The next time you reboot, Windows 7 will spend a few minutes to clean up system files, before you can see your desktop again. If this option, you do not, you probably have not updated Windows. Install the latest updates to the system, and it will appear.
Unlike Seven, Windows 8 and 8.1 updates are automatically cleaned in the Scheduler. Cleans Windows folder on a schedule by specifying the Microsoft - Windows - Servicing - StartComponentCleanup, which automatically runs in the background and removes the components within 30 days after you install the update.
If you want to remove the update manually, open the "Disk Cleanup" check "clears the update Windows» and click OK.
In the Windows 8.1 operating system sold more opportunities for self-deleting files. There you can remove all previous versions, even when from the moment of installation of the new has not yet been 30 days. To do this, start a command prompt as an administrator and enter the desired command.
For example, one version of the command deletes all the updates without waiting 30 days:
DISM.exe / online / Cleanup-Image / StartComponentCleanup
Another removes the files needed to remove the service pack. After entering this command, you can not remove service packs installed:
DISM.exe / online / Cleanup-Image / SPSuperseded
Another team will remove all older versions of each component. After that, you can not remove all the service packs:
DISM.exe / online / Cleanup-Image / StartComponentCleanup / ResetBase
Removing Components on demand
Modern versions of Windows allow you to include components on-demand system. The list of functions is in the "Components Windows», which can be accessed from the control panel.
Even if you do not install any of them, that is, they are not selected, the components still stored on your hard drive in the WinSxS folder. If you want to install them, you do not have to download anything, you can do it from the folder.
However, even the unused components take up space on your hard drive, and if you are very important to the free space, you can delete them.
In Windows 8, a new option that allows you to delete all the files from the WinSxS, and if they suddenly need you can download them for Microsoft.
To remove the components, open a command prompt and type in the following command:
DISM.exe / Online / English / Get-Features / Format: Table
You will see the different components and their status.
To remove a function from the system, you can use the following komnda, replacing NAME the name of the function you want to delete.
DISM.exe / Online / Disable-Feature / featurename: NAME / Remove
If you run the command / GetFeatures again, you will see that the function change status to: «Disabled with Payload Removed »(« Off with the removal of useful files ") instead of just« Disabled » ( "Off").