If you encounter the message "There is a system repair pending which requires reboot to complete" when trying to run the System File Checker (SFC), it typically indicates that a previous repair operation is still in progress or has not been completed successfully. Here are steps you can take to resolve this issue:
- Reboot the Computer: Sometimes, simply rebooting the system can clear the pending operations.
- Check for Pending Updates: Ensure that there are no Windows updates pending that might be causing the issue. You can check this in the Windows Update settings.
- Use DISM Tool: If the issue persists, you can try using the DISM tool to repair the Windows image. Open a Command Prompt with administrative privileges and run the following command:
After this command completes, try running SFC again:DISM /Online /Cleanup-Image /RestoreHealthsfc /scannow - Delete Pending.xml: If the problem still exists, you may need to delete the pending.xml file. This file is located in the following directory:
-
C:\Windows\WinSxS\
You can delete it using the Command Prompt with administrative privileges:
After deleting the file, restart your computer and try running SFC again.del C:\Windows\WinSxS\pending.xml -
- Check CBS.log: If you are still having issues, you can check the CBS.log file for more details on what might be causing the problem. This log file is located in
%windir%\Logs\CBS\CBS.log.
If none of these steps resolve the issue, you may need to consider more advanced troubleshooting or seek assistance from Microsoft support.
References: