In most cases, the error is easy to fix and doesn’t require any major troubleshooting. A reboot can resolve the issue, but if it doesn’t, there are other fixes you can try. Below, we discuss the most common ways to address this error.

Use DISM

DISM (Deployment Image Servicing and Management) is a built-in command-line utility on Windows used to service system images. It’s a powerful tool for solving a broad range of issues. In the context of SFC, there are two DISM commands you may want to try. First, you want to use the /restorehealth parameter. If that doesn’t work, you might try using the /revertpendingactions parameter. DISM.exe /Online /Cleanup-Image /Restorehealth Once DISM completes the process, try running a SFC scan and see if it works. If it doesn’t, try executing the following command: DISM.exe /image:C:\ /cleanup-image /revertpendingactions (replace C with the drive letter where Windows is installed) Reboot Windows and rerun SFC. If you can’t boot into windows, you’ll need to launch a Command Prompt window from the Safe Mode or Recovery Environment. If you use the recovery environment, just navigate to Troubleshoot > Advanced Options > Command Prompt.

Delete a Few Files

Start by deleting files that track the system restore process. If the file has become corrupt, it might be causing the “there is a system repair pending” error, and deleting it might just resolve the issue. You need to delete the file named pending.xml. The file is stored in the following path on your computer: C:\Windows\WinSxS\Pending.xml (replace C with the drive letter where Windows is installed) You can delete this file using the Command Prompt like so: del c:\windows\winsxs\pending.xml Once the XML file is deleted, run the following command: sfc /scannow /offbootdir=c:\ /offwindir=d:\windows You might even consider deleting the whole WinSxS folder while you’re at it for some regular PC maintenance. Hopefully, the SFC scan will work fine now.

Update Drivers

A corrupt driver might be the culprit if the SFC problem is accompanied by other signs like a piece of hardware not functioning properly or frequent Blue Screens of Death. The easiest fix is to update the drivers. Windows Update typically ensures your drivers are up to date. If you’ve disabled automatic updates, here is how you can update Windows 10 or 11: If you’re on Windows 10, you’ll need to navigate to Update & Security > Windows Update. However, Microsoft no longer supports Windows 7 and 8, so skip to the following method if you’re using one of these. If Windows finds updates, install them. You might specifically want to pay attention to your graphics driver. If an update isn’t available, go ahead and reinstall it: Doing this will automatically reinstall the latest driver for your graphics device. Try running the SFC scan once you’ve completed updating or reinstalling problematic drivers.

Tweak Registry Settings

Windows uses a “RebootPending” registry key to keep tabs on programs that request a reboot. It’s essentially a queue of programs that require a reboot, and when something changes that queue, it can lead to problems like the “there is a system repair pending” error while running SFC. The easy way to fix the problem is to delete the “RebootPending” key like so: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion Reboot your PC and retry running the SFC command.

Change SATA Setting in BIOS

Some users report configuring SATA as IDE instead of AHCI resolves the problem. The cause seems to be the changes Microsoft made to hard drive bus driver classes. Note that it’s best to try using the other fixes before tinkering with the BIOS settings. If you haven’t had luck with previous methods, give this method a go: Hopefully, that will fix the “SFC /scannow there is a system repair pending” issue.

Check and Fix System Files with SFC

It’s typically easy to fix Windows file system errors with SFC. But it can be frustrating when SFC itself results in an error instead of fixing the one you already have. The good thing is, fixing the SFC error is pretty straightforward. Hopefully, you were able to fix the “There is a system repair pending” error.

How to Fix  There Is a System Repair Pending  Error in Windows - 43How to Fix  There Is a System Repair Pending  Error in Windows - 72How to Fix  There Is a System Repair Pending  Error in Windows - 69How to Fix  There Is a System Repair Pending  Error in Windows - 71How to Fix  There Is a System Repair Pending  Error in Windows - 80How to Fix  There Is a System Repair Pending  Error in Windows - 62How to Fix  There Is a System Repair Pending  Error in Windows - 72How to Fix  There Is a System Repair Pending  Error in Windows - 76How to Fix  There Is a System Repair Pending  Error in Windows - 8