Recently, a lot of users reported having an issue with Windows Update. According to these users, they got an error message saying, “Windows Update components must be repaired” after they run the Windows Update troubleshooter. So if you are also facing this issue then you’ve come to the right place as this post will guide you in fixing this problem.
There are various suggestions you can check out to fix this problem – you can try running the Windows Update troubleshooter again but this time, in a Clean Boot State or you could also run System File Checker or the DISM tool to repair corrupted Windows Update files or reset the Windows Update components. For more information, refer to the given options below.
Option 1 – Run the Windows Update troubleshooter in a Clean Boot State
Repairing the “Windows Update components must be repaired” error is not that complicated. One of the things you can try is to run the Windows Update troubleshooter again but this time, in a Clean Boot State. Refer to the steps below to get started.
- Log onto your PC as an administrator.
- Type in MSConfig in the Start Search to open the System Configuration utility.
- From there, go to the General tab and click “Selective startup”.
- Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
- Next, click the Services tab and select the “Hide All Microsoft Services” check box.
- Click Disable all.
- Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
- Now try to run the Windows Update troubleshooter again and see if the error is fixed or not.
Option 2 – Try to run System File Checker
If the Windows Update troubleshooter still failed to fix the problem, you can run System File Checker instead. It is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files. To run the SFC command, follow the steps given below.
- Tap Win + R to launch Run.
- Type in cmd in the field and tap Enter.
- After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
Option 3 – Run the DISM tool
Running the DISM Tool helps in repairing the Windows System Image as well as the Windows Component Store in Windows 10. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
- Open the Command Prompt with admin privileges.
- Then type in the following commands and make sure to hit Enter right after you type each one of them:
- Dism /Online /Cleanup-Image /CheckHealth
- Dism /Online /Cleanup-Image /ScanHealth
- exe /Online /Cleanup-image /Restorehealth
- Do not close the window if the process takes a while as it will probably take a few minutes to finish.
Note: If it happens that the Windows Update client is broken, you need to run the following command to repair it then restart your PC and click on Update once again.
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess
Option 4 – Delete the contents in the Software Distribution folder and Catroot2 folder
You can also delete the contents in both the Software Distribution and Catroot2 folders as it could potentially fix the “Windows Update components must be repaired” error.
- Open the WinX Menu.
- From there, open Command Prompt as admin.
- Then type in the following command – don’t forget to hit Enter right after typing each one of them.
net stop wuauserv
net start cryptSvc
net start bits
net start msiserver
- After entering these commands, it will stop the Windows Update Service, Background Intelligent Transfer Service (BITS), Cryptographic, and the MSI Installer
- Next, go to the C:/Windows/SoftwareDistribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
After resetting the SoftwareDistribution folder, you need to reset the Catroot2 folder to restart the services you just stopped. To do that, follow these steps:
- Type each one of the following commands.
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- After that, exit Command Prompt and restart your computer, and then try to run Windows Update once more.