UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
Windows 11 laptop on a dark desk showing a Command Prompt window with sfc scannow error message on screen
Fix It Yourself · Troubleshooting

sfc scannow not working

Published 22 August 202614 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

We've seen a real spike in people hitting this exact wall lately. You open Command Prompt, type sfc /scannow expecting Windows to quietly sort itself out, and instead you get an access denied error, a hang at 20%, or a message saying it found problems but couldn't fix them. Frustrating. The good news is that sfc scannow not working is almost always fixable without reinstalling Windows, and this guide covers every method that actually works, in the order you should try them.

TL;DR

If sfc scannow not working is your problem, start by running Command Prompt as administrator. If that doesn't fix it, check the TrustedInstaller service, run CHKDSK to clear disk errors, then use DISM to repair the Windows component store before retrying SFC. For persistent failures, run SFC offline from the recovery environment.

⏳️ 13 min read ✅ 87% success rate 📅 Updated July 2026

Key Takeaways

  • sfc scannow not working is most often caused by not running as administrator or a stopped TrustedInstaller service.
  • DISM must repair the component store before SFC can fix files when the WinSxS folder is corrupted.
  • CHKDSK should run before SFC whenever disk errors are suspected.
  • Safe Mode removes third-party interference and is worth trying early.
  • Offline SFC from the recovery environment fixes cases where normal and Safe Mode both fail.
  • CBS.log at C:\Windows\Logs\CBS\ tells you exactly which files SFC cannot repair.

At a Glance

  • Difficulty: Intermediate
  • Time Required: 15 to 45 mins
  • Success Rate: 87% of users fixed with Tier 1 or Tier 2 steps

What Causes SFC Scannow Not Working?

Before you start clicking through fixes, it's worth knowing what's actually going wrong under the hood. SFC (System File Checker) is a Windows tool that scans protected system files and replaces corrupted ones using cached copies from the WinSxS component store. When it fails, it's almost always one of five things.

The most common culprit, by a mile, is simply not running the command with administrator rights. SFC needs to write to protected locations in C:\Windows\System32 and it can't do that from a standard prompt. Second most common is a stopped or disabled TrustedInstaller service (officially called Windows Modules Installer). This service is what actually handles the file replacement. No TrustedInstaller, no repairs.

Third, the component store itself can become corrupted. The WinSxS folder holds the clean copies SFC pulls from. If those are dodgy, SFC finds the problem but has nothing healthy to restore from. That's the scenario where you see the message 'Windows Resource Protection found corrupt files but was unable to fix some of them.' It's not a lie, it just needs DISM to fix its own source first.

Fourth, disk errors and bad sectors. If the NTFS file system has problems, SFC can't reliably read or write files. It might hang, report errors it can't fix, or simply crash out. Running CHKDSK before SFC is something Microsoft's own documentation recommends for exactly this reason.

Fifth, third-party software interference. Antivirus tools, system optimisers, or even a Windows Update that's half-installed can lock files that SFC needs to access. Running in Safe Mode cuts most of that out. If you've recently installed a new security product and SFC stopped working around the same time, that's almost certainly what's happening.

Worth mentioning: if your PC is also running slowly or throwing random errors alongside this, there's a chance something deeper is going on. We cover that in our Windows running slow guide, which is worth a look once you've sorted SFC.

SFC Scannow Not Working: Quick Fixes

Start here. These take under ten minutes and fix the problem for most people.

1

Run SFC as Administrator Easy

  1. Open an elevated Command Prompt
    Press the Windows key, type cmd. Right-click Command Prompt in the results and choose Run as administrator. Click Yes on the UAC prompt.
  2. Run the scan
    Type sfc /scannow and press Enter. Do not close the window. The scan takes 5 to 15 minutes depending on drive speed.
  3. Check the result
    You want to see either 'Windows Resource Protection did not find any integrity violations' or 'Windows Resource Protection found corrupt files and successfully repaired them.' If you see 'found corrupt files but was unable to fix some of them', move to Solution 4 (DISM).
