- Open ‘Windows Powershell’ or ‘Command Prompt’ with Admin privileges (right click -> Run as Administrator)
- Let’s check the System Health first, by running these commands:
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /restorehealth
- I’m sure that will give you an error stating that it could not perform the task. Afterward, Let’s specify the file from the ISO so that we can fix it. Run the following command: (Notice that X must be the drive letter on which your system has mounted the ISO)
DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
- Now let’s repair any damage in the system files, shall we?
Advertisment