Sometimes Windows gets corrupted by updates or software installation on your computer.
It is possible to perform a system file check using a magic tool called DISM
Deployment Image Servicing and Management (DISM) is used to prepare and configure Windows during deployment and once installed.
It is a tool provided with Windows since Windows 7
It is a tool provided with Windows since Windows 7
So, to check system files, you need to run a command prompt as administrator, and type:
DISM /online /cleanup-image /restorehealth
The master image is now being checked and repaired. Once completed, you can perform a Windows integrity check by running the following command in the same command prompt:
sfc /scannow
It is not mandatory to restart the computer after the repair is done, but rather recommended