If you rely on SFC to repair those corrupt system files found by CHKDSK, sometimes its response is ‘some files could not be repaired’.
Now there is a command that seems to help restore you system to health (and funnily enough, one parameter set is /restorehealth)
dism /online /cleanup-image /restorehealth
If /RestoreHealth is not an option – for older OS – try the
dism /online /cleanup-image /ScanHealth
If you are stuck being unable to do a scan or other repair do to ‘pending actions’ message – and rebooting is not helping – then this may be the command for you.
dism /image:d:\ /cleanup-image /RevertPendingActions
To work on the current running OS, use /Online instead of the /Image parameter.