If the scan completes and reports no issues or successful repairs, you're sorted. Restart the PC to let any repairs take effect.
You can also run sfc /scannow from an elevated PowerShell window. Same result, same permissions requirement. Some people find PowerShell easier to get to via the right-click Start menu.
2

Enable the TrustedInstaller Service Easy

  1. Open Services
    Press Win + R, type services.msc, press Enter.
  2. Find Windows Modules Installer
    Scroll down to Windows Modules Installer (it may also show as TrustedInstaller). Right-click it and choose Properties.
  3. Set it to Manual and start it
    Change Startup type to Manual, click Start, then click OK.
  4. Or do it via command line
    In an elevated Command Prompt run:
    sc config trustedinstaller start= auto
    then
    net start trustedinstaller
  5. Retry SFC
    Run sfc /scannow from the elevated prompt again.
TrustedInstaller should now show as Running in services.msc and SFC should complete without the 'cannot repair' error.
Some third-party optimiser tools permanently disable TrustedInstaller as a 'performance tweak'. This breaks SFC and Windows Update. If you've used one of those tools recently, this is almost certainly your problem.

Intermediate SFC Scannow Fixes

Still hitting the same wall? These take a bit longer but they cover the most common deeper causes, specifically disk errors and boot-time interference.

3

Run SFC in Safe Mode Medium

  1. Boot into Safe Mode
    Press Win + R, type msconfig, press Enter. Go to the Boot tab. Tick Safe boot, make sure Minimal is selected, click OK. Click Restart when prompted.
  2. Run SFC in Safe Mode
    Once Windows loads in Safe Mode (you'll see 'Safe Mode' in the corners of the screen), open an elevated Command Prompt and run sfc /scannow.
  3. Return to normal boot
    After the scan finishes, go back to msconfig, uncheck Safe boot, and restart normally.
Safe Mode loads only essential Windows drivers and services. If SFC works in Safe Mode but not normal mode, a third-party driver or antivirus is the culprit. Check what starts at boot using Task Manager's Startup tab.
SFC completing successfully in Safe Mode means the core Windows files are intact. The interference was coming from something loaded in normal boot.
4

Run CHKDSK First, Then SFC Medium

  1. Schedule CHKDSK
    Open an elevated Command Prompt and run: chkdsk /r C:
    When asked 'Would you like to schedule this volume to be checked the next time the system restarts?', type Y and press Enter.
  2. Restart and let it run
    Restart the PC. CHKDSK will run before Windows loads. This can take anywhere from 10 minutes to over an hour on a large or slow drive. Do not interrupt it.
  3. Run SFC after CHKDSK completes
    Once Windows boots back up, open an elevated Command Prompt and run sfc /scannow.
If CHKDSK reports a large number of bad sectors or says the disk is failing, the drive itself may need replacing. Back up your data before doing anything else. See our guide on signs of a failing hard drive for what to look for.
CHKDSK completing with no errors found, or reporting that it fixed file system errors, means the disk is no longer blocking SFC. The subsequent SFC scan should run clean.
5

Install Pending Windows Updates Easy

  1. Check for updates
    Press Win + I, go to Windows Update. Click Check for updates and install everything listed, especially any Cumulative Updates or Servicing Stack Updates.
  2. Restart and retry SFC
    After all updates install and the PC restarts, run sfc /scannow from an elevated prompt.
A half-applied Windows Update can leave the component store in an inconsistent state. The Servicing Stack Update (SSU) in particular must be current before DISM or SFC can work correctly. If Windows Update itself is broken, run the Windows Update Troubleshooter first via Settings, System, Troubleshoot, Other troubleshooters.

Advanced SFC Scannow Fixes

These are the big guns. If you've tried everything above and SFC is still not working, the component store is almost certainly corrupted or there are disk-level issues that need fixing from outside Windows. These steps fix the vast majority of remaining cases.

6

Repair the Windows Image with DISM Advanced

DISM (Deployment Image Servicing and Management) repairs the component store that SFC pulls from. Think of it as fixing SFC's toolbox before asking SFC to do any work. This is the correct fix when SFC says it found problems but couldn't repair them. Microsoft's own repair image documentation recommends running DISM before retrying SFC in exactly this scenario.

  1. Scan the image for corruption
    Open an elevated Command Prompt or PowerShell and run:
    DISM /Online /Cleanup-Image /ScanHealth
    This takes 5 to 10 minutes. It will tell you if the component store is repairable.
  2. Restore the image
    Run:
    DISM /Online /Cleanup-Image /RestoreHealth
    This downloads replacement files from Windows Update if needed. It can take 15 to 25 minutes. Do not close the window or interrupt it. You'll see the percentage tick up slowly.
  3. Reboot and run SFC
    Once DISM finishes (it should end with 'The restore operation completed successfully'), restart the PC. Then run sfc /scannow from an elevated prompt.
  4. Offline DISM with install media (if RestoreHealth fails)
    If DISM can't connect to Windows Update or reports errors, you can point it at a local source. Mount a Windows ISO or insert installation media. Then run:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess
    Replace D: with your media drive letter. The /LimitAccess flag stops DISM from falling back to Windows Update.
DISM reporting 'The restore operation completed successfully' means the component store is healthy. SFC should now be able to find and replace any corrupted system files.
7

Run SFC Against an Offline Windows Installation Advanced

This is for when SFC fails even in Safe Mode and DISM can't fix things from within Windows. You boot into the recovery environment and run SFC against the Windows installation from the outside. It's a bit more involved but it's often the fix that finally works after everything else has failed. I've seen this take three reboots before it stuck on one particularly stubborn machine.

  1. Boot to Advanced Startup
    Go to Start, Power, hold Shift and click Restart. Choose Troubleshoot, then Advanced options, then Command Prompt. Log in with your account credentials when prompted.
  2. Identify your drive letters
    Run:
    wmic logicaldisk get deviceid, volumename, description
    This lists all partitions. Your Windows drive is usually C: or D: in the recovery environment (the recovery environment itself often takes C:, pushing Windows to D:).
  3. Run offline SFC
    Once you know your drive letters, run:
    sfc /scannow /offbootdir=C:\ /offwindir=D:\Windows
    Adjust the drive letters based on what you found in step 2. The /offbootdir is the root of the system partition and /offwindir is the Windows folder on the OS partition.
  4. Restart back into Windows
    Close Command Prompt and click Continue to boot back into Windows normally.
Getting the drive letters wrong in the offline SFC command will cause it to fail or report no issues when there are some. Always check with the wmic command first.
8

Read CBS.log to Find What SFC Can't Fix Medium

When SFC runs but reports it cannot repair certain files, the details are in the CBS log. This file is your best friend for tracking down exactly what's broken. HowToGeek's SFC and DISM guide covers reading this log well if you want more detail.

  1. Open CBS.log
    Navigate to C:\Windows\Logs\CBS\ and open CBS.log in Notepad. It can be large. Use Ctrl + F and search for Cannot repair or could not be repaired.
  2. Note the file paths
    The log will show you the exact path of each file that couldn't be fixed, for example [SR] Cannot repair member file [l:24{12}]'filename.dll' with the full path nearby.
  3. Replace files manually
    Copy the healthy version of each file from a working PC running the same Windows version and build number (check with winver). Replace the corrupted file in the path shown in the log. You may need to take ownership first using takeown /f filepath and grant yourself permissions with icacls filepath /grant administrators:F.
Manual file replacement is fiddly but it works when SFC and DISM both give up. Make sure the replacement file is from an identical Windows build. A file from Windows 11 22H2 won't work on 23H2 and vice versa.
9

Repair Install or Reset Windows (Last Resort) Advanced

If DISM, SFC, CHKDSK, and offline SFC have all failed to fix things, the corruption is deep enough that a repair install is the right call. An in-place upgrade using Windows installation media replaces all system files while keeping your files, apps, and settings intact. It's not a full wipe. That said, back up first. Always.

  1. Download Windows installation media
    Go to the Microsoft website and download the Media Creation Tool for your version of Windows. Create a bootable USB or mount the ISO.
  2. Run setup from within Windows
    Double-click setup.exe on the media. Choose Upgrade this PC now and on the 'What do you want to keep' screen, select Keep personal files and apps.
  3. Let the upgrade complete
    The process takes 30 to 60 minutes and involves several restarts. Do not interrupt it.
  4. Alternative: Reset this PC
    If you'd rather not use external media, go to Settings, System (or Update and Security on Windows 10), Recovery, Reset this PC. Choose Keep my files to preserve personal data while replacing system files.
Reset this PC with 'Remove everything' will wipe your files. Only use that option if you have a full backup or don't need anything on the drive.

Preventing SFC Scannow Not Working in Future

Once you've got SFC working again, here's how to keep it that way. Most of this is just good Windows hygiene.

Keep Windows updated. This is the big one. Servicing Stack Updates (SSUs) are specifically designed to keep the component store and servicing tools healthy. Skipping updates for months is the fastest way to end up back here. Set Windows Update to install updates automatically if you can.

Never hard-shutdown the PC. Pulling the power or holding the power button while Windows is writing to disk is a reliable way to corrupt NTFS metadata. Over time those small corruptions compound into exactly the kind of file system damage that makes SFC fail. If the PC is frozen, try waiting a few minutes before forcing a shutdown.

Leave TrustedInstaller alone. Some 'performance guides' online tell you to disable TrustedInstaller to save memory. It uses almost no resources when idle and disabling it breaks SFC, Windows Update, and system servicing. Not worth it.

Run CHKDSK if the drive starts acting up. Slow file access, occasional read errors, or files going missing are early warning signs. Catching disk problems early with chkdsk /f C: is much easier than dealing with them after they've caused deeper corruption. If you're seeing those signs alongside SFC problems, also check our guide on hard drive health to rule out hardware failure.

Be careful with system optimisers. Tools that 'clean' the registry or 'optimise' system files can quietly corrupt the component store or disable services like TrustedInstaller. If you use one, check what it's actually doing. The free ones in particular tend to be overly aggressive.

Create restore points. Before major software installs or Windows tweaks, create a System Restore point via Control Panel, System, System Protection. If SFC starts failing after a change, you can roll back to a known good state in minutes.

SFC Scannow Not Working: Summary

So to recap: sfc scannow not working is almost always one of five things. No admin rights, TrustedInstaller stopped, a corrupted component store, disk errors, or third-party software getting in the way. Work through the solutions in order. Most people are fixed by Solution 1 (run as admin) or Solution 2 (TrustedInstaller). If those don't work, CHKDSK clears disk errors, Safe Mode removes software interference, and DISM repairs the component store so SFC has something clean to work from. The offline SFC method and CBS.log analysis are there for the stubborn cases. And if all else fails, a repair install replaces everything without wiping your files. You've got options.

Frequently Asked Questions

SFC requires administrator privileges to repair protected files. Right-click Command Prompt or PowerShell and choose 'Run as administrator' before running the command. A standard user account simply does not have the rights to write to protected system locations.

It usually means the component store (WinSxS) is itself corrupted, so SFC has no clean source to copy from. Run DISM /Online /Cleanup-Image /RestoreHealth first to repair the store, then retry sfc /scannow. If specific files still fail, check C:\\Windows\\Logs\\CBS\\CBS.log for the exact file paths.

Yes, and it often works when normal mode fails. Press Win + R, type msconfig, go to the Boot tab, tick Safe boot (Minimal), restart, then run sfc /scannow from an elevated Command Prompt. Safe Mode strips out third-party drivers and services that can block file access.

TrustedInstaller is the Windows Modules Installer service. SFC uses it to take ownership of and replace protected system files. If it is stopped or disabled, SFC cannot complete repairs. Re-enable it in services.msc or run: sc config trustedinstaller start= auto followed by net start trustedinstaller.

Run CHKDSK first. Disk and file-system errors stop SFC from reading or writing files correctly. Schedule it with chkdsk /r C: from an elevated prompt, let it run at the next restart, then run sfc /scannow once Windows boots back up.