Windows Server 2008 -C drive low in disk space

I have a Windows Server 2008 R2 Std and I have noticed that the c drive has been low in space. I keep receiving pop ups that my c drive is low in space. When I went though the different folders in my c drive I noticed in my windows folder there is a subfolder called winsxs which was taken almost 22gb of space. Can I delete contents in that folder? Is there anyway I can stop the logs from going to that folder. Let me know what is the best way to deal with this growing folder that is taking up a majority of space on my c drive. Thank you.
David BergerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David BergerAuthor Commented:
Hi Vaseem,

My C partition is 40gb.  Thank you for the articles about the Winsxs folder. I'll take a look at them and see what I can do to fix the issue.
Vaseem MohammedCommented:
The Machine in question is Physical or Virtual?
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

David BergerAuthor Commented:
The machine is physical.
Vaseem MohammedCommented:
In case you have space on other partition which resides on same disk group, check on the procedure to expand the C partition by reducing size of D. Partition management tools might be helpful. but use this as the last option.
Radhakrishnan RSenior Technical LeadCommented:
Hi,

WinSXS will have old windows updates files which you can safely remove but it's not straight forward procedure. Please have a look at this article http://blogs.technet.com/b/askpfeplat/archive/2014/05/13/how-to-clean-up-the-winsxs-directory-and-free-up-disk-space-on-windows-server-2008-r2-with-new-update.aspx which might help you to gain some space on the root drive.
rindiCommented:
Install the desktop Experience (it is a feature you can add to Windows 2008 r2 servers). After that install the following m$ KB:

https://support.microsoft.com/en-us/kb/2852386

After that run the Disk Cleanup wizard which will then be available. It will also cleanup old Windows updates, which can amount to a lot of GB's.

Besides that, also delete the contents of C:\Windows\SoftwareDistribution\Downloads.

That folder keeps downloaded Windows Updates, which aren't necessary anymore after the updates, and besides that, they can always be downloaded again.
Spike99On-Site IT TechnicianCommented:
I would also check the size of user profile folders. If an administrator downloaded software or updates to his Desktop or Downloads folder and forgot to remove it after installation, that can take up a lot of space too.

How many user folders are in the C:\Users folder?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.