Thursday, September 24, 2015

How to remove old service pack files from Windows 2008 R2


This is a quick post as a reminder for anyone that may not know this.

This command will remove old service pack files from a Windows 2008 R2 server.
Run the below command from and elevated command prompt.

dism /online /cleanup-image /spsuperseded

I have used this on many server to clean up disk space on running virtual machines.

Hope this helps.