How to Run SFC /Scannow in Windows 10, 11 (Stepwise Guide)

Want to repair missing or corrupted system files using sfc /scannow in Windows 10/11? Read this article patiently to get a complete guide.

Lily

By Lily Updated on March 28, 2024

Share this: instagram reddit

About sfc /scannow command

The SFC (System File Checker) command is a Command Prompt command that is used to verify and replace important Windows system files. There are several specific switches available in the SFC command such as:

  • Sfc /scannow: scans integrity of all protected system files and repairs files with problems when possible.

  • Sfc /verifyonly: scans integrity of all protected system files without repairing.

  • Sfc /scanfile=: scans integrity of the referenced file and repairs file if problems are identified.

Among all the command switches, sfc /scannow is the most frequently-used one. It is extremely useful to repair incorrect, corrupted, changed, or damaged system files. Then, how to perform sfc /scannow repair exactly?

How to use sfc /scannow in Windows 10/11 to repair corrupted system files

To run sfc /scannow in Windows 10/11, you can follow the steps below:

👉 SFC scan on Windows
👉 Offline SFC scan
👉 Bonus tip: auto backup Windows 10/11 for system recovery💡

SFC scan on Windows

1. Tap the Search button on the taskbar and type “cmd” in the search box. Right click “cmd” and then select “Run as administrator”.

2. Type DISM.exe /Online /Cleanup-image /Restorehealth and press Enter. It may take several minutes for the command operation to be completed.

Note: Running the DISM (Deployment Image Servicing and Management) tool prior to SFC is only necessary on Windows 11/10/8.1/8. To run sfc /scannow in Windows 7, you can skip to Step 3.

3. Type sfc /scannow and press Enter to scan system files and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.

Note: The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.

4. After the verification reaches 100%, you may receive one of the following messages:

▶ Windows Resource Protection did not find any integrity violations.
>> A good thing.
▶ Windows Resource Protection found corrupt files and successfully repaired them. 
>> A good thing.
▶ Windows Resource Protection found corrupt files but was unable to fix some of them.
>> In this case, you can view details of the System File Checker process in %WinDir%\Logs\CBS\CBS.log, and then manually replace the corrupted file with a known good copy of the file.
▶ Windows Resource Protection could not perform the requested operation.
>> In this condition, you can perform the System File Checker scan in safe mode, and make sure that the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.

5. Type exit and press Enter to exit Command Prompt.

SFC /Scannow

Offline SFC scan

If your PC fails to boot, you may perform an SFC scan offline. Here’s how to do it.

1. Boot your PC with Windows installation media or a recovery drive.

2. Open Command Prompt from Windows Recovery Environment.

  • For Windows installation media, click Repair your computer > Troubleshoot > Advanced options > Command Prompt.
  • For a recovery USB, click Troubleshoot > Advanced options > Command Prompt.

3. In the Command Prompt window, type sfc /scannow /offbootdir=c:\ /offwindir=c:\windows and press Enter.System File Checker utility checks the integrity of Windows system files and repairs them if required.

SFC Offline Repair

Note: You need to replace C: with the drive letter of the partition that contains your Windows installation.

4. After the process is complete, reboot your computer.

To learn more about SFC command on Windows Server, please refer to inaccess boot device on Windows Server 2019.

Although you can fix corrupted system files with the sfc /scannow command, problems may occur during the process, such as sfc /scannow not working, sfc /scannow stuck, etc. You even need to reinstall Windows to repair damaged system files when sfc /scannow fails.

💡Bonus tip: auto backup Windows 10/11 for system recovery

To be released from the heavy work of reinstalling Windows when sfc /scannow fails, you should backup Windows regularly. Compared with reinstalling Windows and all the applications, restoring system from the backup is much easier. Here I’d like to recommend the best free backup software—AOMEI Backupper Standard.

AOMEI Backupper
Free Windows Backup Software
  • All-around data protection: it enables you to perform full system backups as well as backing up specific files, documents, disks and partitions.
  • Windows PE boot: it allows you to create bootable media which will help you restore system under Windows PE when your computer fails to boot.
  • Auto-Backup: it backs up files or system in schedule like daily, weekly, monthly, or event-tirgger mode.

Step 1. Download, install and launch AOMEI Backupper. Click on “Backup” and select “System Backup”.

System Backup

Step 2. The required system partition(s) is (are) selected by default. Choose the destination path to store the backup files. You can save the system image to the local disk, external hard drive or network location.

Select Destination Path

Step 3. Click “Schedule Backup” in the left bottom, and then set the frequency of the system backup to run.

Backup Schedule

Step 4. Confirm the operation and click “Start Backup” > “Add the schedule and start backup now” to run your first backup.

Start Backup

>> Options: you can enable email notification, choose the compression level for the backup image file and select intelligent sector backup or sector-by-sector backup.
>> Backup Scheme: it will automatically remove older backups to save disk space for you. This feature is available in AOMEI Backupper Professional and higher editions.

FAQs about SFC scannow on Windows 10

Verdict

Now you know how to use sfc /scannow in Windows 10, 11 to repair corrupted system files. To get prepared for the possible sfc /scannow failure, you should backup Windows regularly with AOMEI Backupper. In addition to backing up system, AOMEI Backupper can help you sync local folders with Synology NAS.

If you are looking for portable sync software that enables you to sync files on any computer, pick AOMEI Backupper Technician or Technician Plus edition. Try it now to discover more!

Lily
Lily · Editor
Lily Green joined AOMEI in 2018 and has since become a professional in the areas of data protection and data transfer. She is committed to helping users protect their precious computer data and troubleshoot Windows system errors. She consistently stays vigilant about the latest trends in technology, guaranteeing that the given information aligned with the ongoing advancements in the field.