By Emily / Last Updated June 1, 2020

Overview of “SFC scannow There is a system repair pending”

“Hi, all experts. I am trying to fix an issue with Windows registry and services. I tried running sfc command but just got the following error:

‘There Is System Repair Pending Which Requires Reboot To Complete. Restart Windows And Run SFC Again’

Please advice, many thanks!”

Sfc System Repair Pending

The SFC is the abbreviation of System File Checker; it is a utility in Microsoft Windows that allows users to scan for and restore corruption in Windows system files. A pending system repair notification can occur in Windows 10/8/7 or Windows Server 2012/2016/2019, etc during running “sfc/scannow” command. It usually suggests that no system level actions can be performed until the system repair in queue is processed.

7 Solutions to “SFC scannow there is a system repair pending”

Now, in this section, we will share 7 effective solutions to resolving “there is a system repair pending which requires reboot to complete” SFC error. You can try them one by one until this error is fixed.

Solution 1. Restart PC and run SFC again

In general, the system will check for pending system repair files when the SFC is launched and files are remained there from previous system repair. If you have indeed launched a system repair process, you can follow the instruction: restart your computer and run the SFC gain to see if the problem is gone.

If reboot cannot fix the SFC system repair pending issue, try the following solutions.

Solution 2. Delete the pending files through Command Prompt

The pending system repair process is always monitored by the pending.XML files. And these files might have been corrupted already. Thus, you can delete them via Command Prompt to reset the pending processes. Then system won’t check for a pending system repair process.

1. Press Win+R on your keyboard to open Run dialogue. Input “cmd” in the box and press on “Enter”.

2. In the Command Prompt window, execute the below command:

del d:\windows\winsxs\pending.xml: replace d with the actual drive letter from which you need to delete the folder or files.

3. When you see the “operation completed successfully” message, type the following command to modify the SFC scan.

sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=d:\Windows

Finally, check whether “sfc scannow there is a system repair pending” error is fixed.

Solution 3. Revert pending actions via DISM command

The revert option can roll back the changes any update was attempting to apply.

1. Access to an elevated command prompt either in normal or safe mode. If you cannot boot into windows, you may need to run it from the Windows Recovery Console.

2. Execute the command: dism.exe /image:C:\ /cleanup-image /revertpendingactions.

3. Reboot your machine into safe mode.

4. In the safe mode, open an elevated Command Prompt and run the “sfc/scannow” command again.

5. Then reboot the computer in normal mode and execute the DISM with /online option.

Note: how to enter Safe Mode?
Immediately after the computer is powered on or restarted, constantly tap F8 key. After your PC display the hardware information and runs a memory test. The Advanced Boot Option menu will appear. Use the arrow keys to select Safe mode.

Solution 4. Change the BIOS settings to IDE mode

If the “SFC scannow there is a system repair pending” occurs after the Microsoft team changes certain settings on the hard driver bus management driver classes, you can try to solve it by changing the SATA settings to IDE mode.

1. Restart your computer and enter BIOS settings by pressing the BIOS key (F1, F2, Del ESC, F10 or other keys) during the OS initialization.

2. The SATA option is usually located under Onboard devices entry, Integrated Peripherals, or even simply under the Advanced tab. Use

3. Once you find the SATA option, change it from AHCI, RAID, ATA to IDE which is the most reasonable option for the process of system repair.

BIOS IDE

4. Save the changes and exit the BIOS settings.

Note: If the setting was already IDE, you can try changing it to something else.

Solution 5. Update the driver

If the “sfc /scannow there is a system repair pending” error in Windows 10/8/7 or Server is followed by BSODs (Blue Screens of Death), it might because one of your old drivers needs to be updated.

1. Press the Windows Key + R key combination, type in “devmgmt.msc” in the Run dialogue and click “OK”.

2. Expand one of the categories to find the name of your device, then right click it and select “Update Driver Software”.

Update Driver Software

3. Select "Search automatically for updated driver software". If Windows does not find a new driver, look for one on the device manufacturer’s website and follow their instructions.

Solution 6. Delete “RebootPending” key in Windows Registry Editor

Generally, there is a registry key that is responsible for keeping tracks of which programs are in the queue requesting reboot. If one of these programs is removed and lost in this queue, Windows won’t check a system repair pending when such a process does not exist.

1. Press “Windows” key and “R” key together to open Run dialog, then type the “regedit” and click “OK” to continue.

2. Navigate to the key in Registry by expanding the left colume:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Currentversion

3. Under the CurrentVersion key, find the “RebootPending” key and right click it and click on “Permissions”.

4. In the pop-out window, locate your username under the “Group or user names section”. If you fail to locate the username, click on “Add” > “Advanced” > “Find Now”. Then you should be able to see your user account and select it and click OK twice to add it to the list.

5. Select the user name and tick “Full Control” under “Permission for User section”.

6. Then you can right click the “RebootPending” key and click on “Delete”. Confirm in the dialog box to execute the changes.

At last, you can reboot your PC to see if the “sfc scannow there is a system repair pending which requires reboot to complete” error gets fixed.

Solution 7. Run bootrec command in Recovery Environment

Last but not least, you can run bootrec commands from the recovery environment to solve this problem. (Below content is based on Windows 10.)

1. Restart the system, keep pressing F8 to boot into Windows 10 recovery mode

2. Access to “Troubleshoot” > “Advanced Options” > “Command Prompt”.

3. In the elevated command prompt, enter the following commands in turn.

  • bcdboot C:\Windows

  • bootrec /FixMBR

  • bootrec /FixBoot

Then restart your computer and run sfc command to check if it works now. If it is the MBR corruption that leads to the SFC scannow error, you can also use AOMEI Partition Assistant Professional. Its “Rebuild MBR” feature can fix MBR in an easier way.

Rebuild System Disk Mbr

If you cannot boot into Windows, you can also use this software to create a bootable USB stick on a working computer, boot the PC with Scannow error from it, and rebuild MBR in Windows PE mode.

Make Bootable Media

To fix “sfc /scannow there is a system repair pending” in Server 2012 or other Server operating systems, you can try AOMEI Partition Assistant Server.

Summary

This post provides 7 effective methods, one of which is sure to help you fix “SFC scannow there is a system repair pending”. After resolve this problem, you can use AOMEI Partition Assistant Professional to conveniently manage your disk partition, such as extending NTFS boot partition without reboot, splitting a large partition into two smaller ones, migrate OS to SSD, converting system disk between MBR and GPT without deleting partitions, etc.