SFC scannow checks protected Windows system files and repairs problems when it can. If Windows features stop working, errors keep returning, or the operating system behaves unpredictably, this built-in command can help establish whether damaged system files are involved.
Run it from an administrator command window after repairing the Windows component store with DISM. The two tools address different parts of Windows: DISM services the repair image, while System File Checker checks the protected files used by your installation.
This guide covers Windows 11 and Windows 10. You do not need a separate SFC download, a registry cleaner, or a paid repair utility. Save your work, connect a laptop to power, and keep an internet connection available for the DISM step.
| Tool or command | Purpose | When to use it |
|---|---|---|
| DISM /RestoreHealth | Checks and repairs the Windows component store. | Before SFC in this repair sequence. |
| sfc /scannow | Checks protected system files and attempts repairs. | After DISM completes successfully. |
| sfc /verifyonly | Checks protected system files without repairing them. | When you specifically want a verification-only check. |
1. Open Command Prompt as an administrator

A normal command window does not provide the permissions needed for these repair commands. Open an elevated window before you begin, rather than trying to work around an access error later.
- Open Start and type Command Prompt or cmd.
- Choose Run as administrator.
- Approve the confirmation prompt. If Windows asks for an administrator account, use an account you are authorized to use.
- Check that the window title includes Administrator.
On Windows 11, an administrator Terminal window can also run the repair commands. This guide uses Command Prompt throughout, including its log-export syntax, so the instructions and screenshots remain consistent.
Before changing anything, note the original symptom and when it occurs. For example, record whether Settings closes immediately, a Windows feature fails, or only one third-party app has a problem. After the repair sequence, repeat that same action to judge whether anything improved.
2. Run DISM before SFC scannow

Start by checking the component store that Windows uses for servicing and repairs. In the administrator Command Prompt, enter this command and press Enter:
DISM.exe /Online /Cleanup-Image /RestoreHealth
/Online targets the Windows installation currently running on your PC. It does not mean that DISM is scanning a website. /Cleanup-Image selects image-servicing operations, and /RestoreHealth checks for component-store corruption and attempts repairs.
DISM normally obtains needed repair content through Windows Update, although an organization’s policies can control the source. Leave the command running until it returns a final result. Its progress indicator can pause; a stationary percentage alone is not proof that the process has failed.
There is no reliable completion time that applies to every PC. Storage speed, the state of the installation, and access to repair files all affect the duration. Avoid launching several copies or restarting simply because progress appears slow.
If DISM reports success, continue with SFC. If it reports an error, record the code and message first. A repair-source error may require a suitable Windows repair source; do not paste a random /Source path from another computer. Adding /LimitAccess prevents Windows Update access and will not help when that is the source you need.
3. Run SFC scannow and let verification finish

In the same administrator window, enter the following command. Include the space between sfc and /scannow:
sfc /scannow
- Press Enter once to start the scan.
- Wait while verification progresses. Leave the command window open.
- Allow verification to reach 100% and wait for the final message.
- Read and save the result before closing the window.
SFC scannow attempts repairs as it checks protected files. It does not require you to approve each individual replacement. If you only intend to check integrity without making repairs, sfc /verifyonly is the separate option for that purpose.
The command is not designed to erase personal documents or photos. Nevertheless, an existing system problem is a good reason to keep important work backed up. Do not use the scan’s completion as a substitute for a backup.
Do not expect SFC to reinstall a broken game, restore a deleted personal file, remove malware, or repair a failing drive. A clean scan narrows one part of the investigation; it is not a complete health certificate for the computer. For file-system or disk errors, see our CHKDSK scan guide to understand the checks and their limits before proceeding.
4. Read the System File Checker results

The final message matters more than the fact that the progress indicator reached 100%. Use the result to decide what to do next instead of running the same command repeatedly without checking its outcome.
| Result reported by SFC | Meaning | Next action |
|---|---|---|
| No integrity violations | No protected-file integrity problems were detected in this scan. | Test the original symptom and investigate other causes if it remains. |
| Corruption repaired | SFC found problems and reports that it fixed them. | Restart, then test the feature or action that failed. |
| Some corruption remains | The repair was incomplete. | Review the logs and the DISM result before choosing another repair method. |
| Requested operation could not be performed | The scan could not finish its work. | Try the SFC scan in Safe Mode and record any repeat failure. |
A successful repair does not prove that every earlier crash had the same cause. Restart and reproduce the original problem. If it no longer occurs, you have a practical result to work from. If it persists, retain the scan message rather than assuming the repair failed.
For a scan that cannot perform its requested operation, you can enter Safe Mode through Shift + Restart > Troubleshoot > Advanced options > Startup Settings > Restart, then choose 4 or F4. Save your work before restarting, and have your BitLocker recovery key available if device encryption is enabled. Once signed in, open an administrator Command Prompt and try sfc /scannow again.
This is a targeted retry for a scan that cannot run properly, not a requirement after every clean result. Restart normally afterward.
5. Check the logs if SFC cannot repair files

If SFC scannow leaves corruption unresolved, its log entries can help identify what happened. The main servicing log is %windir%\Logs\CBS\CBS.log. It contains information from more than one Windows servicing component, so a long file or an isolated warning is not automatically evidence of an unresolved SFC repair.
In an administrator Command Prompt, use this command to extract entries marked for System File Checker into a text file in your temporary folder:
findstr /c:"[SR]" "%windir%\Logs\CBS\CBS.log" > "%TEMP%\sfcdetails.txt"
Then open the extracted file:
notepad "%TEMP%\sfcdetails.txt"
Check the dates and times against the scan you just completed. The file can include entries from earlier runs, and intermediate repair messages need to be read alongside the final outcome. The export overwrites the same temporary text file when you run it again; it does not change the original CBS log.
If DISM also failed, preserve its error code and examine %windir%\Logs\DISM\dism.log. When requesting help, provide the Windows version, original symptom, final SFC message, and relevant recent log entries. Avoid sharing an entire log publicly without checking it for account names, paths, or other identifying information.
Do not take ownership of system folders or replace DLLs with downloads from unrelated sites. If corruption repeatedly returns, investigate the wider cause rather than repeatedly applying the same repair. Persistent Windows damage may require a supported repair installation after a backup; a problem confined to one app may instead require that app’s own repair procedure.