Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any command line utility in Windows Server 2012 that will reduce the size of C:\Windows\WinSXS. On one of my main production systems that has Hyper-V and Remote Desktop Services, this folder and stuff beneath it is 30+ gigs.

Update That "It's 30 gigs I must fix this" urge was reduced when I realized that Windows reports the size of the folder as if it didn't use hard links, when in fact it does, so actually, it's not really as big as we might have thought. See the links in the comments below.

share|improve this question
    
    
The first link in your comment mentions COMPCLN.EXE which is very helpful to know about. Hope that helps someone else. –  Warren P Jul 23 '13 at 13:58

1 Answer 1

up vote 2 down vote accepted

Uninstall-WindowsFeature $FeatureYouDontWant -Remove is probably the best supported thing you can do to reduce Component Store size.

There are some tools that claim to be able to shrink WinSxS, but it's so easy to break your Windows installation by fiddling around in there, none of them are recommended.

share|improve this answer
    
And it turns out that the SxS store uses hard links and isn't really quite as big as Windows itself reports. –  Warren P Jul 23 '13 at 14:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.