Link to home
Create AccountLog in
Avatar of adladladl
adladladl

asked on

Reduce size of winsxs on SBS2011 Essentials?

I know there are a lot of posts here about the size of the winsxs folder, but nothing has given me a way to address the size.

I have a client running SBS2011 Essentials, SP1. Their C:\ drive is about 60GB, and 28GB of it is taken up by winsxs. Some files in winsxs are dated as old as July 2009. I can't believe there is a valid reason to have files saved here that are almost 10 years old. C:\ is down to 2GB free. Nothing else is taking "unusual" space... the closest folder is system32 at 5GB. I've tried disk cleanup (including system files), I tried "DISM /online /Cleanup-Image /SpSuperseded"... nothing has touched the size of this folder. I just can't believe Microsoft thinks continuing to grow the size of this folder indefinitely is a good design.

There are about 100 files in C:\Windows\winsxs\Temp\PendingDeletes dating all the way back to 2009... why are they still "pending"?  There is almost 1GB in C:\Windows\winsxs\Backup with dates from 2009 to current.

There has to be a way to remove 10+GB from this folder without causing potential system issues. There are lots of warnings about not deleting files from this folder because that might make the system have problems with future updates, or worse... but I find it hard to believe that 28GB of 1000s of multi-year-old files are needed to ensure successful operation.

Any help on how to free up some of the space taken up by winsxs would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of adladladl
adladladl

ASKER

John -- this is just a Windows server for a bunch of client PCs. Nothing is kept on C:\ other than Windows SBS2011. Anything the clients store on the server are on drives other than C:\ (we have 2 other 1TB RAID-1 sets that client PCs store their files on).

I have run disk cleanup (including System Files). Got rid of about 0.5GB.

C:\ used to have 30GB free... nothing has grown except this ridiculous winsxs folder. I can't believe Microsoft doesn't have a way to purge old files from this folder. I understand that the folder is needed, but this is like a case of "hoarders" on TV... nothing is ever thrown out.
Then you need a larger drive.  The reason there is not information on reducing WinSXS is that you cannot except for Disk Cleanup. So if you have nowhere to go, you need bigger disks.

Maybe time for a new Server.

Follow up note to "nothing is ever thrown out":   Actually it is maintained and should level out something below 15GB if the server OS is operating properly.

Make sure you are running Updates.
SOLUTION
Avatar of Sean Bravener
Sean Bravener

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I ran disk cleanup once (checking all the boxes I could), but nothing changed. Just on a whim, I ran it a second time and now we have 11GB free space (9GB reduction in winsxs).  Not sure why it needed to be run twice, but it's better now. BTW, when the client purchased this server 7+ years ago, this was the largest hard drive offered by the manufacturer for SBS. I wish it was much bigger, but that's a project for another time.
Thanks for the update