To repair corrupted Windows 10 and Windows 11 installations, Microsoft recommends running the DISM RestoreHealth command before executing sfc /scannow with administrator privileges to fix protected system files.
● If the utility reports that Windows Resource Protection could not perform the requested operation, retry the scan in Safe Mode or use the Windows Recovery Environment with /offbootdir and /offwindir parameters for an offline repair.
● These command-line tools solve different problems: SFC handles protected system files, DISM repairs the underlying component image, and CHKDSK resolves disk-related errors on the storage volume.
● SFC cannot recover or fix damaged personal data, so you must use alternative software like Wondershare Repairit if ordinary documents such as PDFs or Word files remain unreadable after system stability is restored.
Ask AI for a summary
Sometimes, Windows may start crashing, freezing, showing DLL errors, or behaving unexpectedly because protected system files are missing or corrupted. This can happen after an interrupted update, a failed driver installation, malware activity, or an unexpected shutdown.
Windows includes a built-in tool called System File Checker (SFC) that verifies protected system files and repairs them when possible. On current Windows 10 and Windows 11 systems, Microsoft recommends running DISM first and then running sfc /scannow. This guide explains how to run SFC, understand its results, use Safe Mode or offline repair when needed, and decide what to do if your personal files are still corrupted afterward.
In this article
Part 1: What Is System File Checker and When Should You Use It?
What Is SFC?
System File Checker, or SFC, is a Windows command-line utility that scans protected Windows system files and replaces damaged or incorrect versions when Windows can locate a valid replacement. You need administrator privileges to run the repair commands.

SFC is designed specifically for protected Windows system files. It is not a general data recovery tool, and it does not repair ordinary Word documents, Excel workbooks, PDFs, photos, videos, ZIP files, or other personal files.
When Should You Run SFC?
SFC is useful when Windows itself appears unstable and system-file corruption is a reasonable possibility. Common situations include:
- Windows features stop working correctly.
- Windows repeatedly freezes or becomes unresponsive.
- You receive errors involving protected Windows DLL or system files.
- A Windows update or installation fails because required system files are damaged.
- Windows reports that system components are missing or corrupted.
- You are troubleshooting unexplained system instability after an update, failed installation, or unexpected shutdown.
Part 2: How to Run SFC /SCANNOW in Windows 10/11
For current Windows 10 and Windows 11 systems, Microsoft recommends repairing the Windows component image with DISM before running SFC. This gives SFC a healthier repair source when protected system files need to be replaced.
1. Run DISM and SFC Normally
Step 1. Search for Command Prompt from the Windows taskbar, right-click it, and select Run as administrator.

You can also type cmd into Windows Search and choose Run as administrator.

Step 2. Select Yes if User Account Control asks for permission.
Step 3. Run the following DISM command:
DISM.exe /Online /Cleanup-Image /RestoreHealth
Wait until DISM completes successfully. The process may take several minutes.
Step 4. Then run:
sfc /scannow
Do not close Command Prompt while the verification is running. Wait until it reaches 100%.

When the SFC scan finishes, Windows displays one of several result messages:
| SFC Result | What It Means | What to Do Next |
| Windows Resource Protection did not find any integrity violations. | SFC did not detect missing or corrupted protected system files. | Look for another cause if the Windows problem continues. |
| Windows Resource Protection found corrupt files and successfully repaired them. | SFC detected and repaired protected system files. | Restart Windows and check whether the original problem is resolved. |
| Windows Resource Protection found corrupt files but was unable to fix some of them. | Some damaged protected files remain. | Review the CBS log, retry DISM/SFC, or use offline repair when appropriate. |
| Windows Resource Protection could not perform the requested operation. | SFC could not complete the scan. | Try running SFC in Safe Mode. |
Windows Resource Protection did not find any integrity violations: Windows did not find missing or damaged protected system files.

Windows Resource Protection could not perform the requested operation: Microsoft recommends trying the SFC scan in Safe Mode in this situation.

Windows Resource Protection found corrupt files and successfully repaired them: SFC found damaged protected files and repaired them.

Windows Resource Protection found corrupt files but was unable to fix some of them: Some protected system files remain damaged. You can inspect the CBS log for details and continue with the troubleshooting options below.

2. Run SFC in Safe Mode
Safe Mode and offline SFC are not the same thing. Safe Mode starts Windows with a reduced set of services and drivers. Microsoft specifically recommends trying SFC in Safe Mode when Windows Resource Protection cannot perform the requested operation.
Step 1. Press Windows + R, type msconfig, and press Enter.

Step 2. Open the Boot tab and choose the appropriate Safe boot option.

