Back
Featured image of post Repair a Windows Server 2016 installation with DISM

Repair a Windows Server 2016 installation with DISM

I recently had a problem with a Windows Server 2016: The Start Menu was unresponsive! You will find a lot of such issues with Windows 10 and how to fix it. But the DSIM /restorehealth didn’t work as expected or described in most of the how to’s that I found.

Here is how I solved my issue:

Mount your Windows Server 2016 ISO as a drive (d: in this case) and start elevated command prompt or PowerShell.

dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /restorehealth /source:WIM:d:\sources\install.wim:2 /limitaccess
sfc /scannow

A quick note about the WIN Index above: The Index I use above (2) is for the Desktop Edition, if you have a Server Core installation, please use 1:

dism /online /cleanup-image /restorehealth /source:WIM:d:\sources\install.wim:1 /limitaccess

Don’t forget to run Windows Update!

The Process will take a moment, be patient!