Clean up the WinSxS folder — by Microsoft Learn
The safe ways to shrink the component store: the StartComponentCleanup task, DISM /StartComponentCleanup (with an optional /ResetBase) and Disk Cleanup. It also warns why you must never delete WinSxS files by hand.
Quick steps
- Dism.exe /online /Cleanup-Image /StartComponentCleanup
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Clean up the WinSxS folder by Microsoft Learn. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me