Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Needs to run a DISM Command

I've done some searching and I haven't found anything on this so far, but is there a way to run a DISM command? I have Win10 LTSB devices that are filling their drives and I'm finding that the WinSXS folder has in excess of 15GB of data. I'm looking to follow some instructions from MS on how to reduce the size of the WinSXS folder.

Any suggestions?

0

Comments

1 comment
Date Votes
  • You can create a package that has a command step in it and call it like:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:c:\installtemp\Sources\Install.esd:1

    For us, we're storing the 1803 image on the root of the drive so it doesn't have to pull it across the network to run a health check.

    0