8 mar 2011

How to remove/cleanup Windows 7 / Server 2008 R2 Service pack 1 Files

  1. Start an elevated command or Powershell prompt (Run as Administrator)
  2. If you are servicing this machine, enter dism /online /cleanup-image /spsuperseded /hidesp to cleanup the online computer. If you want to cleanup an offline wim image, instead enter dism /image:wimfile.wim /Cleanup-Image / spsuperseded /hidesp. The /hidesp option will remove SP1 from the “Installed Updates” section of Programs and Features, to ensure that users do not try to uninstall the service pack.
  3. DISM will now remove backup files and superseded components from your machine. When finished, you should have the below output :


Nessun commento:

Posta un commento