Use the DISM tool and System File Checker for repairing any missing or corrupted system files:
System File Checker (SFC)/DISM is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files.
Right click on the Start Menu and select Command Prompt (Admin).
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
Type or copy paste the below command lines into it and hit Enter: