edutech4schools Posted September 25, 2015 Posted September 25, 2015 Just noticed our 2008r2 server is below 3gb on the c drive. This is a primary school and this server runs everything from DC DHCP DNS SQL Printers + all work. All work is on the D drive which does have plenty of space. I don't want to do anything to radical as they are due a new server next May. What can I do to get some space back on the C drive, remove old updates? remove log files? Also will take a look at moving the SQL database over to the D drive but not done this before so any step by steps would be very handy. BTW it is SQL express 2012 but does have management interface
3s-gtech Posted September 25, 2015 Posted September 25, 2015 I've found that compressing the contents of C:\Windows\Installer can help. This is usually pretty chunky (13GB here on my W7 install) and doesn't damage the OS if compressed. It's also worth installing the desktop experience onto the server which gives you access to the Disk Cleanup wizard. 2
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 just running Disk Cleanup wizard - thanks
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 Got it up to 6gb on C which although not great takes the heat off me a bit.
bossman Posted September 25, 2015 Posted September 25, 2015 @edutech4schools Do you have any other drives in the server? If so you could try moving the swap file over to a different drive this could be worth a few Gigs! 2
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 Do you have any other drives in the server? If so you could try moving the swap file over to a different drive this could be worth a few Gigs! Did that just now but server needs to reboot. I will need to reboot tonight at some point.
Firefox Posted September 25, 2015 Posted September 25, 2015 Run an elevated cmd prompt and type Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase this should clear any superceeded updates 2
jslate1980 Posted September 25, 2015 Posted September 25, 2015 What about installing clean up tools see http://www.thewindowsclub.com/clean-winsxs-directory-windows-server-2008-r2-new-update 1
win Posted September 25, 2015 Posted September 25, 2015 adjust the pagefile to a small fixed size on C, and the large one on D 1
Sagima Posted September 25, 2015 Posted September 25, 2015 If you;re running radius auth on it there can be a whole load of log files generated by it (c:\windows\system32\logfiles) - mine start with the letters IN 1
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 adjust the pagefile to a small fixed size on C, and the large one on D What sort of small pagefile size would you recommend for c?
win Posted September 25, 2015 Posted September 25, 2015 i think the lowest it allows is 512 on C drive then put the D to something like 6144 or 8192 depending on your spec 1
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 @win I have 2 settings, initial size and max size for both HDDs, any suggestions what I should put for these for both drives. Thanks
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 Its OK found a website that says to set both to the same. Any reason for not setting the D drive to system managed?
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 Incase anyone else does this, I thought I had killed the server - Rebooted the server, rdp to it from another server and it said 'Please wait for the Windows Modules Installer' it was stuck on this for about 20mins. Reading online lots of people rebooted the server and had issues, I just left it and it eventually logged in. 1
edutech4schools Posted September 25, 2015 Author Posted September 25, 2015 (edited) Just wanted to say thanks to you all - I now have 16gb free on my servers c drive and can relax. Edited September 25, 2015 by edutech4schools
DMcCoy Posted September 25, 2015 Posted September 25, 2015 That slow login was the cleanup of the winsxs folder of unused windows update files/versions (you ran cleanup and 2008 R2 is now patched to cleanup old updates like Win 7). This happens during reboot of 2008R2/7 unlike 2012/8 and later that run the cleanup without needing the reboot.
win Posted September 25, 2015 Posted September 25, 2015 Both the same is right, saves system resources from reallocating space all the time. System managed is ok but i prefer manual because system managed is dynamic (min and max) so it keeps changing. Wastes resources and fragments the drive. Glad you got it sorted - 16gb is plenty (for now)!
Ausy Posted September 25, 2015 Posted September 25, 2015 There is some help with that winsxs folder as it will probably grow again. http://www.edugeek.net/forums/windows-server-2008-r2/134798-winsxs-folder-clogging-c.html
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now