Running the sfc /scannow
command in Windows 11 is a powerful way to scan for and repair corrupted system files, which can help fix issues like system instability, crashes, or performance problems.
Here’s a step-by-step guide on how to run sfc /scannow
in Windows 11:
✅ Step-by-Step: How to Run sfc /scannow
in Windows 11
🔧 Method 1: Using Command Prompt (Admin)
- Open Start Menu
- Click the Start button or press the
Win
key.
- Search for Command Prompt
- Type “cmd” in the search bar.
- Run as Administrator
- In the search results, right-click on Command Prompt.
- Select “Run as administrator”.
- If prompted by User Account Control (UAC), click Yes to allow changes.
- Type the Command
- In the Command Prompt window, type:
sfc /scannow
- Press Enter.
- Wait for the Scan to Complete
- The System File Checker will now scan all protected system files.
- This process may take 5–15 minutes, depending on your system speed.
- Check the Results
After completion, you’ll see one of the following messages:
- “Windows Resource Protection did not find any integrity violations.”
→ No corrupted files were found. - “Windows Resource Protection found corrupt files and repaired them.”
→ Corrupted files were found and fixed. - “Windows Resource Protection found corrupt files but could not repair some of them.”
→ Some files couldn’t be repaired — you’ll need to use DISM next.
🛠️ Method 2: Using PowerShell (Admin)
You can also run sfc /scannow
via PowerShell:
- Open Start menu and search for PowerShell.
- Right-click on Windows Terminal (Admin) or PowerShell and choose Run as administrator.
- Type the same command:
sfc /scannow
- Follow the same steps above.
🔄 What to Do If sfc /scannow
Fails to Repair Files
If sfc /scannow
reports that it found corrupt files but couldn’t repair them, follow these steps using the Deployment Imaging Service and Management Tool (DISM):
💡 Run DISM Commands After SFC
- Still in Command Prompt (Admin) or PowerShell (Admin), run the following commands one at a time:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
These commands check the health of the Windows image and attempt to repair it using Windows Update.
- Once DISM completes, run
sfc /scannow
again to verify if the issue is resolved.
📝 Notes
- Make sure you’re logged in with an administrator account.
- Your computer should be connected to the internet, especially when running DISM.
- Don’t interrupt the scan — doing so might leave your system in an unstable state.
🧪 When Should You Use sfc /scannow
?
Use sfc /scannow
when you experience:
- System crashes or frequent errors
- Slow performance or freezing
- Problems after updates
- Corrupted system apps or features
- Blue Screen of Death (BSOD) related to system file corruption
✅ Summary Table
Task | Command |
---|---|
Scan system files | sfc /scannow |
Check Windows image health | DISM /Online /Cleanup-Image /CheckHealth |
Scan for image corruption | DISM /Online /Cleanup-Image /ScanHealth |
Repair Windows image | DISM /Online /Cleanup-Image /RestoreHealth |
Let me know if you’d like a downloadable script or batch file to automate this process!