Monday, December 01, 2014

DISM clean WinSxS

Use the /StartComponentCleanup parameter

  1. Using the /StartComponentCleanup parameter of Dism.exe on a running version of Windows 8.1 gives you similar results to running the StartComponentCleanup task in Task Scheduler, except previous versions of updated components will be immediately deleted (without a 30 day grace period) and you will not have a 1-hour timeout limitation.
    From an elevated command prompt, type the following:
    Dism.exe /online /Cleanup-Image /StartComponentCleanup

No comments: