There are several things which could cause this type of problem, file corruption is the first thing that comes to mind.
Please run System File Checker.
The sfc /scannow command scans all protected system files and replaces corrupted and incorrect versions with correct Microsoft versions.
Important: There will be a short message at the end of the scan informing you of the results. If you receive the message "no integrity violations were found" you don't need to do anything else, no corrupt files were found. You should watch the scan to see the results at the end of the scan.
This needs to be run using an Administrator account.
Click/tap on the Search icon (magnifing glass)in the Taskbar and type cdm.
You will see Command Prompt under Best match, right click on Command Prompt and select Run as administrator.
Copy and paste the command below in the Command Prompt, then press Enter.
This scan will take a while to run, please do not abort the scan as this can result in damage to the operating system.
If integrity issues are found in the scan please post the CBS log using the instructions below.
To find sfc /scannow log open the Command Prompt, copy and paste the command below, then press Enter.
copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
This will place the log on your desktop. Copy and paste the log at the host website I've suggested below.
This log usually is very large, for this reason you should use a host website like Dropbox to post the log. You can start a free 30 day trial. Once you have loaded the log at Dropbox post a link to the website.