When you try to run the System File Checker, an error message may appear: There is a pending system repair that requires a restart to complete, restart Windows and restart SFC, If you face this problem, then that's what you need to do.
There is a pending system repair that requires a restart to complete
There is a pending system repair that requires a restart to complete the error can be addressed and resolved by following these two methods. We are sure to help you:
- Restart the computer and launch SFC
- Delete the pending.xml file
- Use the revertpendingactions parameter for DISM.
Let us check the procedure involved in the details.
1) Restart the PC and launch SFC
Restart your computer once and let the waiting process finish. See if you can run the System File Checker now. If you can, the question is resolved and it's good for you.
2) Delete the waiting.xml file
If you continue to receive this message, go to the following folder:
C Windows WinSxS
Search a waiting.xml file and rename it. You can even delete it. This will delete the pending tasks and create a new check.
3) Use the revertpendingactions parameter for DISM
If you can not start Windows, start the command prompt in the Recovery Console, and then run the following command:
dism.exe /image:C: /cleanup-image /revertpendingactions
When the process is complete, reboot your system and see if you can run SFC.
PS: If you try to run DISM from the Recovery Console, with the / online option you can see an error – DISM does not support Windows PE maintenance with the / Online option.
Related reading: How to Fix DISM Errors in Windows 10