Yeah, right, cleanmgr is the tool of choice for cleaning up the component store (winsxs) …
Well I have one case where cleanmgr just errors out (after ~5 hours) and doesn’t do much anything. Going from the CBS logs, there’s a few individual updates that have missing metadata, possibly because the system ran out of disk space at some critical point some time ago. Others do have the appropriate metadata.
(It’s a server with a fair amount of activity, including several applications that automatically manage their own disk space usage… independently of each other except for total usage on C: and no, I didn’t set it up.)
Anyone know of a way to do winsxs cleanup by individual component with, say, PowerShell, so that it could work in this situation?
It’s a Server 2008 R2 SP1 so I expect this part to work like 7 …