SBS - C drive out of space.

Mate has a Small Business Server which now won't install Windows updates as it says there needs to be at least 1GB of free space on the drive.
The Partition which Windows is on is only 5GB I think he said.  

Can this simply be repartitioned to give it more space?
Who is Participating?
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.

You could use a partition manager but 5GB Really is not the size of a partition you should have ever used on SBS. as it will fill this in install alone.

then there are TEMP, SWAP FILES in addition to other files you need.

A way out of this is to use Acronis True Image enterprise server and image your install to a network location. then once you have this image delete the partition and recreate to at least 36GB for the base OS.

Then Acronis will allow you to restore this server image on a bigger Partition.

This in my experience is the safest rather than an on the fly partition resizer tool

harris9999Author Commented:
Just got Remote Desktop to his SBS.
His C drive is actually 25GB
Windows Folder is about 5GB
Program Files is about 5GB
WSUS is about 4GB
WsusDatabase is nearly 6GB
Documents and settings is nearly 2GB

Whats the WSUS - Windows Updates?  Thats fairly large?

d partition has 150GB Free on it and 50GB used.
Yep WSUS is Windows Software Update Services used to distribute updates rather than your clients obtaining these direct from Microsoft.

You can move the WSUS Updates folder but not a straight Copy. it would be a followed procedure to move this whole installation to d: thus freeing up your main OS partition.

Apart from WSUS your ok ish with 9GB free on the host OS drive, but I also would look to move the SWAP file to d: only if its on a different physical drive to aid performance.

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
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

25Gb should be more than enough. I had some Dell server that came with a fixed 12Gb partition.

Basically in your case you can reinstall the program on D:\ drive and remove them from C:\. Moving WSUS is fairly simple just google "Move Wsus Database on another drive" and you will see some useful links. I think there is a slight difference between moving wsus2.0 then wsus3.0 so you need to be careful.

You can use the Disk Cleanup to remove unnecessary temp files. Also in Documents & Settings\<User>\Local Settings, you can remove whatever in the TEMP folder.
harris9999Author Commented:
Ok have have a google to see about moving the WSUS folders.

Whats the SWAP file. Where is it likely to be?  
Just had a look in Computer Management - Diskmanagement and there is only 1 Disk which is partitoned, so moving the SWAP file would be of no benefit?
Open up Control Panel and then "System" then "Advanced" and  under performance select settings. These are location of Page files and you can add one for D:\ and remove the entry for C:\

Its there in case server physical memory is unavailable and then it will swap data to the swap file on the drive.

many reasons why on systems with low memory the HDD is constantly being accessed
What he is saying is to move the PAGE file, normal sits on C:\ drive, to D:\ drive purely to retain more space.

Just re-read your question, a 5Gb Program Files folder is very large. You really should think about moving programs off to D:\ drive, but that would require some planning of course should you do use Client/Server software (if thats only a mapped network drive then there shouldn't be a problem just share the new folder with the same share name).

One other thing you can do is to make D:\ drive your default installation drive. This involve a simple registry change.

1. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
2. Find ProgramFilesDir whose default should be C:\Program Files
3. Change this to whatever directory you wish. I changed it to D:\Program Files for example.

Remember you have to reboot for your changes to show.
Its SBS so under program files youll have Exchange, Sharepoint, SQL etc so that size would be about right.

Because of the space issues I really would recommend the server Image route and get it all onto a new resized partition. as whilst yes this is a workaround. it makes it a little messy.

But then again the method of Server Image to a new size partition could proove daunting to anybody not familiar with the process.

The only benefit of moving the swap file is purely to regain space.

But totally up to what your comfortable with
harris9999Author Commented:
Yes, I know what you mean, the Server Images might be a bit daunting and wouldn't want to mess anything up when its not my own.  
Trying the moving the WSUS folder at the minute, so if I get that and the database moved that should free up alot of space and see how that goes for a while
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

From novice to tech pro — start learning today.