Cleaning up WinSxS Directory to reduce space Windows Server 2012 R2

Not applicable



I'm trying to reduce the amount of drive space taken up by Windows on my servers C Drive - currently the entire drive is taking up 28GB of a 30GB drive... I've used the disk clean up tool that ships with Windows but it didn't identify anything that could be removed (really!)...


The Windows Directory is taking up 17.5GB of the 30GB drive so a big chunk. I've seen that you can reduce the size of the WinSxS directory within Windows which is currently taking up about 8GB, and this director (given it's size) seems a likely candidate for size reduction. I found this tool - but it is not compatible (won't install stating incompatible) - see:


Perhaps there's another tool I can use?


Alternatively - perhaps there is something else I can do to reduce the data on my drive...?


I'm working an a Windows 2012 R2 Server running off an EC2 Instance on AWS.


Any help most appreciated?




3 Replies

A couple to try from an elevated cmd.exe;

dism /online /cleanup-image /SPSuperseded

dism /online /cleanup-image /StartComponentCleanup






The minimum disk requirements for Windows Server 2012 r2 is 32GB the recommended requirements are 40GB or higher. 


I would recommend that you increase the disk size to at least 40GB (personally I use 80GB minimum).


Hope that helps.

@Dave Patrick 

dism /online /Cleanup-Image /StartComponentCleanup /ResetBase /SPSuperseded