SFC Scannow Not Working: Fix and Repair Windows Files

Share
A Windows laptop sits open on a desk.

If `SFC /scannow` is failing, freezing, or saying it can’t repair files, the usual fix is to run it from an elevated Command Prompt or Terminal, repair the Windows image with DISM, and then check the disk if the problem keeps coming back. If the scan still won’t complete, the issue is usually deeper than SFC itself: either the Windows component store is damaged or the drive has file-system errors.

What SFC /scannow is supposed to do

SFC /scannow checks protected Windows system files and replaces bad copies with known-good versions. On a healthy system, it may sit at one percentage for a while, but it should still finish with one of a few standard messages.

A completed scan is not the same thing as a failed one. If it says it found no integrity violations, the protected files checked out. If it says it found corrupt files and repaired them, the repair likely succeeded, but you should run the scan again to confirm. If it says it found corrupt files but could not repair some of them, the scan completed, but Windows could not replace everything on its own.

The exact message varies, but the result usually tells you whether SFC finished, repaired something, or stopped short because it could not get a clean replacement.

Where SFC still works and where it doesn’t

Use SFC when Windows boots normally and you want to check or repair protected operating-system files. It works best when the Windows component store is healthy, because that store is where SFC gets clean copies of files.

If the component store is damaged, SFC can keep failing even though the command itself is fine. Disk problems can also interfere, because bad sectors or file-system errors may block file reads and writes. In that case, SFC is showing you the symptom, not causing it.

Before you go further, make sure you are on a supported version of Windows 10 or Windows 11, and that you can run the command as an administrator. A restart is safe if the machine has been acting unstable, and a backup is a good idea if the drive has shown signs of trouble.

First check: run Command Prompt as administrator

Start here, because a non-elevated prompt is a common reason SFC /scannow seems broken. Open Command Prompt or Windows Terminal with administrator rights, then run the command exactly as written.

  1. Open the Start menu.
  2. Type cmd or Terminal.
  3. Right-click the result and choose Run as administrator.
  4. Approve the UAC prompt.
  5. Run the command below.
sfc /scannow
Command Prompt

If you did it right, the window should be an elevated session and the scan should begin. If Windows says you need to be an administrator, or if the command is mistyped, fix that first. Use the exact spacing and slash form shown above. SFC will not help if the command never actually started with elevated rights.

A Windows laptop shows an administrator Command Prompt window.

If SFC says it found corruption but couldn’t fix it

This usually means SFC can see damaged files, but the source it relies on is damaged too. The next step is to repair the Windows image with DISM, then run SFC again.

Open an elevated Command Prompt or Terminal and run these commands in order:

DISM /Online /Cleanup-Image /RestoreHealth
Command Prompt

If that completes, run SFC again:

sfc /scannow
Command Prompt

If DISM finishes successfully, SFC often works on the second pass. If DISM reports that it cannot find source files or cannot complete the repair, Windows Update may be blocked, the component store may be more damaged than expected, or you may need a local installation source. In that case, the problem is usually not SFC itself.

If the scan freezes at a percentage or looks stuck

SFC can pause for a long time without actually hanging. A slow disk, a large amount of corruption, or background disk activity can make the percentage sit still for a while. If the machine is still responsive and the drive light is active, give it time.

If it stays unchanged for a very long time and there is no disk activity, restart and try the command again from an elevated prompt. If it keeps stalling in the same place, that points away from SFC itself and toward a disk problem, a damaged component store, or a deeper Windows issue.

Before repeating the scan, save your work and close other repair tools. If the system is unstable or you hear unusual drive behavior, move to disk checks first rather than forcing repeated scans.

A Windows laptop displays a progress screen that looks stuck.

Use DISM to repair the component store

DISM repairs the Windows image that SFC depends on. Run it from an elevated Command Prompt or Terminal. The most common online repair command is:

DISM /Online /Cleanup-Image /RestoreHealth
Command Prompt

If Windows Update can supply the needed files, DISM should complete and report that the operation finished successfully. If it fails because it cannot get the files it needs, use a local source such as mounted Windows installation media that matches your installed version and edition.

