If the System File Checker (SFC) found corrupt files but was unable to fix them, you can use the Deployment Imaging Service and Management Tool (DISM) to attempt repairs. Here are the steps for both online and offline repairs:
Online Repair
- Open a Command Prompt with administrative privileges. You can do this by searching for "cmd" in the Start menu, right-clicking on Command Prompt, and selecting "Run as administrator."
- Run the following command to repair the Windows image:
DISM /Online /Cleanup-Image /RestoreHealth - After the DISM command completes, run the SFC command again:
sfc /scannow
Offline Repair
If you need to perform an offline repair (for example, if you have a Windows installation media), follow these steps:
- Make sure the installation media is accessible. If you have a WIM file, note its location.
- Open a Command Prompt with administrative privileges.
- Run the following command, replacing
c:\install.wimwith the path to your WIM file:DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:c:\install.wim:1 /LimitAccess - After the DISM command completes, run the SFC command again:
sfc /scannow
These commands should help repair the corrupted files detected by SFC. If you continue to experience issues, you may need to consider additional troubleshooting steps or seek further assistance.
References: