Use DISM to cleanup WinSxS after Windows Update

After making a reference image of a Windows 8.1 installation and updating it, we wanted to clean up the installation. There are a few methods that can be used, such as using Disk Cleanup GUI and select Windows Update Cleanup, or run the StartComponentCleanup (found under MicrosoftWindowsServicing) in Task Scheduler but using the CLI to achieve this is much cooler and you have stronger options. As shown in the picture, we have updated the computer with all latest patches with PowerShell, see my previous post. And after no more updates are¬†available we used DISM to clean up everything.…

Read More