
Information
System File Checker (SFC) checks that all Vista system files are where they should be as they were by default and not corrupted, changed, or damaged. This will show you how to verify and repair the integrity of Vista system files with the System File Checker (SFC) command codes.
1. Open a
elevated command prompt.
2. In the elevated command prompt, type the command that you want to do in
bold below in steps A to E to run System File Check.
A) sfc /scannow - Scans the integrity of all protected system files and repairs the system files if needed. (See screenshot below)
NOTE: Restores Vista's original setup of system files. (EX: Fonts, wallpapers, System32 files, etc.)
B) sfc /verifyonly - Scans and only verifies the integrity of all proteced system files only. (See screenshot below)
NOTE: If it finds anything like in the screenshot below boxed in red at the bottom, you should run step A to see if it can fix it. See how to read the CBS log above for details on the SFC scan results.
C) sfc /scanfile=(full path of file) - Scans the integrity of the chosen system file and repairs it if needed.
EX: sfc /scanfile=C:\Windows\System32\kernel32.dll
D) sfc /verifyfile=(full path of file) - Scans and only verifies the integrity of the chosen system file.
EX: sfc /verifyfile=C:\Windows\System32\kernel32.dll
E) sfc /? - For a list of all sfc command codes with description. (see screenshot below)
3. Press
Enter.
NOTE: It may take a while to finish.
4. Close the elevated command prompt when it finishes.
5. If you got a message to restart the computer in the command prompt, then restart the computer to finish the repair.

Note
If SFC could not fix something, then run the command again to see if it may be able to the next time. Sometimes it may take running the
sfc /scannow command 3 times restarting the PC after each time to completely fix everything that it's able to.
If not, then download and run the 32-bit (x86) or 64-bit (x64)
System Update Readiness Tool for your same installed
32-bit or 64-bit Vista, restart the PC afterwards, and try the
sfc /scannow command again.
If still not, then you can attempt to run a
System Restore using a restore point dated before the bad file occured to fix it. You may need to repeat doing a System Restore until you find a older restore point that may work.
If still not, then you can use the steps in the yellow TIP box at the top of the tutorial to manually replace the files that SFC could not fix.