When System File Checker (sfc /scannow) fails to complete, it usually means Windows cannot verify or repair system files because of a corrupted component store, a locked file, or a pending operation. The fix is to run DISM to repair the component store first, then retry SFC, and if it still stalls, check the CBS log to identify the specific file or driver causing the hang.
Why SFC Scannow Stalls or Never Finishes
SFC works by comparing every protected system file against a cached copy in the Windows component store (WinSxS). If that store is damaged, SFC cannot verify files and may loop, freeze at a certain percentage, or just sit at “Verification 100% complete” for hours. Other common causes include:
- Corrupted component store – the source files SFC needs are missing or damaged.
- Pending reboot – Windows Update or driver installation left a pending operation that blocks SFC.
- Third-party security software – antivirus or anti-ransomware tools can lock system files, causing SFC to wait indefinitely.
- Disk errors – bad sectors on the drive can prevent SFC from reading files.
- System drive full – SFC needs free space to create temporary files.
How SFC Scannow Works
When you run sfc /scannow from an elevated Command Prompt, Windows takes the following steps:
- It enumerates all protected system files and compares their hash to the expected hash stored in the component store.
- If a file is missing or corrupted, it replaces it with a copy from the WinSxS folder.
- If the component store copy is also corrupted, SFC may try to pull from Windows Update, but only if the Group Policy allows it.
- It writes a detailed log to
C:\Windows\Logs\CBS\CBS.log.
The process can take 15–30 minutes on a healthy system, but if the component store is damaged, it can hang indefinitely.
Step-by-Step Fixes for SFC Not Completing
Try these in order, testing SFC after each step.
- Run DISM first. Open Command Prompt as Administrator and run:
DISM /Online /Cleanup-Image /RestoreHealth
This repairs the component store. It can take 20–40 minutes. After it finishes, reboot and runsfc /scannowagain. - Boot into Safe Mode. Safe Mode loads only essential drivers and services, so third-party software won’t interfere. From Safe Mode, run SFC again.
- Check for pending reboots. Open Registry Editor and navigate to
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending. If that key exists, reboot and try again. - Run CHKDSK. Run
chkdsk /f /ron your system drive (usually C:) to fix disk errors. This requires a reboot. - Free up disk space. Ensure at least 10–15 GB of free space on the system drive. Use Disk Cleanup or Storage Sense.
- Use a Windows installation media. If DISM fails because the component store is too damaged, boot from a Windows USB or DVD, open Command Prompt (Shift+F10) and run:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
This tells SFC to use the installation media as the source.
How to Read the CBS.log File
If SFC still fails, the CBS.log contains the reason. Open it with Notepad (it’s large, so use Ctrl+F to search). Look for lines containing “Cannot repair member file” or “hr=” with an error code. For example, if you see 0x800f081f, it means the source file was not found. That tells you the component store is the problem, and you need to use DISM or installation media.
Common Misconceptions
Myth: SFC is the ultimate fix for all Windows problems. SFC only repairs protected system files. It does not fix registry corruption, driver issues, or malware. If SFC completes but your problem persists, the cause is elsewhere.
Myth: Running SFC multiple times will eventually fix everything. If the component store is corrupt, running SFC again won’t help. You must repair the store first with DISM.
When to Consider a Repair Install
If DISM and SFC both fail, and you’re still experiencing crashes or errors, a repair install (in-place upgrade) using the Windows Media Creation Tool can replace all system files while keeping your apps and data. This is more invasive but often resolves deep corruption that SFC cannot.
Frequently Asked Questions
Q: How long should SFC scannow take?
A: On a healthy system, it typically takes 15–30 minutes. If it runs for hours, something is wrong.
Q: Can I cancel SFC and run it again?
A: Yes, you can press Ctrl+C to stop it. It’s safe, but the repair may be incomplete. Run it again after fixing the underlying issue.
Q: Does SFC work in Safe Mode?
A: Yes, and it’s often recommended because third-party drivers and software won’t interfere.
Q: What does “Windows Resource Protection could not perform the requested operation” mean?
A: This error usually means SFC couldn’t access the system files, often due to a pending reboot or a corrupted component store. Run DISM first, reboot, and try again.
Q: Is there a way to speed up SFC?
A: Not really. It’s a thorough scan. You can use sfc /verifyonly to check for corruption without repairing, which is faster, but it won’t fix anything.
Q: What if SFC finds corrupted files but can’t fix them?
A: That means the component store is damaged. Run DISM /RestoreHealth, or use a Windows installation media as the source.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Wireless Controller Charging: Can You Play While Plugged In?
- Secure a Node.js API: Layered Checklist
- Zoom Desktop Client: Features, Setup, and Fixes
- Python Integer Identity: Why It Varies by Run
- Can Technology Solve Poverty? Facts & Limits
- Cannot Detect Device? Fixes for USB & Bluetooth