Windows depends on hundreds of critical system files to run smoothly. When these files become corrupted or missing—due to power failures, malware, disk errors, or faulty updates—you may experience crashes, boot problems, slow performance, Windows Update failures, or blue screen errors.
To fix this, Windows includes a built-in repair utility called System File Checker (SFC). The sfc /scannow command scans all protected system files, checks their integrity, and automatically replaces damaged files with clean cached versions—without affecting your personal data or installed apps.
Because it’s safe, effective, and easy to use, SFC is often the first troubleshooting step recommended when Windows starts behaving abnormally. It works on Windows 11, Windows 10, and earlier versions, and can even be run in Safe Mode or offline when Windows fails to boot.
In this guide, you’ll learn all SFC commands, step-by-step methods, offline usage, DISM fixes, and common error solutions to properly repair Windows system files.
What Is SFC /Scannow?
System File Checker (SFC) is a command-line tool developed by Microsoft that verifies the integrity of protected Windows system files. If corrupted files are found, SFC replaces them with a cached copy stored inside Windows.
When Should You Use SFC?
-
Windows won’t boot properly
-
Apps crashing frequently
-
Missing or corrupted DLL files
-
Blue Screen of Death (BSOD)
-
Windows Update failures
-
Explorer.exe or system UI glitches
How SFC /Scannow Works
-
Scans all protected system files
-
Compares them with cached originals
-
Automatically repairs corrupted or missing files
-
Logs results in a system log file
Method 1: Run SFC /Scannow Using Command Prompt (Admin)
Steps
-
Press Windows + S
-
Type Command Prompt
-
Right-click → Run as administrator
-
Enter the command:
-
Press Enter
-
Wait until the scan reaches 100%
⏱️ Time required: 5–30 minutes (depends on system speed)
Method 2: Run SFC from Windows PowerShell
Steps
-
Press Windows + X
-
Select Windows PowerShell (Admin) or Terminal (Admin)
-
Run:
✔ Works exactly the same as Command Prompt
Method 3: Run SFC in Safe Mode
Running SFC in Safe Mode helps if background apps interfere.
Steps
-
Press Windows + R
-
Type
msconfig→ Enter -
Go to Boot tab
-
Check Safe boot
-
Restart PC
-
Open Command Prompt (Admin)
-
Run:
Method 4: Run SFC When Windows Won’t Boot (Offline Scan)
If Windows doesn’t start, use Offline SFC.
Steps
-
Boot into Advanced Startup
-
Hold Shift + Restart
-
-
Go to:
-
Troubleshoot → Advanced options → Command Prompt
-
-
Identify Windows drive:
-
Run SFC offline:
🔁 Replace C: if Windows is installed on another drive.
All SFC Commands Explained
Full System Scan & Repair
Scan Only (No Repair)
Scan a Specific File
Verify a Specific File
Offline Scan (Boot Failure)
Understanding SFC Scan Results
1️⃣ “Windows Resource Protection did not find any integrity violations”
✔ No issues found
2️⃣ “Windows Resource Protection found corrupt files and repaired them”
✔ Issues fixed successfully (restart recommended)
3️⃣ “Windows Resource Protection found corrupt files but was unable to fix some”
⚠ Requires DISM repair
Fix SFC Errors Using DISM (Recommended)
If SFC fails, use DISM before running SFC again.
DISM Commands
After DISM completes, rerun:
View SFC Log File
To check which files were repaired:
The log file will be saved on your desktop.
Common SFC Problems & Fixes
❌ SFC Stuck at 0%, 20%, or 40%
✔ Wait (normal behavior)
✔ Run in Safe Mode
✔ Disable third-party antivirus temporarily
❌ “Windows Resource Protection could not perform the requested operation”
✔ Run CHKDSK:
❌ SFC Keeps Failing
✔ Run DISM
✔ Perform offline SFC
✔ Consider Windows repair install
Best Practices While Running SFC
-
Always run as Administrator
-
Close heavy applications
-
Keep laptop plugged in
-
Restart after scan completes
-
Use DISM if SFC fails
Does SFC Delete Files?
❌ No.
SFC only repairs protected system files and does not affect personal data, apps, or documents.
Supported Windows Versions
-
Windows 11
-
Windows 10
-
Windows 8 / 8.1
-
Windows 7
Final Verdict
The sfc /scannow command is one of the most powerful and safest built-in Windows repair tools. Whether you’re facing startup issues, crashes, or corrupted system files, SFC should always be your first troubleshooting step—followed by DISM if needed.