All commands should be run from an elevated command prompt.
- Run
dism /online /cleanup-image /scanhealth
- Run
dism /online /cleanup-image /checkhealth
- Run
dism /online /cleanup-image /restorehealth
- Mount the Windows Server 2016 ISO as a drive (E: in this case)
- Run
dism /online /cleanup-image /restorehealth
/source:WIM:E:\sources\install.wim:1 /limitaccess - Run
sfc /scannow
- Run Windows Update
https://bornsql.ca/blog/repair-windows-server-2016-installation/