Share this question

Welcome to Teachnovice Q&A, where you can ask questions and receive answers from other members of the community.

This is a collaboratively edited question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.


0 like 0 dislike

Have a problem running "sfc /scannow": (after booting up a corrupted-registry-impaired Windows 7 SP1 Home Premium 64-bit system from a recovery disk):

I Receive the following message:

"There is a system repair pending which requires a reboot to complete. Restart windows and run sfc again".

(of course - when I do exit and reboot as it instructs, it just vicious-cycles right back to the same problem when I go to Command Prompt and try it again).

I also tried running diskpart to be clear on where my bootdir and windir were (both were as I thought on C drive) , and then ran:

 "sfc /scannow /Offbootdir=c:\ /Offwindir=c:\windows

and also just got a list of options (same as if I'd run sfc /?).

Anyone tell me how to resolve this?

asked by  

2 Answers

0 like 0 dislike
Best answer
This work for me.

cannot reset:There is a system repair pending which requires reboot to complete.  Restart Windows and run sfc again.
- Stop "Trusted installer" service
- Del CBS Logs
Take ownship and delete
- del c:\windows\winsxs\pending.xml
answered by  
0 like 0 dislike

Here is how to resolve the error and get sfc /scannow to run again.

Step 1. Open an Elevated Command Prompt

You can try to run this from an elevated command prompt either in normal or safe mode but if required you may need to run it from the Windows Recovery Console.

Step 2. Run the following command

dism.exe /image:C:\ /cleanup-image /revertpendingactions

Step 3. Run sfc /scannow again

Restart the computer and type in the following again from an elevated command prompt

sfc /scannow

answered by