dism

Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service and prepare Windows images.

Fix Corrupted Files or Folders

Dism /Online /Cleanup-Image /CheckHealth

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth


Dism /online /Cleanup-Image /StartComponentCleanup

Dism /online /Cleanup-Image /StartComponentCleanup /ResetBase

And then restart your computer.