im running windows 2008 r2 and winsxs utilizing the whole diskspace, wen google and saw some option via using dism.exe - Dism.exe /online /Cleanup-Image /StartComponentCleanup
But i getting error - The startcomponentcleanup option is not recognized in this context.
How may i enable this option to shrink winsxs folder
PowershellWindows OSWindows Server 2008
Last Comment
Hello There
8/22/2022 - Mon
Hello There
/StartComponentCleanup is available on Windows 8 and later or Windows Server 2012 and later.
You can try to use this instead. It will remove all installed files that got replaced by the latest SP.
dism.exe /online /cleanup-image /spsuperseded
Doodad Boy
ASKER
hi,
i used the option /spsuperseded, but i getting an output "Service PAck Cleanup cant proceed. No Service pack backup files were found"
Hello There
You can install the Desktop Experience feature and run Disk Cleanup.
You can try to use this instead. It will remove all installed files that got replaced by the latest SP.
dism.exe /online /cleanup-image /spsuperseded