What System File Checker Does and When to Use It
System File Checker (SFC) is a Windows tool that scans your system files for corruption and replaces damaged ones with working copies. It runs from the command line and takes 15 to 60 minutes depending on your drive size. You use it when Windows behaves oddly — programs crash without reason, you see repeated error messages, or your computer won't start properly — and you want to rule out file corruption before troubleshooting anything else.
The tool does not delete your files, change your settings, or install updates. It only looks for system files that Windows itself needs to run, compares them against a reference copy stored on your computer, and replaces broken ones. If it finds nothing wrong, it tells you so and stops. If it finds problems it can fix, it fixes them. If it finds problems it cannot fix without a restart, it schedules a repair for the next time you start your computer.
System File Checker is built into Windows 10 and Windows 11, so you do not need to download anything. You will need administrator access to your account to run it.
Key Takeaways
- System File Checker scans Windows system files for corruption and replaces damaged ones, but only runs from the command line with administrator rights.
- The scan takes 15 to 60 minutes and does not require you to restart your computer unless it finds problems that need fixing at startup.
- Run the command sfc /scannow in Command Prompt opened as administrator, and let it finish without interrupting it.
- If the scan finds problems, Windows will either fix them immediately or schedule repairs for your next restart.
- If System File Checker cannot fix the problems it finds, you may need to run a deeper scan called DISM or contact support for the specific error message.
Opening Command Prompt as Administrator
System File Checker only works when run as administrator. The fastest way is to use the search box on your taskbar. Click the Windows icon or press the Windows key, type Command Prompt, and you will see the app appear. Right-click it and select Run as administrator. Windows will ask for permission — click Yes.
A black window will open with a blinking cursor. This is Command Prompt. You are now ready to run the scan. Do not close this window or walk away from your computer while the scan runs — if the window closes, the scan stops.
Running the System File Checker Scan
In the Command Prompt window, type exactly this: sfc /scannow and press Enter. The tool will start immediately. You will see text appear saying it is verifying files. This is normal. The scan will show a progress bar and tell you what percentage is complete.
The scan can take anywhere from 15 minutes on a fast drive to an hour on a slower one. Do not interrupt it, restart your computer, or close the Command Prompt window while it runs. If you do, the scan will stop and you will need to start over.
When the scan finishes, you will see one of three messages. The most common is: "Windows Resource Protection did not find any integrity violations." This means your system files are not corrupted and the scan found nothing to fix. You can close Command Prompt and move on.
What Happens If Problems Are Found
If System File Checker finds corrupted files, the message will say: "Windows Resource Protection found corrupt files and successfully repaired them." This is good news — the tool fixed the problems on the spot. You can close Command Prompt. You may or may not need to restart your computer; Windows will tell you if you do.
Less commonly, you will see: "Windows Resource Protection found corrupt files but was unable to fix some of them." This means the tool found problems but cannot repair them without running at startup, before Windows fully loads. Write down or take a screenshot of any error codes shown. Restart your computer and let Windows run the repairs automatically. The scan will run again at startup and fix what it could not fix while Windows was running.
After the restart, run the scan one more time using the same steps to confirm the repairs worked. If the same message appears again, the corruption may be too severe for System File Checker to handle alone, and you will need to try a deeper scan called DISM or contact support with the error code.
Understanding DISM If System File Checker Cannot Fix Everything
DISM (Deployment Image Servicing and Management) is a more powerful tool that can fix problems System File Checker cannot. You only need it if System File Checker tells you it found problems but could not repair them, even after a restart. Do not run DISM unless you have already tried System File Checker twice.
Open Command Prompt as administrator again and type: DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This scan also takes 15 to 60 minutes. It works the same way as System File Checker — it will tell you when it is done and whether it found or fixed anything. If DISM also cannot fix the problems, the corruption is likely beyond what these tools can handle, and you should contact Microsoft support or a technician with the error messages you received.
When System File Checker Is Not the Right Tool
System File Checker only fixes Windows system files, not your personal files, programs, or settings. If your computer is slow, a program keeps crashing, or you have a virus, System File Checker will not solve those problems. It is useful only when you suspect file corruption — when Windows itself is behaving erratically or will not start.
If you are seeing a specific error message, search for that message online before running System File Checker. The error might point to a different problem — a failing hard drive, a bad update, or a program conflict — that System File Checker cannot address. Running the scan will not hurt, but it may not be the solution you need.
Frequently Asked Questions
Will System File Checker delete my files or change my settings?
No. System File Checker only scans and repairs Windows system files. It does not touch your documents, photos, programs, or personal settings. It cannot delete anything or change how your computer is configured.
Do I need to restart my computer before running System File Checker?
No restart is required before running the scan. You can run it anytime. If the scan finds problems that need fixing at startup, Windows will ask you to restart and will do the repairs automatically the next time your computer starts.
What if the scan keeps finding the same problems?
If System File Checker finds and repairs the same corruption multiple times, the problem may be a failing hard drive or a hardware issue rather than a one-time file corruption. Try running DISM as described above. If that also fails to fix it, contact support with the error codes and describe how often the problem returns.
Can I run System File Checker while using my computer?
Yes, but do not close Command Prompt or restart your computer while the scan runs. You can use other programs, but keep the Command Prompt window open and visible. If the window closes, the scan stops and you must start over.
How often should I run System File Checker?
Run it only when you suspect a problem — when Windows is crashing, showing repeated errors, or not starting properly. There is no benefit to running it regularly on a healthy computer. Once a year as preventive maintenance is reasonable if you want to, but it is not necessary.