How to Fix “There Is a System Repair Pending” Error in Windows
Help Desk Geek
Windows
Windows 11
Windows 10
Windows 8
Windows 7
Windows XP
Reviews
Software
Tools
Products
Tips
How-To
Help Desk
MS Office
Linux
Other
Networking
Virtualization
WordPress
Featured Posts
How to Fix “There Is a System Repair Pending” Error in Windows
If a reboot does not work
Author avatar
by: Arjun Ruparelia
September 9th, 2022 in: How-To
If you’ve encountered the “There is a system repair pending which requires reboot to complete” error, you’re probably trying to run the System File Checker (SFC). The reason for this error is that a previous repair is still incomplete. Until you complete the pending system repair, you won’t be able to run the SFC utility successfully.
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.
Table of Contents
Use DISM
Delete a Few Files
Update Drivers
Tweak Registry Settings
Change SATA Setting in BIOS
Check and Fix System Files with SFC
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.
Press Win + R, type cmd, and press Enter to launch Command Prompt.
Execute the following command:
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:
Press Win + R, type cmd, and press Enter to launch Command Prompt.
Execute the following command:
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:
Press Win + I to launch the Settings app.
Select Windows Update from the left sidebar if you’re running Windows 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.
Select Check for updates.
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:
Press Win + R, type devmgmt.msc, and press Enter to launch the Device Manager.
Expand the list of Display adapters, right-click on the graphics driver, and select Uninstall.
Select Action from the top ribbon and select Scan for hardware changes.
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:
Press Win + R, type regedit, and press Enter to launch the Registry Editor.
Copy and paste the following into the Registry Editor’s navigation bar:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Right-click on CurrentVersion and select Permissions.
Select your username from the list, check the box next to Full control, and select OK to save and exit the window.
Look for a key named RebootPending in the right pane and delete the key. When prompted for confirmation, provide it.
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:
Start by shutting down the PC.
Press the power button again. You’ll need to press the BIOS key quickly. The tricky part is that the BIOS key differs among manufacturers, but it’s typically the Del, Esc, F1, F10, or F12. You might want to check our complete guide on how to enter BIOS if none of the keys worked for you.
Next, you’ll need to find the SATA option in the BIOS firmware. Again, the option may be in a different section based on your BIOS firmware. The best way to find the option is just to explore the firmware and look for words like SATA, IDE, and AHCI. Once you find the option, change the SATA setting to IDE.
Save changes and exit the BIOS, and boot into your PC.
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.
Arjun is a freelance writer based in India. After working as an equity research analyst, Arjun decided to do something that he has been passionate about – tech. He gets excited talking about and explaining how to solve everyday tech problems. His area of expertise is Windows and is a go-to for all things Excel. Read Arjun's Full Bio
Subscribe on YouTube!
Did you enjoy this tip? If so, check out our YouTube channel from our sister site Online Tech Tips. We cover Windows, Mac, software and apps, and have a bunch of troubleshooting tips and how-to videos. Click the button below to subscribe!
Subscribe
Read More Posts:
The 5 Best Humble Trove Games
How to Make Chrome Use Less RAM and CPU
Show and Hide Desktop Icons in GNOME Linux
What Allocation Unit Size Is Best for Drive Formatting
Daily Email Newsletter
Trending Articles
Why Your Outlook Inbox View Changed (And How to Change It Back)
Taskbar Icons Not Showing on Windows? Here’s How to Fix It
Why Your Laptop Won’t Turn On and 9 Ways to Fix
Excel File Won’t Open? 9 Fixes to Try
6 Ways to Fix VirtualBox Result Code: E_FAIL (0x80004005) Error in Windows
Top 3 Ways to Fix “No Space Left on Device” Error in Linux
How to Fix the “Emergency Calls Only” Error on Android
FIX: “Your Device Isn’t Compatible with This Version” on Android
Recent Articles
Chromebook Camera Not Working? 7 Fixes to Try
How to Fix a “Windows SmartScreen can’t be reached right now” Error
How to Disable or Remove Bing From Windows 11
How to Create Flowcharts in PowerPoint
Our Publishing Family
Help Desk Geek is part of the AK Internet Consulting publishing family.
ONLINE TECH TIPS
THE BACK ROOM TECH
SWITCHING TO MAC
Daily Email Newsletter
CONNECT WITH US
About Help Desk Geek
Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.
Read More
Home About Contact Privacy Policy Terms
Copyright © 2008-2023 Help Desk Geek.com, LLC All Rights Reserved