Original post : sfc - Guide for Windows XP, Vista, 7, 8, 8.1, 10.
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.
If you can't boot into Windows 7, go to Run sfc in Easy Recovery Essentials.
If Repair your computer option isn't available, follow Method #1 above.
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
sfc /scannow /offbootdir=[c]:\ /offwindir=[c]:\windows