Monday 22 April 2013

Creating extra space on server.

Free up Space on the Server

MY SERVER HAS RUN OUT OF SPACE !!!!!!

All of us as admin very often come through this situation. With my experience of managing servers over the years I have come with a list I normally follow. You will be surprised how many logs, cache and dump files can take. Windows and other program's keep this as an insurance policy. When it comes to workstations I am in the process of creating a few scripts that will automate some of these. Whereas with servers you have to be a bit careful. Please do your own research and consult with other network admins before you begin to blindly follow this.

Start with a program such as Treesize to get an idea of what is going on. Treesize is a good program, the free version gives you what you need.

Below are a few steps I always follow and they will help you.
  • Empty Recycle Bin ( Duhh!)
  • Temp Folders under c:\temp and C:windows\temp and temp Internet files folders
  • Move Page File location
  • Updates and Software Distribution folder ( C:\windows\Software Distribution\Dowloads)
  • Check for AVerror reports and AV Admin Kit Backup locations
  • Run WSUS cleaner.
  • ​Check for IIS logs.
  • Check for CBS Logs ( Windows Module installer service)
  • User profiles
  • Check Shadow copy settings.
  • Remove Old SP files
dism /online /cleanup-image /spsuperseded /hidesp


Advanced troubleshooting.
  • Exchange Defrag
  • Exchange Logs
  • Archive emails
  • IIS logging options and locations
  • SQL Backups and Logs
  • Search for .TMP , .BAK and .DMP files
C:\Windows\Installer folder is filling up with files and folders. ???

There is the microsoft tool MSIZAP.
This is designed to correctly and safely remove your insaller files.


-----------
You can also add space to your disk or partition by using the command linkd (Windows Resource Kit) :
C:\Program Files\Windows Resource Kits\Tools>linkd