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โ€

google ads placeholder

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