This page looks best with JavaScript enabled

Clean Up the WinSxS folder

 ·  ☕ 1 min read

Windows Updates build up over time and take up a lot of space. These can be cleared out manually using the Disk Cleanup utility but you can also use DISM to script the clean up process.

NOTE: Cleaning up the previous update files prevents the ability to roll back, so make sure your Windows installation is functioning as expected before hand.

Running this command in an elevated PowerShell terminal will remove all the old Windows Update files.

1
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

There is more information available on this process here officially from Microsoft.

Support My Work

If you would like to support me, please check out the link below.

If you have any questions or comments please leave them below.

Thanks
-Mike

Share on
Support the author with