The size of the folders in C:/Windows/winsxs on all our computers are taking up a lot of space after patching. Is there a fixlet on the console that can help us automate the disk space cleanup without impacting the patches successfully installed?
I’m aware of the fixlet in https://bigfix.me/fixlet/details/6133 but I want to know if there is a fixlet that uses dism in the command line to run the cleanmgr.exe?
If not, it should be fairly easy to create one. What is the specific DISM command (and associated parameters) that you would want to automate?
dism.exe /online /Cleanup-Image /StartComponentCleanup
Do you want to take a stab at writing the actionscript for this?
For reference, the following might help:
Note that if it takes a long time to complete, rather than having the Client wait for the execution to finish, you may want to instead leverage the runhidden actionscript command.
Thank you, Aram!
The action script ran successfully (Completed on console) but the disk space hasn’t actually cleared on the computer.
I will post this issue on the other thread.