Cleanup Windows 7 and Windows Server 2008 R2 SP1 Backup Files

Files Backup SP1 R2 2008 Server Windows and 7 Windows Cleanup

If you’ve installed service pack 1 for Windows 7 or Windows Server 2008 R2 and you’re happy you won’t need to uninstall it,

you can cleanup the service pack backup files by running the command below from an elevated command prompt.  This uses the Deployment Image Servicing and Management (DISM) tool.

Go into C:\Windows\System32

DISM.exe /online /Cleanup-Image /spsuperseded

The command freed 1.6GB on my Windows 7 desktop and 1.8GB on a Windows Server 2008 R2 Std server.

 

You can do the same for Windows Vista with vsp1cln.exe for service pack 1 and compcln.exe for service pack 2.

by running the following command:

vsp1cln.exe and compcln.exe

 

If you want to remove the windows update files create following:

A Batch file with:

@echo off
net stop wuauserv
rd /s /q C:\Windows\SoftwareDistribution
net start wuauserv
pause

Execute it.

 

Happy Reducing.



Comments are closed