To run an SFC (System File Checker) scan, open CMD and type SFC /Scannow.
If you OD won’t boot jump to (2).
If when trying to run an sfc /SCANNOW command it fails saying that a system repair or reboot is pending try this:
1. Boot to recovery disk and go to the command prompt
2. SFC /SCANNOW /OFFBOOTDIR=C: /OFFWINDIR=C:Windows – where offbootdir is the system partition and winbootdir is the primary partition.
If this fails, try this:
3 dism.exe /image:C: /cleanup-image /revertpendingactions
(Note: Step 2 is the known solution for this error – but I have also seen /revertpendingtransactions alot but it has never worked for me.)
3 dism.exe /image:C: /cleanup-image /revertpendingactions
(Note: Step 2 is the known solution for this error – but I have also seen /revertpendingtransactions alot but it has never worked for me.)