How to reduce size of WinSXS

September 18, 2020 at 09:45:41
Specs: Windows 10
The server is running SBS2011 based on Server 2008R2. C: drive is 120GB with 5GB free space. The C:\windows\winsxs folder is 18GB with folders dating back to the year 2019. Is there a safe way to reduce the size of this folder by getting rid of old data that will never be needed?

See More: How to reduce size of WinSXS

September 18, 2020 at 11:59:34
WinSXS is a strange beast that is best left untouched. Were you to manage to delete any files from it you would almost certainly cause some programs to cease to function.

One thing that you should understand is that the size that File Explorer reports for WinSXS is incorrect. It doesn't account for the fact that many, if not most, of the files in the directory are hard links to files elsewhere in the system. As such, they occupy no additional disk space - just that taken up by the directory entry, So your 18GB probably translates to 5GB, or so, of disk space - it may even be less.

120GB is very little space for a Windows setup. You really need a bigger disk or an additional one. How expensive this would be depends upon your hardware, which you give no details of, but simple IDE hard disks cost about $25 for a 500GB disk. The other alternative is to enable NTFS compression on your existing disk, which will give you more space. You might think this would degrade performance but, in many cases, it can actually improve it.

Before making any changes ensure that you have a complete backup of your existing system - e.g. by cloning it to an external disk - so that you can recover the system if anything goes wrong.

Reply ↓  Report •

September 18, 2020 at 16:06:08
How to Analyze Component Store (WinSxS folder) in Windows 10

Reply ↓  Report •

September 18, 2020 at 23:58:05
According this forum:

If Service Pack is installed on the server, you can use below command to free up some space from winsxs folder.

You need to run the command from elevated cmd (run as administrator)

DISM /online /Cleanup-Image /SpSuperseded

Reply ↓  Report •

Related Solutions

September 19, 2020 at 06:18:05
Thanks all of you guys but I've already got a solution here-

Reply ↓  Report •

Ask Question