Fix Corrupt Windows System Files
To fix corrupt Windows system files, use the following commands:
chkdsk C:
If any errors are found, use the /f switch:
chkdsk C: /f
sfc /scannow
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Checkhealth
DISM.exe /Online /Cleanup-image /Restorehealth