What a system file check does and when to run one
A system file check is a built-in diagnostic tool that scans your computer's core operating system files and repairs corrupted or missing ones. On Windows, this tool is called the System File Checker (SFC). On Mac, the equivalent is Disk Utility's First Aid feature. Running a system file check can fix problems like random crashes, slow performance, or error messages that point to system file damage — but it will not solve every problem, and it takes time to complete.
You should run a system file check if your computer is crashing without warning, refusing to start up properly, or showing repeated error messages about missing system files. You might also run one after a failed Windows update, after removing stubborn malware, or if your computer suddenly feels unstable. A system file check is not a first step for every problem — if your computer is simply slow, a restart or a disk cleanup usually helps more — but it is a useful step when you suspect actual file corruption rather than a software conflict or a full hard drive.
Key Takeaways
- On Windows, open Command Prompt as administrator and type sfc /scannow to scan and repair system files automatically.
- The scan takes 15 to 60 minutes depending on your drive size and computer speed, and your computer may restart during the process.
- On Mac, restart your computer, hold Command and R to enter Recovery Mode, then open Disk Utility and select First Aid.
- If the scan finds and repairs problems, restart your computer and monitor whether the original issue has stopped.
- If the scan finds problems it cannot repair, or if the problem persists after repair, the issue may be hardware-related or require professional help.
How to run a system file check on Windows
On Windows 10 and Windows 11, the System File Checker tool runs from Command Prompt with administrator privileges. Click the Start menu, type cmd, right-click "Command Prompt" in the results, and select "Run as administrator." If you see a User Account Control prompt asking for permission, click "Yes."
In the Command Prompt window, type sfc /scannow exactly as shown and press Enter. The tool will begin scanning your system files immediately. Do not close the window or interrupt the scan — if your computer restarts during the process, let it restart and the scan will resume automatically. The scan typically takes 15 to 60 minutes depending on how large your drive is and how fast your computer runs.
When the scan finishes, Command Prompt will display one of three messages. If it says "Windows Resource Protection did not find any integrity violations," your system files are intact and the scan found no problems. If it says "Windows Resource Protection found corrupt files and successfully repaired them," the tool has already fixed the issues — restart your computer and test whether your original problem has stopped. If it says "Windows Resource Protection found corrupt files but was unable to fix some of them," you have a more serious problem that may require professional repair or a Windows reinstall.
How to run a system file check on Mac
On Mac, the equivalent tool is Disk Utility's First Aid feature, which checks and repairs your drive's file system. Restart your computer and immediately hold down Command and R as it starts up. Keep holding until you see the Apple logo or a spinning globe — this enters Recovery Mode. The Mac will load a recovery menu with several options.
Click "Disk Utility" in the recovery menu and click "Continue." In the Disk Utility window, select your main drive (usually labeled "Macintosh HD" or your computer's name) from the list on the left. Click the "First Aid" button at the top of the window. Disk Utility will ask for confirmation — click "Run" to begin the scan. Like the Windows tool, this scan takes 15 to 60 minutes and you should not interrupt it.
When First Aid finishes, it will display a message. If it says "The volume appears to be OK," no problems were found. If it says "Repair successful," the tool has fixed file system issues — restart your computer normally and monitor whether your original problem has stopped. If it reports problems it could not repair, your drive may have hardware damage and you should back up your data and contact Apple Support or a Mac repair service.
What to do if the scan finds problems
If either tool reports that it found and repaired problems, restart your computer and use it normally for a few days. Pay attention to whether the original issue — the crashes, the error messages, the startup failures — has actually stopped. Sometimes a single file corruption causes multiple symptoms, so one repair can solve several problems at once.
If the problem persists after the scan and repair, the issue is likely not a corrupted system file. It could be a hardware problem like a failing hard drive, a conflict with a third-party program, or a more complex system issue. In that case, your next step depends on what you are seeing: if your computer is still crashing, try booting into Safe Mode (Windows) or Safe Boot (Mac) to see whether the problem happens without third-party programs loaded. If the problem only happens when you use a specific program, that program may be the source rather than your system files.
When to run a system file check after updates or malware removal
If a Windows update failed or left your computer unstable, running a system file check can repair any files the update damaged or left incomplete. Similarly, if you removed malware using an antivirus tool, the malware may have corrupted system files before it was removed — a file check can catch and repair that damage. In both cases, run the scan as soon as you notice the problem rather than waiting, because using a damaged system can sometimes make the damage worse.
After a malware removal, some people run a system file check as routine maintenance even if the computer seems fine. This is not necessary — malware removal tools are designed to clean up after themselves — but it does not hurt and takes only an hour of your time. If you choose to do this, run it during a time when you do not need your computer, since the scan will slow everything else down while it runs.
Understanding scan results and limitations
A system file check scans only the core operating system files, not your programs, documents, or settings. It will not find viruses, fix a full hard drive, speed up a slow computer, or solve problems caused by outdated drivers or incompatible software. If your computer is slow, a disk cleanup or a restart usually helps more than a file check. If you are seeing error messages about a specific program, that program may need to be reinstalled rather than your system files repaired.
The scan also cannot repair files if your hard drive itself is failing. If Disk Utility on Mac or the Windows tool reports that it found problems but could not repair them, or if the same problems appear again after repair, your drive may have hardware damage. In that case, back up your data immediately and have a technician check your drive, because a failing drive can lose data without warning.
Frequently Asked Questions
Can I use my computer while the system file check is running?
You can, but you should not. The scan uses a lot of your computer's processing power and will make everything else run very slowly. Close other programs and let the scan finish without interruption. If you need to use your computer, run the scan at night or during a time when you can leave it alone.
What if the scan keeps finding the same problems?
If the tool repairs the same files multiple times, your hard drive itself may be failing and corrupting files as they are written. Run the scan once more, and if it finds the same problems again, back up your data and have a technician check your drive's health. A failing drive will eventually lose data.
Do I need to run a system file check regularly as maintenance?
No. Run a system file check only when your computer is having actual problems — crashes, error messages, startup failures — or after a major event like a failed update or malware removal. Running it as routine maintenance is not necessary and wastes your time.
Will a system file check remove my files or programs?
No. A system file check repairs only core operating system files. Your documents, photos, programs, and settings will not be touched or removed. The scan is safe to run and will not delete anything.
What is the difference between sfc /scannow and sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows?
The basic sfc /scannow command scans your current Windows installation. The longer command with offbootdir and offwindir is used only when Windows will not start at all and you are running the scan from a recovery drive. For normal use, sfc /scannow is all you need.