This site is privately owned and the information provided is free of charge. Learn more here.
The Windows System File Checker, commonly known as SFC, is a built-in tool that comes with every version of Windows operating systems. This tool scans your computer's protected system files and compares them against a stored copy of what those files should look like. If the tool finds that a system file has been corrupted, modified unexpectedly, or deleted, it can restore the correct version from your computer's internal storage.
Free Guide to Finding Shiny Pokémon in GO →
System files are the backbone of how Windows operates. They control everything from how your computer starts up to how programs run and how your hardware communicates with software. When these files become damaged or altered—whether through malware, failed updates, hardware errors, or software conflicts—your computer may experience crashes, freezing, slow performance, or unexpected error messages. According to Microsoft support documentation, approximately 15-20% of common Windows performance issues stem from corrupted system files that users are unaware of.
The SFC tool has been included in Windows since Windows XP and remains largely unchanged in its core function. In Windows 10 and Windows 11, Microsoft integrated it with another tool called the Deployment Image Servicing and Management tool (DISM) to create a more comprehensive repair system. Understanding how SFC works helps you troubleshoot problems yourself without paying for technical support or waiting in service queues.
Practical takeaway: Knowing about SFC means you have a free option to investigate and potentially fix system-level problems before assuming your computer needs expensive repairs or replacement.
Running the SFC tool requires opening the Command Prompt with administrator privileges. Here's the step-by-step process that works on Windows 7, Windows 8, Windows 10, and Windows 11. First, click the Start menu button and type "cmd" into the search box. You'll see "Command Prompt" appear in the results. Right-click on it and select "Run as administrator." When asked if you want to allow this program to make changes, click "Yes."
Learn How to Pay With Credit Cards on Amazon →
Once the Command Prompt window is open, you'll see a black window with a cursor. Type the command exactly as shown: sfc /scannow and then press Enter. The forward slash and the word "scannow" are both essential—the tool won't run if you leave out either part or use backslashes instead.
The scan process typically takes between 15 to 60 minutes depending on your computer's speed and how many files need to be checked. During this time, your computer will work harder than normal, and you may notice it running slower. It's best to run the scan when you don't need to use your computer for other tasks. Don't restart your computer, turn it off, or unplug it during the scan—interrupting the process can cause problems.
The Command Prompt window will display messages as it works. You'll see progress indicators and eventually a summary message. The most common outcomes are: "Windows Resource Protection did not find any integrity violations," meaning your files are healthy; "Windows Resource Protection found corrupt files and successfully repaired them," meaning problems were fixed; or "Windows Resource Protection found corrupt files but was unable to fix some of them," meaning you may need additional steps.
Practical takeaway: You don't need technical knowledge or special software to run SFC—just the ability to type one command and wait for the scan to finish.
When the System File Checker completes its scan, the final message tells you important information about your system's health. Understanding what each result means helps you decide what to do next. The most common result is no integrity violations found, which indicates your system files are in good condition and nothing needs repair. This doesn't mean your computer has no problems—it just means the system file library is intact.
Learn About Osteoporosis Prevention and Management Options →
When SFC finds corrupt files and successfully repairs them, Windows replaces the damaged files with clean copies from its internal store. This is the best-case scenario when problems exist because the tool fixes them automatically. In many cases, users report that problems like random crashes, slow startup times, or error messages improve or disappear after SFC completes this type of repair.
The third possible outcome—finding corrupt files but being unable to fix them—indicates a more serious situation. This typically happens when the internal store of system files is also damaged, or when Windows doesn't have permission to replace certain files even with administrator access. When this occurs, SFC will generate a detailed log file containing information about which files couldn't be repaired. You can find this log by opening Command Prompt and typing: findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\CBS.txt" This creates a readable file on your desktop showing which files have problems.
In situations where SFC cannot fix issues, you may need to use the DISM tool (Deployment Image Servicing and Management), which is a more advanced repair tool that can rebuild Windows system files from online sources. DISM often succeeds where SFC fails because it can download fresh system files directly from Microsoft's servers rather than relying only on local copies.
Practical takeaway: Write down or take a screenshot of the exact message SFC displays when it finishes, as this information helps determine your next steps if problems continue.
The DISM tool represents a more powerful option than standard SFC scanning, particularly when SFC reports it cannot repair files. DISM works by checking your system files against a reference library and can actually download and install replacement files from Microsoft's online servers. This capability makes it more effective when local file copies are damaged beyond what SFC can fix.
Free Guide to Google Classroom Login for Beginners →
Running DISM requires the same administrator Command Prompt access as SFC. Type this command: DISM /Online /Cleanup-Image /RestoreHealth This tells Windows to check your system online and restore any damaged components. The /Online parameter means it works on your current Windows installation rather than an offline image. The /Cleanup-Image parameter focuses on system health, and /RestoreHealth performs the actual repair function.
DISM typically takes longer than SFC—often 30 to 90 minutes—because it downloads files from the internet. Make sure your internet connection is stable and fast before starting. If your connection drops during the process, DISM will pause and resume when connection returns, but this can extend the repair time significantly.
Microsoft recommends running DISM before trying SFC if you suspect serious system file corruption. The reasoning is logical: if DISM restores the internal file library to good condition, then SFC has a reliable reference to work from. Some advanced users run DISM first, then SFC afterward as a verification step to ensure everything was properly restored.
For Windows 11 users, Microsoft also offers the ScanHealth parameter as an intermediate step. You can run DISM /Online /Cleanup-Image /ScanHealth first to get a report without actually making changes. This helps you understand the scope of problems before committing to a full repair that may take over an hour.
Practical takeaway: If SFC reports it cannot fix certain files, DISM is the next logical step—it uses your internet connection to obtain fresh system files directly from Microsoft rather than relying on potentially damaged local copies.
Sometimes running SFC or DISM encounters problems before completion. One common issue is the scan starting but then freezing or getting stuck on a particular percentage. This sometimes happens if your hard drive has physical problems or if background programs are interfering. To prevent this, close all open programs before running the scan. Disable antivirus software temporarily—not permanently, but just for the duration of the scan—since some security programs interfere with Windows scanning tools. Restart your computer completely before beginning the scan, which clears temporary data and stops unnecessary background processes.
Learn How to Measure a V-Belt Guide →
Another issue is receiving an error message saying "Access Denied" even though you opened Command Prompt as administrator. This sometimes occurs if your user account lacks sufficient permissions or if Windows security features are blocking access. Try running Command Prompt with full privileges by right-clicking it, selecting "Run as administrator," and then clicking yes to all permission prompts. If this doesn't work, you may need to temporarily adjust Windows security settings or create a recovery disk to run scans from the Windows Recovery Environment, which has higher access
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.