0%
Loading ...

Freeing Disk Space on C: Windows Server 2008

Freeing Disk Space on C: Windows Server 2008

  • Deleting any files/folders from C:windowstemp and C:Users%UserName%AppDataLocalTemp
  • Delete all EventViewer logs
    • Save to another Disk if you want to keep them
  • Remove any unused programs, e.g. Firefox
  • Remove anything in C:inetpublogs
  • Remove any file/folders C:WindowsSystem32LogFiles
  • Remove any file/folders from C:Users%UserName%Downloads
  • Remove any file/folders able to be removed from C:Users%UserName%Desktop
  • Remove any file/folders able to be removed from C:Users%UserName%My Documents
  • Stop Windows Update service and remove all files/folders from C:WindowsSoftwareDistribution
  • Deleting an Event Logs
  • Run COMPCLN.exe
  • Move the Virtual Memory file to another disk

However this wasn’t enough & I found the most space was cleared by using the Disk Cleanup tool “cleanmgr.exe” but of course this isn’t installed by default on Windows Server 2008.
In order to get the Disk Cleanup you need to go to Server Manager > Add Features > and turn on “Desktop Experience”

desktop_experience

After running the Disk Cleanup I found this gem “Hibernation File Cleaner” was using almost 7.45 GB, I’m pretty

sure I don’t need Hibernate functionality on an always on Web Server.

hibernation_file_cleaner

 

Derived from:
http://blog.willbeattie.net/2013/06/freeing-disk-space-on-c-windows-server.html