To fix corrupted files in Windows, you can use the System File Checker (SFC) tool. Here’s how to do it:
- Open the Command Prompt as an administrator. You can do this by searching for "cmd" in the Start menu, right-clicking on it, and selecting "Run as administrator."
- In the Command Prompt window, type the command
sfc /scannowand press Enter. This command will scan all protected system files and replace any corrupted files with the correct versions from the cache or installation source. - Once the scan is complete, restart your PC to apply any changes.
If the SFC tool does not resolve the issue, you may need to use the Deployment Imaging Service and Management Tool (DISM) to repair the Windows image before running the SFC tool again. You can do this by running the following commands in the Command Prompt:
dism /online /cleanup-image /restorehealth
sfc /scannow