Is your Windows 10 PC is constantly crashing? Is your Windows 10 PC hangs a lot? Are you getting file missing or corrupted error in Windows 10? Run the built-in System File Checker tool to address these issues.
System File Checker is a command line utility in Windows 10 that allows users to scan for missing and corrupted system files and repair them. The tool can be run either via Command Prompt or PowerShell.
The System File Checker tool is helpful when your PC is not working as expected or showing file missing or corrupted errors.
Run System File Checker in Windows 10
Complete the given below directions to run System File Checker tool in Windows 10.
Чекор 1: Open Command Prompt as an administrator. You can do that by typing CMD in the Start/taskbar search field, right-clicking on Command Prompt entry and then clicking Run as administrator опција.
Кликнете Да button when you get the User Account Control prompt.
Чекор 2: At the Command Prompt window, you need to execute the following DISM tool first before running the System File Checker tool.
DISM.exe /Online /Cleanup-image /Restorehealth
The above command uses Windows Update to download files that are required to fix file corruptions.
If you have disabled Windows Update or Windows Update is not working for some reason, please connect Windows 10 bootable media to your PC and then run the following command instead of the above one. If you don’t have the bootable media, download Windows 10 latest version ISO from Microsoft, mount the ISO file, and then execute the following command.
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess
In the above command, replace “C:RepairSourceWindows” with the location of the resource source.
Чекор 3: Следна, type the following command and then press Enter key.
The above command scans all protected system files and replaces corrupt files with a cached copy of the file present in a compressed folder located at System32dllcache.
The above command might take some time to process. така, be patient.
Чекор 4: Once the system file checker completes its job, you will see one of the following messages:
# Windows Resource Protection did not find any integrity violations
The above message indicates that there are no missing or corrupted system files on your PC.
# Windows Resource Protection could not perform the requested operation
If you get this message, you might need to run the System File Checker in Safe mode again. We recommend running System File Checker once again in normal mode before trying that in safe mode.
# Windows Resource Protection found corrupt files and successfully repaired them.
You will get the above message when System File Checker detected corrupt or missing files and managed to repair them without any issues.
# Windows Resource Protection found corrupt files but was unable to fix some of them.
If you get this message, you can either try running the System File Checker tool again or view the log file (%WinDir%LogsCBSCBS.log) and then manually replace corrupted files.
Should the System File Checker fail to address the issue, you can try restoring Windows 10 to a previous date или repair Windows 10 install without losing apps and your data.