Wednesday, 20 May 2020

DISM (Quick Steps)

Cleaning the Component Store (WinSXS Folder)

Dism.exe /online /Cleanup-Image /StartComponentCleanup
dism.exe /online /cleanup-image /spsuperseded​

Scan for issues in Component Store

dism /online /cleanup-image /scanhealth

Check logs for issues in Component Store (Quicker then scan)

dism /online /cleanup-image /checkhealth

Fix Component Store

dism /online /cleanup-image /restorehealth

List images that are contained in a WIM

Dism /Get-ImageInfo /imagefile:D:\\\\sources\\\\install.wim

Fix Component Store from install medi​a​

Dism /Online /Cleanup-Image /RestoreHealth /source:wim:D:\\sources\install.wim:1 /limitaccess
(on the install.wim:1 the :1 is the version of the OS you are using, like core / Desktop / Data Center / Standard)

Fix Component Store from a working device (MUST BE WORKING)

Dism /Online /Cleanup-Image /RestoreHealth /source:\\<DEVICE>\C$\Windows\WinSxS /limitaccess

No comments:

Post a Comment