Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 01-04-2017, 12:08 PM   #1
Baseband Member
Join Date: May 2012
Location: Canada
Posts: 78
Default Freeing up space on Windows Server 2008 R2


We are having an issue with disk space being used up on our Windows Server 2008 R2 machine (with SP 1). I've traced the bulk of the space being used to C:\System\WinSxS. My research tells me this is an a system folder that can build up over time. It builds up with every Windows Update. I'm told NOT to just delete things from this folder as it is an important system folder that affects proper Windows functionality.

However, my research also tells that I can clean SOME of the contents of this folder by running Disk Cleanup. In Disk Cleanup, I check "Windows Update Cleanup", and click OK (see attachment). However, that does nothing. WinSxS is taking up just as much space after this as before.

On the other hand, I think this problem goes deeper than just WinSxS taking up space. Every time I'm able to free up some space, it gets used up again. For example, I had a database backup that was taking up 130MB. I deleted that and then installed Desktop Experience (which I'm told is needed to get Disk Cleanup on Windows Server 2008 R2). After that, only 16MB were available on the C: drive. It's possible that Desktop Experience actually uses 114MB but that seems like a lot. Furthermore, only a few seconds after I saw the 16MB on the C: drive, I check again and say 0 bytes available.

Then I was able to get the "Windows Update Cleanup" available in Disk Cleanup which said it could free up 2.5GB. So I checked it and ran Disk Cleanup. When I checked the C: drive, it said there was only 2.3MB of space left. Then I checked again after a few seconds and 0 bytes were left.

Now whenever I run Disk Cleanup, it seems to have no effect on any folders, even with everything checked. (I'm running it from a command prompt with Administrative priveleges: cleanmgr /sageset:65535 & cleanmgr /sagerun:65535).

There seems to be something taking up free space whenever it can. I'm not sure if it's WinSxS or not.

I would very much appreciate if someone could help me troubleshoot this issue.
Attached Images
File Type: png Disk Cleanup.png (13.7 KB, 2 views)

gib88 is offline   Reply With Quote
Old 01-06-2017, 05:16 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,107
Default Re: Freeing up space on Windows Server 2008 R2

first question,

how big is the C drive on the machine that you are using?

you're right, do not touch files in C:\windows\winsxs yourself!

the reason for this, as I understand it is, the actual files are stored here, and what you see in (for example) c:\windows\system32 is actually just a link to one of these files, - but you don't know exactly which one...

what this means is that as the new and old file are kept, rolling back, rather than an operation involving putting on files with older versions. is simply just a case of changing a file link... (so much faster and easier)

(this is also the reason that sometimes, this folder combined with other folders can report more space used than there is disk space for! -because linked files may [some circumstances] be counted twice)

there is a command that you can run to clean up some files that have been superseded by service packs:

Dism /Online /Cleanup-Image /StartComponentCleanup

What this does is remove all the files from before a service pack, this is obviously a 1 way change, and removed your options to roll back past the service pack installation date.

I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 01-11-2017, 07:59 PM   #3
Beta Member
Join Date: Jan 2017
Location: usa
Posts: 1
Default Re: Freeing up space on Windows Server 2008 R2

upgrade to ms windows server 2012 R2 ?
texas4sale is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 05:56 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0