The most common way to repair corrupted windows files or installations is to use the System File Checker. here are the commands that you use:
Open an Admin CMD Prompt
Type: sfc /scannow & dism /online /cleanup-image /restorehealth
press enter
If there were any issues found by the SFC scan that were not repaired then you may have to run it again after DISM finishes its repair.