Link to home
Create AccountLog in
Avatar of Doodad Boy
Doodad BoyFlag for Malaysia

asked on

DISM Start component cleanup

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
Avatar of Hello There
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
Avatar of 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"
You can install the Desktop Experience feature and run Disk Cleanup.
hi, i used diskcleanup, but it showing all 0 size, nothing is there to be deleted
It seems to be fine then.

What do you need to accomplish? Free up the C:\ drive? Something else?
yep, free up c:\drive
ASKER CERTIFIED SOLUTION
Avatar of Hello There
Hello There

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account