Get Solved All Windows 10 Problems

How to repair corrupted system files in Windows 10, 8.1 and 7

0

Most of the time after install / Uninstall new software applications, Install recent updates or some other reason some of the Windows system files get corrupted. This creates a hole inside the OS and leads to a mess at the end. These system file corruption cause different problems such as Blue Screen error, Startup Errors, Different error codes etc to windows computer. And to deal with such situations Windows 10, 8.1 or 7 has SFC Utility (system file checker Tool) that automatically detects and restores missing corrupted system files with the correct one.

Here this post we know more about system file checker utility and how to Use the System File Checker tool to repair missing or corrupted system files on Windows 10, 8.1 and 7.

System File Checker

The System File Checker or sfc.exe is a utility in Microsoft Windows located in C:\Windows\System32 folder. Running system file checker utility automatically scans and detects missing corrupted system files, and if possible the SFC utility automatically restore them with correct one from a compressed folder located %WinDir%System32\dllcache.

Well with the latest windows 10 SFC Utility is integrated with Windows Resource Protection, which protects registry keys and folders as well as critical system files. So That while running This tool if any changes are detected to a protected system file, the modified file is restored from a cached copy located in the Windows folder itself.

How To Run System File Checker Tool

So any point of time you found Windows not perform well, laptop freezes at startup or getting blue screen error frequently. All these are Symptoms of System File Corruption and running Windows 10 system file checker utility will be a good solution for you. Here how to repair Corrupted system files on Windows 10.

  • From start, menu search for cmd
  • Right click on command prompt and select run as administrator,
  • When command prompt opens type below command and hit enter key to execute the command.

sfc /scannow

 

System file checker utility

You see text: Beginning system scan. This process takes some time. Beginning verification phase of system scan.Verification 2% complete.

Well sometimes while running sfc / scannow command you may encounter error “Windows Resource Protection could not perform the requested Service or Start the Repair Service” This mostly occurs because of its dependency service “Windows Modules Installer service” not started or it’s disabled. And you need to start the service following steps below.

  • Press Windows 10 + R, type services.msc and click ok
  • This will open windows services console,
  • Scroll down and locate Windows Modules Installer service 
  • Right click on Windows Modules Installer service  and select start
  • That’s all close everything and run the sfc /scannow command again.

During the scanning process, SFC command will scan all protected system files in your Windows installation folder and check for any corrupted, missing files. If any files found corrupt or missing it will replace it with a cached copy that is located in a compressed folder at %WinDir%System32\dllcache. Wait until 100% complete the scanning process. Then after restart windows to take effect the changes have made by sfc command.

System File checker Results

Once the scan completes, you will see one of the following messages:

  • Windows Resource Protection did not find any integrity violations: This indicates that your system doesn’t have any missing or corrupted files.
  • Windows Resource Protection could not perform the requested operation: This message means that there was a problem during the scan and an offline scan is required.
  • Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log: You will get this message when SFC was able to fix the problem. Now, you can move on or you can view the logs to get more details.
  • Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log: In this case, you’ll need to repair the corrupted files manually.

How to view the SFC log file

The sfc.exe program writes the details of each verification operation and of each repair operation to the CBS.log file, located in the %windir%\Logs\CBS folder. Each sfc.exe program entry in this file has a [SR] tag. And You can search for [SR] tags to help locate SFC.exe program entries. To perform this kind of search and to redirect the results to a text file, follow these steps:

Open command prompt as administrator and type command below and hit enter key to execute the command.

findstr /c:”[SR]” %windir%\Logs\CBS\CBS.log >”%userprofile%\Desktop\sfcdetails.txt

This will create a file named sfcdetails.txt on user desktop which includes the entries that are logged every time that the SFC.exe program runs on the computer.

Run DISM Tool

You can Directly Run DISM Tool To fix the errors occur during run the system file checker tool To Run DISM tool open command prompt as administrator and type Dism /Online /Cleanup-Image /RestoreHealth hit enter key to execute the command. After complete 100% scanning process Again Run sfc /scannow command again wait until 100% complete. I hope this time you didn’t get any error message, Now Restart windows to take effect the changes have made by SFC utility.

Also Read

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More