Repair a Windows Server
Open the command prompt as Administrator and run the following commands:
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /restorehealth
Mount the Windows Server 2016 ISO as a drive (E: in this case) and run the following command. Please check the WIM version before selecting it.
dism /online /cleanup-image /restorehealth /source:WIM:E:\sources\install.wim:1 /limitaccesssfc /scannowCheck Windows Update and install any pending updates.
Reboot the server.
To check the WIM version for various versions of OS, run the following command:
To check the WIM version for various versions of OS, run the following command:
dism /Get-WimInfo /WimFile:E:\sources\install.wim
wim:1 – Windows Server 2019 Standard Installation: Server Core
wim:2 – Windows Server 2019 Standard (Desktop Experience)
wim:3 – Windows Server 2019 DataCenter Installation: Server Core
wim:4 – Windows Server 2019 DataCenter (Desktop Experience)
wim:1 – Windows Server 2019 Standard Installation: Server Core
wim:2 – Windows Server 2019 Standard (Desktop Experience)
wim:3 – Windows Server 2019 DataCenter Installation: Server Core
wim:4 – Windows Server 2019 DataCenter (Desktop Experience)
Comments
Post a Comment