0

I need some help cleaning up a winsxs folder that is about 15GB in widows7. I went to this page, hoping that i could use the dsim command to reduce the size of winsxs. instead I get error 87, "remove option not recognized in this context" I went to MS technet, to look for support, but the support was something like, make sure you typed the command properly. I have typed the commands properly, and spacing is not the issue.

I have these disabled features, I would like to remove completely: How do I do it? enter image description here

j0h
  • 1,570

1 Answers1

1

Features on Demand is a Windows 8 only feature (parameter is still there in Windows 10, but the feature only works for Server 2016). So the /Remove parameter in the command DISM.exe /Online /Disable-Feature /featurename:NAME /Remove is detect as unknown in Windows 7.

So update to Windows 8.1 to get this feature.

The only way to reduce the size of the WinSxS in Windows 7 is to install this update and run Disk Cleanup and select "Windows Update Cleanup":

enter image description here

enter image description here

After a reboot the old updates are removed and WinSxS will be cleaned up.

enter image description here

This can reduce the WinSxS a lot.