SFC Scannow Windows 11: Step-by-Step Repair Guide
In this article
Running sfc /scannow in Windows 11 checks your system files for corruption and repairs them automatically. It's the first thing to try when Windows behaves oddly, crashes, or throws errors about missing DLLs. You don't need to install anything: the tool is built in. Just open an elevated Command Prompt, type the command, and let it finish. The whole scan usually takes 5–15 minutes. Before you start, make sure you're signed in as an administrator and have saved your work, because the scan can briefly slow the PC and may require a restart afterward.
What You'll Need
- A Windows 11 PC with an administrator account (standard accounts can't run the scan).
- About 15–30 minutes of free time, depending on your drive speed.
- No extra downloads: sfc is part of Windows.
Step-by-Step
- Open an elevated Command Prompt. Press Win + S, type cmd or Command Prompt, then right-click the result and choose Run as administrator. If User Account Control asks for permission, click Yes. The window title should say Administrator: Command Prompt. (Menu labels can differ slightly by Windows version and region.)
- Type the command exactly. At the prompt, type
sfc /scannowand press Enter. Note the space between sfc and the slash. Case doesn't matter, but the slash does. - Wait for the scan to reach 100%. You'll see a progress line like Verifying 34% complete. Don't close the window, even if it seems stuck at a low percentage for several minutes. The scan reads protected system files, so it can pause while it works.
- Read the result message. When it finishes, one of these appears:
- Windows Resource Protection did not find any integrity violations. Nothing was corrupted.
- Windows Resource Protection found corrupt files and successfully repaired them. The scan fixed the problem.
- Windows Resource Protection found corrupt files but was unable to fix some of them. You'll need the follow-up steps in Troubleshooting below.
- Restart your PC. Even if no repairs were made, a restart clears the temporary state the scan used and confirms whether the original problem is gone.
- Test the original issue. Open the app or feature that was failing. If it still misbehaves, run the scan once more, then move on to the Troubleshooting section.
Common Mistakes
- Running it in a normal window. Without administrator rights, the scan exits almost immediately with an error about needing elevation. Always use Run as administrator.
- Typing the command wrong.
sfc/scannow(no space) orsfc -scannow(hyphen) fails. The correct form issfc /scannow. - Closing the window early. If you close it at 20%, nothing is repaired and you'll have to start over. Let it reach 100%.
- Expecting it to fix everything. SFC repairs protected Windows files only. It won't fix a failing hard drive, a bad driver, a corrupted user profile, or malware. Those need different tools.
- Ignoring the “unable to fix” message. That result means the repair store itself is damaged. Running SFC again won't help until you repair the store with DISM (see below).
Tips
- Run the scan from Safe Mode if it keeps failing in normal mode. Safe Mode loads fewer drivers, so the scan has less to fight with.
- Check free disk space first. The scan needs room to write logs and temporary files; under a few hundred MB free, it may fail.
- After a successful repair, run
DISM /Online /Cleanup-Image /RestoreHealthin the same elevated window. DISM repairs the component store that SFC draws from, so the two tools complement each other. - The scan writes a detailed log to
%windir%\Logs\CBS\CBS.log. You can open it in Notepad to see exactly which files were replaced, though it's very verbose. - If you use a third-party antivirus, it can occasionally lock system files and cause a false “unable to fix” result. Temporarily disabling real-time protection during the scan is an option, but re-enable it immediately afterward.
Troubleshooting
“You must be an administrator running a console session” error. You opened Command Prompt without elevation. Close it and repeat step 1, choosing Run as administrator.
“Windows Resource Protection could not perform the requested operation.” This usually means another process is using the files SFC needs. Restart the PC, then run the scan again before opening any other apps.
Scan stops at a fixed percentage. Let it sit for at least 15 minutes; large drives can pause for a long time. If it never moves, restart and try again in Safe Mode.
“Found corrupt files but was unable to fix some of them.” Repair the component store first: in the same elevated window, run DISM /Online /Cleanup-Image /RestoreHealth, wait for it to finish, then run sfc /scannow again. DISM needs an internet connection to pull clean files from Windows Update.
DISM also fails. Check that Windows Update is working and that you have a stable connection. If DISM reports a specific error, note the code and search Microsoft's support site for it. As a last resort, an in-place upgrade (running Windows Setup from a mounted ISO and choosing Keep personal files and apps) repairs system files without deleting your data.
The problem returns after a restart. SFC fixed files, but something is corrupting them again. Check for disk errors with chkdsk /f (run from an elevated prompt, then restart), scan for malware with Microsoft Defender, and review recently installed drivers or updates.
Frequently Asked Questions
Does SFC /scannow delete my files or apps?
No. It only replaces protected Windows system files. Your documents, photos, and installed programs are untouched.
How long does the scan take?
Typically 5–15 minutes on a modern SSD, longer on older hard drives. A slow scan is not a sign of failure.
Can I use PowerShell instead of Command Prompt?
Yes. Open PowerShell as administrator and run the same command, sfc /scannow. The results are identical.
Do I need to run DISM before or after SFC?
Run SFC first. If it reports unfixable corruption, run DISM to repair the component store, then run SFC again.
Will SFC fix a blue screen or boot loop?
Sometimes, if the cause is a corrupted system file. If Windows won't boot, run the scan from the Windows Recovery Environment's command prompt instead.
Is it safe to run SFC repeatedly?
Yes. Running it more than once is harmless; the second pass usually reports no violations if the first repaired everything.