12 July 2012

Reclaim free space on Windows Server 2008 R2 SP1

Free space on C: drive will eventually go below your threshold. After investigating the cause with TreeSize Free tool (http://www.jam-software.com/treesize_free/), I ended up in this result (biggest folder is with the name winsxs):

image

If you are running out of other options to free space on a Windows Server 2008 R2 SP1 computer, then as a last resort you can disable SP1 uninstall feature by running the following command on the administrative command prompt:

dism /online /cleanup-image /spsuperseded

image

It will remove the files needed for Service Pack uninstall and free some gigabytes on Windows drive. In my case about 4GB.

2 comments:

  1. For making more space available on MSSQL Servers look this http://raunomagi.blogspot.com/2013/01/shrink-all-databases-on-microsoft-sql.html

    ReplyDelete
  2. This is also a good command for cleaning up (Remember, that this command blocks your ability to uninstall currently installed updates and service packs!):
    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

    ReplyDelete