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
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.
Derived from: http://blog.willbeattie.net/2013/06/freeing-disk-space-on-c-windows-server.html