Step 3. Restart Windows into Safe Mode, open an elevated Command Prompt, and run:
sfc /scannow
After troubleshooting, return Windows to normal startup rather than leaving Safe boot permanently enabled.
3. Run SFC Offline from Windows Recovery
If Windows cannot start normally, or you need to scan an offline Windows installation, use Windows Recovery Environment rather than treating Safe Mode as “offline mode.”
Step 1. Open Windows Recovery options and restart into the recovery environment.

Step 2. Choose Troubleshoot.

Step 3. Open Advanced options > Command Prompt.

Step 4. Identify the drive letter assigned to the Windows installation in the recovery environment. It may not be C:.
Then use the offline SFC syntax:
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
Replace D: with the actual Windows drive letter shown in your recovery environment.
/offbootdir and /offwindir parameters. Simply booting into Safe Mode does not make an SFC scan an offline scan.Part 3: What If SFC /SCANNOW Cannot Fix My Corrupted Files?
If SFC cannot repair Windows system files, continue troubleshooting Windows with DISM, Safe Mode, offline SFC, Windows Recovery, or Microsoft's system-repair options. Repairit is not a replacement for SFC and does not repair Windows operating-system files.
However, a Windows crash, failed application save, unexpected restart, or other interruption can also leave ordinary personal files damaged. If Windows itself is stable again but a supported Word, Excel, PowerPoint, PDF, or other personal file still cannot open normally, Wondershare Repairit can be used for supported file-corruption scenarios.

-
Repair damaged files with all levels of corruption, including blank files, files not opening, unrecognizable format, unreadable content, files layout changed, etc.
-
Support to repair all formats of PDF, Word, Excel, PowerPoint, and Adobe files.
-
Perfectly repair corrupted files with a very high success rate, without modifying the original file.
-
Support Windows 11/10/8/7/Vista, Windows Server 2003/2008/2012/2016/2019/2022, and macOS 10.10~macOS 14.
If a supported personal file remains corrupted after the Windows issue is resolved, use the following File Repair workflow.
Step 1. Launch Wondershare Repairit
Open Repairit and go to the File Repair workflow. Add the supported damaged personal file you want to repair.

Step 2. Start the Repair Process
After adding the damaged file, click Repair to start processing it.

Step 3. Save the Repaired File
Preview the available result and save the repaired file to a different location from the damaged original.

If the corrupted personal file is relatively small and supported by the browser-based workflow, you can also use the Repairit online file repair tool without installing the desktop application.
1. Manually Fix Error Code 0x80070057.
2. Fix Error 0x800ccc1a in Outlook
3. How to Repair a Damaged Word File.
Conclusion
System File Checker is the correct Windows tool for checking and repairing protected system files. On Windows 10 and Windows 11, run DISM first, then use sfc /scannow. If SFC cannot complete the operation, Safe Mode may help; if Windows cannot start or you need to repair an offline installation, use the /offbootdir and /offwindir parameters from Windows Recovery.
If Windows is already stable but an ordinary personal document remains corrupted, handle that file separately with the appropriate file-repair workflow. Repairit can help with supported personal files, but it does not replace SFC, DISM, or Windows Recovery for repairing the operating system itself.
FAQ
-
What is the difference between CHKDSK, SFC, and DISM in Windows 10/11?
SFC checks protected Windows system files and repairs incorrect or corrupted versions when possible. DISM repairs the Windows component image that SFC may rely on as a repair source. CHKDSK checks a storage volume and file system for disk-related errors. They solve different problems and should not be treated as interchangeable tools. -
Should I run DISM or SFC first?
Microsoft currently recommends runningDISM.exe /Online /Cleanup-Image /RestoreHealthfirst and then runningsfc /scannow. DISM repairs the Windows component image before SFC checks protected system files. -
How do I view details of the System File Checker process?
SFC records repair information in the Windows CBS log. If SFC reports that it could not repair some files, review the CBS log to identify the affected protected system files and continue with the appropriate Windows repair steps. -
What should I do if SFC says Windows Resource Protection could not perform the requested operation?
Microsoft recommends running System File Checker in Safe Mode. If the issue continues, you can also use Windows Recovery Environment and run an offline SFC scan against the Windows installation. -
Can SFC repair personal files such as Word documents or PDFs?
No. SFC repairs protected Windows system files. It does not repair ordinary Word, Excel, PowerPoint, PDF, photo, video, ZIP, or other personal files. -
Can Repairit repair Windows system files that SFC cannot fix?
No. Repairit is not a replacement for SFC or DISM and does not repair the Windows operating system. It is relevant only when a supported personal file itself is corrupted after the Windows issue has been resolved.