iSumsoft » Resources » Windows 10 » Repair Corrupted and Missing System File with SFC.exe

How to Repair Corrupted and Missing System File with SFC.exe

When you encounter some annoying Windows system issues like blue screen of death (BSOD), Windows crashed and failed to load because of missing or corrupt system files. Follow this guide to run the System File Checker tool to scan your system files and to repair missing or corrupted system files.

Run SFC /scannow Command to Repair Windows System File

System File Checker(SFC) is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. Here is how to use it:

Step 1: Open an elevated Command Prompt or elevated Windows PowerShell.

To do: press Win+X, and hit A key on keyboard. Learn more see WinX keyboard shortcuts.

Command Prompt Admin

Step 2: In the Command prompt or Windows PowerShell, type in command below, and hit Enter.

sfc /scannow

run System File Checker tool

Running this command will take quite a bit of time. When the scan is complete, the scan results will be shown, you may see a "Windows Resource Protection did not find any integrity violations". You can close it and continue to fix your system issue with other methods.

Use SFC to repair System File Errors

If issues were found, it will automatically replace broken files with the correct one.

If you see a "Windows Resource Protection found corrupt files but was unable to fix some of them" message, try reboot into Safe Mode and run the SFC command again, see in Option below.

How to Run SFC /scan Command at Boot

If Windows cannot start, boot your computer from Windows Installation DVD and you can repair the system files offline. Here is how:

Step 1: Open a command prompt at boot.

Step 2: In the command prompt, type diskpart and press Enter, then type list volume and press Enter.

Look for Windows partition

Note down the Windows drive letter for your boot drive(ex:System Rese) and Windows drive. In my example, C:\ is the System Reserved partition and D:\ is my actual Windows partition.

Step 3: Then type Exit and press Enter key.

Step 4: Now run the SFC command below to repair your Windows.

sfc /scannow /offbootdir=D:\ /offwindir=D:\windows

Run SFC scannow offline at Boot

It will scan all your system files, identify those that are corrupt or missing and try to fix the problems it find. When the scan is complete, restart your computer to check if your problem is fixed.