System Files are crucial for the smooth operation of your Windows computer, and corruption can lead to various problems, including system instability, crashes, and error messages. However, Microsoft provides a built-in tool called the System File Checker (SFC) and DISM command utility that can help diagnose and repair these issues. If you notice Windows PC to behave erratically, slow down, or even crash unexpectedly, here is how to check and Repair Corrupt System Files using SFC utility on windows PC.
Post Contents :-
What is the System File Checker (SFC)?
The System File Checker (SFC) is a command-line utility that scans your Windows system files for corruption or any other unauthorized modifications. If it finds a problem, it attempts to replace the corrupted file with a known good version from a protected cache. Running system file checker can fix many common Windows errors, can help restore Windows features that may have stopped working or prevent Windows from responding.
When Should You Use SFC?
You should consider using the SFC utility if you experience any of the following:
- Frequent system crashes or Blue Screen of Death (BSOD) errors.
- Missing or broken system functionalities.
- Unexpected error messages when running applications.
- Performance issues caused by corrupted files.
How to run System file checker utility
The System File Checker or sfc.exe is a utility in Microsoft Windows located in C: Windows\System32 folder that allows users to scan for and restore corrupt Windows system files. We can say the System File Checker tool scans your computer for any corruption Or changes to system files that would otherwise interfere with the normal operation of your PC. From there, it replaces the file with the correct version to ensure smooth functioning.
- From the start menu Search for cmd,
- Right-click on “Command Prompt” in the search results and select “Run as administrator.”
- Click “Yes” if prompted by User Account Control.
- Type the command sfc /scannow and hit the enter key on the keyboard,
The SFC will now begin scanning your system files. This process can take some time, so be patient and do not close the Command Prompt window. You’ll see a verification progress indicator during the scan.
Once the scan is complete, you’ll see one of the following messages
- Windows Resource Protection did not find any integrity violations.” This means no corrupted system files were found.
- “Windows Resource Protection found corrupt files and successfully repaired them.” This means the SFC found and fixed corrupted files.
- “Windows Resource Protection found corrupt files but was unable to fix some of them.” This means the SFC found corruption but couldn’t repair all the issues. In this case, you may need to try other troubleshooting steps, such as using the Deployment Image Servicing and Management (DISM) tool or performing a system restore.
Use DISM Command if SFC Cannot Repair Files
Sometimes sfc / scannow command does not work as expected the scan results are something like “Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windirLogsCBSCBS.log. In such cases, you need the Deployment Image and Servicing Management (DISM) tool that helps with repair and prepares Windows images. Also, fixes any corruption problems that can prevent the SFC tool from running.
- Again open the command prompt with administrative privileges,
- Type Command DISM /Online /Cleanup-Image /RestoreHealth and hit Enter.
- DISM will check your Windows component store for corruption and automatically fix any problems it finds.
- During this DISM will go to Windows update online and get any missing or corrupt files.
- Once the scanning process completes 100, restart windows to take effect.
Note: you need to check if the problem is resolved. If the issue still persists, run the SFC scan again.
Run SFC in safe mode
A number of users reported running the system file checker utility in Windows safe mode helps them restore corrupted files with the correct one. Note: Safe Mode is a special mode that uses only default drivers and applications. Let’s start Windows 10 in safe mode and perform an SFC scan again.
- Open the Start Menu, then click the Power button.
- Now hold the Shift key and choose the Restart option.
- You’ll see three options available. Select Troubleshoot.
- Navigate to Advanced options > Startup Settings. Click the Restart button.
- When your PC restarts, you’ll see a list of options. Select any version of Safe Mode by pressing the appropriate F key.
- Now again open the command prompt as administrator,
- type command sfc /scannow, and press enter key,
- Let the scanning process complete 100%,
- Once done restart your PC, and let Windows start normally.
- Check if Windows function normally.
Perform a System Restore
If the problem persists, you can use a restore point to revert your system to a previous state when it was functioning correctly.
- Press Windows + S and type Restore Point.
- Select Create a Restore Point and click the System Restore button.
- Follow the on-screen instructions to choose a restore point and restore your system.
As a last resort, if none of the above methods work, you may need to reinstall Windows. Ensure you back up all your important data before proceeding with this step.
To avoid dealing with corrupt system files in the future, follow these best practices:
- Keep Windows Updated: Regularly install updates to ensure your system has the latest security patches and features.
- Use Reliable Antivirus Software: Protect your PC from malware that can damage system files.
- Avoid Sudden Shutdowns: Always shut down your PC properly to prevent file corruption.
- Monitor Disk Health: Use tools like CHKDSK to check for disk errors and address them promptly.
Also read:
- Windows 10 freezes after update? try these solutions to fix it
- System restore did not complete successfully error 0x80070005
- Fix Windows Explorer not responding and crashing continuously
- How to fix Windows 10 black screen with cursor after login
- Solved: No Text displayed in Explorer after Windows 10 update