A common source-based example looks like this, with X: replaced by the drive letter for the installation media:

DISM /Online /Cleanup-Image /RestoreHealth /Source:X:\Sources\install.wim /LimitAccess
Command Prompt

If your media uses install.esd instead of install.wim, the source path changes accordingly. If source-based repair still fails, the Windows component store damage may be too deep for a simple command-line fix. That is one sign the issue has moved beyond SFC and into Windows servicing or image repair.

Check the disk if SFC keeps failing

A bad file system can make SFC fail even when Windows itself is the real victim. If you keep seeing corruption messages, or if SFC freezes in the same place after DISM has already run, check the disk.

Run this from an elevated Command Prompt:

chkdsk C: /f
Command Prompt

If Windows says the drive is in use and asks to schedule the check for the next restart, let it do that and reboot. That is the normal way to fix the system drive. If you suspect physical disk trouble, a full surface scan from a disk utility may also be needed, but CHKDSK is the safer first step built into Windows.

If CHKDSK finds errors and repairs them, run sfc /scannow again afterward. If it reports repeated errors every time, the drive may be failing.

A Windows laptop is being used for a disk check in a terminal window.

How to tell whether the repair actually worked

The cleanest confirmation is to rerun SFC from an elevated prompt after DISM and any disk repair are done. A successful result usually looks like this:

Windows Resource Protection did not find any integrity violations.
Expected output

You might also see:

Windows Resource Protection found corrupt files and successfully repaired them.
Expected output

That second message means SFC fixed something, but you should run the command again. If the second scan comes back clean, the repair likely held. If it keeps reporting new or unrepaired corruption, the underlying cause is still active.

You can also check whether DISM completed successfully before the final SFC pass. If DISM failed, SFC’s result is less trustworthy because its repair source may still be broken.

When SFC keeps not working after all of this

If SFC still fails after an elevated run, DISM repair, and a disk check, the problem is probably deeper than the command itself. Repeated DISM failures, boot problems, missing Windows files, or corruption that comes back right away are signs that the Windows image or the drive may be seriously damaged.

That usually means one of these is true:

  • the component store cannot be repaired from the current Windows installation
  • the system drive has hardware trouble
  • Windows corruption is broad enough that command-line repair is no longer enough

At that point, the next step is often recovery repair from installation media, an in-place repair install, or a full reinstall if the damage is severe. Which path makes sense depends on whether Windows still boots and how much of the system is affected.

What to try if Windows won’t even open normally

If the desktop will not load, use the Windows Recovery Environment and run offline repairs there. This lets you target the installed Windows copy even when the normal command prompt is unavailable.

From recovery media or the built-in recovery menu, open Troubleshoot > Advanced options > Command Prompt. Then identify the Windows drive letter, because it is often not C: in recovery mode.

An offline SFC example looks like this, with D: replaced by the actual Windows volume:

sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
Command Prompt

If offline SFC reports that it needs the component store repaired first, use offline DISM with the same Windows volume and a matching installation source. If you cannot identify the correct drive or the commands still fail, the issue is beyond normal in-place repair and points toward heavier system damage.

A Windows laptop shows a recovery environment screen.

Conclusion

If `SFC /scannow` is not working, start with an elevated run, then repair the Windows image with DISM, check the disk, and run SFC again. If it still fails after that, move to offline repair or an in-place Windows repair instead of repeating the same scan.

Frequently Asked Questions

What does it mean when SFC says it found corrupt files but could not fix some of them?

It means SFC detected damage but could not get a clean replacement from the Windows component store. The usual next step is DISM, then another SFC pass.

Is it normal for SFC /scannow to look frozen?

Sometimes, yes. Large repairs or a slow disk can make the percentage sit still for a while. If there is no disk activity for a long time, check for disk or component-store problems.

Do I need to run Command Prompt as administrator for SFC?

Yes. An elevated prompt is the safest way to run it, and a non-elevated window can stop the repair from working properly.

Read more