If you see the message “There is a system repair pending which requires a reboot to complete” when running sfc /scannow in Windows 11, it means the system has detected an unfinished repair operation. This prevents the System File Checker (SFC) from scanning and fixing corrupted files, leaving your PC vulnerable to stability issues and performance problems.

This guide explains how to clear the pending repair state using methods like DISM commands, deleting system cache files, and editing the registry — so you can get SFC running again and keep Windows 11 healthy.

Method 1: Use DISM to Resolve Pending Repairs

The Deployment Image Servicing and Management (DISM) tool can repair system corruption and clear stuck repair tasks that block SFC.

Step 1: Open the Start menu, type cmd, right-click Command Prompt, and select Run as administrator.

img 68ef9aa6f413f

Step 2: Run the following command to repair the Windows image using Windows Update as a source:

DISM.exe /Online /Cleanup-Image /RestoreHealth
img 68ef9aa79cbc9

This command downloads and replaces any damaged system files. The process can take several minutes depending on your PC’s speed and internet connection.

Step 3: If the same error persists, especially after failed updates, run this additional command to revert any unfinished repair actions:

DISM.exe /image:C:\ /cleanup-image /revertpendingactions
img 68ef9aa7d1cb2

💡 Replace C:\ with the drive letter where Windows is installed if different.

Step 4: Restart your PC, then run sfc /scannow again to confirm that the issue is resolved.

Method 2: Delete the Pending.xml File

Windows uses a file called pending.xml inside the WinSxS folder to track ongoing repairs. If this file becomes corrupted, Windows may remain stuck in a “pending repair” state.

Step 1: Open File Explorer and navigate to:

C:\Windows\WinSxS
img 68ef9aa80edd4

Step 2: Find pending.xml and delete it. If you get a permissions error, take ownership of the file or delete it via Command Prompt.

Step 3: Alternatively, open Command Prompt as administrator and run:

del C:\Windows\WinSxS\pending.xml
img 68ef9aa859093

Step 4: Restart your computer and run sfc /scannow again.

If the issue continues, move on to the next method.

Method 3: Remove the RebootPending Registry Key

Windows keeps a RebootPending registry key that tracks unfinished operations requiring a restart. If this key gets stuck, it can block further system repairs.

Step 1: Press Win + R, type regedit, and press Enter to open the Registry Editor. Approve any UAC prompts.

img 68ef9aa89c0f0

Step 2: Navigate to the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
img 68ef9aa985ad2

Step 3: Look for a folder named RebootPending under CurrentVersion.
If it exists, right-click it and choose Delete.

Step 4: Close the Registry Editor and restart your PC. Then, try running sfc /scannow again.

img 68ef9aa9a8666

⚠️ Warning: Editing the Windows Registry can cause system issues if done incorrectly. Always back up the registry or create a restore point before making changes.

Method 4: Update Device Drivers

Outdated or corrupted drivers — especially for storage controllers, chipsets, or graphics cards — can interfere with system repair operations.

Step 1: Press Win + X and select Device Manager.

img 68ef9aa9e1469


Step 2: Expand important sections like Display adapters and Storage controllers.
Step 3: Right-click each device and choose Update driver → Search automatically for drivers.

img 68ef9aaa6a95a


Step 4: Restart your PC and re-run sfc /scannow to check if the issue is resolved.

Keeping your drivers updated helps maintain system stability and prevents repair conflicts.

Method 5: Change SATA Mode in BIOS

Sometimes, the pending repair error occurs due to SATA mode conflicts between Windows and your BIOS. Changing the SATA controller mode can help resolve this.

Step 1: Restart your PC and press the BIOS key (usually Del, F2, F10, or Esc) during startup.
Step 2: Look for SATA Configuration or Storage Mode.
Step 3: If set to AHCI or RAID, try switching to IDE, or vice versa.
Step 4: Save and exit BIOS, then let Windows boot and test SFC again.

⚠️ Note: Changing SATA mode may affect bootability. If Windows fails to load, revert the setting to its previous mode.

Method 6: Rebuild the Master Boot Record (MBR)

A corrupted boot sector can also cause system repair loops. Rebuilding the MBR (Master Boot Record) often fixes stubborn startup and repair issues.

Step 1: Boot into the Windows Recovery Environment (WinRE):

  • Hold Shift and click Restart, or
  • Boot using a Windows installation USB.

Step 2: Navigate to Troubleshoot → Advanced options → Command Prompt.

img 68ef9aaab5230

Step 3: Enter the following commands one by one, pressing Enter after each:

bcdboot C:\Windows
bootrec /FixMBR
bootrec /FixBoot

Replace C:\Windows with your Windows installation path if different.

img 68ef9aab3c656

Step 4: Restart your computer and run sfc /scannow again to verify the fix.

Final Option: Repair Install or Clean Installation

If none of the above methods fix the error, you may be dealing with deep system corruption. In this case, perform a repair install (in-place upgrade) to reinstall Windows without losing files. As a last resort, a clean installation ensures a fresh start and restores full SFC functionality.

Conclusion

The “There is a system repair pending which requires a reboot to complete” message in Windows 11 usually points to unfinished repairs, corrupted files, or registry conflicts.

In most cases, using DISM commands or deleting the pending.xml file resolves the problem quickly. For more persistent cases, removing the RebootPending registry key, updating drivers, or rebuilding the MBR can restore normal system repair operations.

Once fixed, sfc /scannow will work again — allowing you to scan, repair, and maintain a healthy Windows installation.

G
Enjoy Tech2Geek?

Add Tech2Geek as a preferred source on Google to see more of our latest tech articles.

Add Tech2Geek
☕

Support Tech2Geek ❤️

Did this guide help you? If Tech2Geek saves you time or helps you solve a problem, consider buying me a coffee. ☕
Your support helps keep Tech2Geek independent and free.

☕ Buy Me a Coffee
Every coffee makes a difference. Thank you! 🙏

Categorized in: