If you’re aching for more space on your server or workstation, use this command to remove all uninstallfiles related to servicepack1 on Windows Server 2008 R2 and Windows 7.
dism /online /cleanup-image /spsuperseded /hidesp
For an offline WIM-image,
dism /image:wimfile.wim /Cleanup-Image / spsuperseded /hidesp.
/hidesp option removes SP1 from the “Installed Updates” section of Programs and Features, to ensure that users do not try to uninstall the service pack.
After doing this maneuver on a Server 2008 R2 my winsxs went from 12.12GB down to 6.82GB. Not a real true value though since winsxs contains mostly softlinks, but still an indication.
References:
No comments:
Post a Comment