Windows 7:
SFC /SCANNOW Command – System File Checker
Information
The sfc /scannow command (System File Checker)
scans the integrity of all protected Windows 7 system files
and replaces incorrect corrupted, changed/modified, or damaged versions with
the correct versions if possible.
Tip
If you get the Windows Resource Protection Could Not
Start the Repair Service error when trying to run SFC, then make sure
that the Windows Modules Installer service is enabled, click
on Start, and set to Manual.
Services-Start or Disable
OR
Copy and paste the command below in the elevated command prompt, and press
Enter. After the Windows Modules Installer service has
started, try running the SFC command again
net start trustedinstaller
Note
The KB3022345, KB3035583, and KB3068708 updates
will cause SFC to give you a false mismatch message in SFC for files related to
these updates.
You can safely ignore these results in your SFC details since it will not
affect SFC from being able to repair other system files.
Warning
Be aware that if you have modified your system files as in
theming explorer/system files, running sfc /scannow will
revert the system files such as explorer.exe back to it’s default state. Make
the appropriate backups of your system files that you have modified for theming
if you wish to save them before running sfc /scannow.
Some troubleshooting steps are below:
1. Login
as an administrator
2. Open
command (run as administrator)
3. Type
sfc /SCANNOW (For
scan and repair system files)
4. Type sfc /VERIFYONLY (To Only
Verify if the System Files are Corrupted)
5.
Findstr /c:”[SR]” %windir%\Logs\CBS\CBS.log> “C:\sfcdetails.txt”
Note
When SFC runs, it logs it’s actions into the C:\Windows\Logs\CBS\CBS.log.
The steps in this option will show you how to see only the specific SFC entries
with the [SR] tags in this CBS.log. This can be helpful to
show you what files SFC could not fix automatically if you wanted to try and manually
replace them.
6. Open
the sfcdetails.txt file on your desktop to see the SFC scan details in the
CBS.LOG.
7.
You can safely delete the sfcdetails.txt file afterwards if
you like.