Thursday, August 15, 2013

How to free up disk space in Windows 7 and Windows Server 2008 R2

I recently needed to free up a little space on the OS partition of a Windows Server 2008 R2 SP1 server.  One way to reclaim space is to remove the Service Pack files after a successful SP installation.

**Warning** Confirm that the Service Pack install was successful.  The following command will make the service pack permanent.  An uninstall will no longer be possible.

Run the following command against an online installation:

dism /online /cleanup-image /spsuperseded

 
This process takes several minutes to complete, but freed up close to 4GB of disk space.  This should hold me over until the server is ready to be decommissioned.

No comments:

Post a Comment