Is your Windows 10/11 PC constantly crashing? Does your Windows 10 or 11 PC hang a lot? Are you getting a file missing or corrupted error in Windows 10/11? Run the built-in System File Checker tool to address these issues.
System File Checker is a command line utility in Windows 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/11
Complete the given below directions to run the System File Checker tool in Windows 10/11.
Step 1: Open Command Prompt as an administrator. You can do that by typing CMD in the Start/taskbar search field, right-clicking on the Command Prompt entry, and then clicking the Run as administrator option.
Click the Yes button when you get the User Account Control prompt.
Step 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 required to fix file corruptions.
If you have disabled Windows Update or Windows Update is not working for some reason, please connect Windows 10/11 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:\RepairSource\Windows /LimitAccess
In the above command, replace “C:\RepairSource\Windows” with the location of the resource source.
Step 3: Next, type the following command and then press Enter key.
sfc /scannow
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 System32\dllcache.
The above command might take some time to process. So, be patient.
Step 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 the System File Checker detects corrupt or missing files and manages 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%\Logs\CBS\CBS.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 or repair Windows 10 install without losing apps and your data.
Victor says
Best I seen on sfc and DISM tnx
M says
Thnx very much Step 2 helped me returning Settings back. Windows repair didn’t even help but this little line in CMD did. Thnx agan!
Bounchom says
My pc don’t accept that the password that I put it in I know the password that I put it in it said refuse