Originally Posted by LukeP
I am having the same issue currently mine is scannow is saying that there is a system repair pending so it can't do it. I have run some DISM cleanimage routine to remove the last update since it worked for others, but thus far no luck. Any other ideas would be greatly appreciated.
In the command prompt in recovery console (replace D with whatever letter the recovery console mounts your Windows drive as):
ren D:\Windows\WinSXS\pending.xml D:\Windows\WinSXS\pending.xml.old
ren D:\Windows\WinSXS\reboot.xml D:\Windows\WinSXS\reboot.xml.old
Try to re-run SFC. If it still says pending reboot, try rebooting and go back into Startup Repair, and try to run SFC /scannow again. If it does the same thing, then do the above commands again, and then do the following (again, replace the D drive letter for WIndows with the proper letter if D is not it):
sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=d:\Windows