Dism /Online /Cleanup-Image /ScanHealth
DISM.exe /Online /Cleanup-image /Restorehealth
Dism /Online /Cleanup-Image /CheckHealth
sfc /scannow
if Install.wim
DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:G:\sources\Install.wim:1 /LimitAccess
if Install.esd
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:G:\sources\install.esd /LimitAccess
a) From Start screen, type cmd. From the results, right-click on Command Prompt and choose Run as an Administrator.
net stop wuauserv and press enter.
rename c:\windows\SoftwareDistribution softwaredistribution.old and press enter.
rmdir /s /q c:\windows\SoftwareDistribution.old and press enter.
net start wuauserv and press enter.
reboot and retry.