Original post : sfc - Guide for Windows XP, Vista, 7, 8, 8.1, 10.
sfc /scannow
/scannow
sfc /scanonce
sfc /scanboot
sfc /revert
sfc /purgecache
sfc /cachesize=x
x
sfc /?
cmd
c:\
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows
If System File Checker founds any errors and repairs the issues found, restart your computer before you boot into Windows XP.
If you don't have the installation disc, go to Run sfc in Easy Recovery Essentials. You can burn EasyRE on any CD, DVD or USBs.
c:
If you can't boot into Windows 7, go to Run sfc in Easy Recovery Essentials.
command prompt
If Repair your computer option isn't available, follow Method #1 above.
/sfc scannow
Windows Resource Protection could not perform the requested operation
chkdsk c: /r
Windows Resource Protection could not start the repair service
ren c:\windows\winsxs\pending.xml pending.old
C
sfc /scannow /offbootdir=[c]:\ /offwindir=[c]:\windows