Housekeeping. It’s up there with documentation as an IT pet hate.  No one likes to do it and then all of sudden an alerts sent out that your server is close to running of space and has ground to a halt.

Here’s a couple of things that I had to do to sort out a site server recently for a client. Quick wins that reclaimed a huge chunk of space of the C: drive of a site server.

  • Clear down the recycle bin. Fairly obvious but sometimes over looked.
  • Clear down user profile space. Check the downloads/documents and desktop folder first. If the profiles are needed clear them off the server
  • Check the drive for the ContentLib folder. Has this been suppressed from writing data to the drive? If not use the ContentLibraryTransfer tool that is part of the ConfigMgr Toolkit.

Download for 2012 RTM

Download for 2012 SP1/R2

Run the following command on the site server running the DP when no one is using the DP.

ContentLibraryTransfer –SourceDrive <Letter> –TargetDrive <Letter>

  • Check the IIS logs at C:\inetpub\logs\LogFiles. Write a PowerShell script to clear down the logs after x amount of days and add to a scheduled task.
  • Check for a build up of items in the items in the inboxes if ConfigMgr is installed on the C: drive. In particular check for badmifs being generated. These are stored in the location C:\Program Files\Microsoft Configuration Manager\inboxes\auth\dataldr.box\BADMIFS. If there is a build up follow the advice here to run a full inventory on the affected devices.

Just running through the above reclaimed me a whopping 21GB of disk space. Yowza!

If you have any other quick wins let me know through the comments.

 

 

Advertisements