DISM – Spring cleaning

Posted by on 28. J 2016 in Blog

Useful cleaning commands with dism – for now, the Windows 7 command can still be used in Windows 10 (1607)

Windows 10 / Server 2016+
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Windows 8.1 / Server 2012 R2
dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

Windows 8 / Server 2012
dism /Online /Cleanup-Image /StartComponentCleanup

Windows 7 / Server 2008 R2
dism /Online /Cleanup-Image /SPSuperseded /HideSP

 

Newest info:
https://msdn.microsoft.com/en-us/windows/hardware/commercialize/manufacture/desktop/dism-operating-system-package-servicing-command-line-options