Monday, July 22, 2019

How to Fix – “Windows Update Components Must Be Repaired” Error

Screenshot_9.png

The Windows Update is a critical element of Windows Operating System which keeps your system secure as these updates are created to fix the security violations and bugs created by third-party programs.

However, often you may get errors while updating Windows and it can indeed be very frustrating to constantly face this issue.

Screenshot_5.png

The reason why you might be getting this error in Windows 10 is because your Windows Update components are not configured correctly. 

You have to reset the Windows Update component to its default state in order to resolve the issue of stuck updates at once in your Windows 10 computer. 

In this guide, we will take you through the two methods of resting your Windows Update Components. 

How to reset Windows Update Component using Windows Update Troubleshooter Tool

  • Download and install the Windows Update Troubleshooter Tool for your Windows 10 PC
  • Double click on the file  to launch the troubleshooter and select “Windows update” and click on “next”
Screenshot_10.png
  • Click on “Run the Windows 10 Windows Update  Troubleshooter
Screenshot_14.png
  • Click on “Next”
Screenshot_11.png
  • Click on “Apply this fix”
Screenshot_12.png
  • Finally, you can see all the fixed issues. 
Screenshot_13.png

If the error is not fixed with the troubleshooter, then you have to go for the second option which is resetting the Windows Update Component manually.

How to Reset the Windows Update Components Manually using Command Prompt

Resting Windows Update Components manually comprises of many steps. You just need to follow the instructions step-by-step.

Here is what you need to do:

  • Click on the  “Start” button and type “CMD”
  • From the results, right-click on “Command Prompt” and select “Run as administrator”
Screenshot_1.png
Screenshot_2.png
  • In the command prompt, type in the following commands one by one to stop all the services needs by Windows to install new updates. Press enter after each command

net stop bits

net stop wuauserv

net stop appidsvc

net stop cryptsvc

Screenshot_6.png
  • Type the following lines of command and hit enter again to delete the qmgr*.dat file.

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

  • To rename the SoftwareDistribution and catroot2 folder, type in the following command and hit enter after each.

Ren %systemroot%\SoftwareDistribution SoftwareDistribution.old

Ren %systemroot%\system32\catroot2 catroot2.old

  • Now in order to reset the BITS service and Windows Update Service to the default security descriptor, type in the following command and hit enter after each.

exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

  • Once done type in the following command and press enter.

cd /d %windir%\system32

  • To re-register BITS files and related DLL files, you have to type in the following commands and press enter after each one.

regsvr32.exe atl.dll

regsvr32.exe urlmon.dll

regsvr32.exe mshtml.dll

regsvr32.exe shdocvw.dll

regsvr32.exe browseui.dll

regsvr32.exe jscript.dll

regsvr32.exe vbscript.dll

regsvr32.exe scrrun.dll

regsvr32.exe msxml.dll

regsvr32.exe msxml3.dll

regsvr32.exe msxml6.dll

regsvr32.exe actxprxy.dll

regsvr32.exe softpub.dll

regsvr32.exe wintrust.dll

regsvr32.exe dssenh.dll

regsvr32.exe rsaenh.dll

regsvr32.exe gpkcsp.dll

regsvr32.exe sccbase.dll

regsvr32.exe slbcsp.dll

regsvr32.exe cryptdlg.dll

regsvr32.exe oleaut32.dll

regsvr32.exe ole32.dll

regsvr32.exe shell32.dll

regsvr32.exe initpki.dll

regsvr32.exe wuapi.dll

regsvr32.exe wuaueng.dll

regsvr32.exe wuaueng1.dll

regsvr32.exe wucltui.dll

regsvr32.exe wups.dll

regsvr32.exe wups2.dll

regsvr32.exe wuweb.dll

regsvr32.exe qmgr.dll

regsvr32.exe qmgrprxy.dll

regsvr32.exe wucltux.dll

regsvr32.exe muweb.dll

regsvr32.exe wuwebv.dll

  • Press Windows Key+R and type in regedit.exe to open the Registry Editor
Screenshot_7.png
  • Navigate to “HKEY_LOCAL_MACHINE”----“COMPONENTS”
  • Delete these there entries- PendingXmlIdentifier, PendingXmlIdentifier, and AdvancedInstallersNeedResolving
  • Now, restart your PC and open the command prompt again.
  • Type in the following command to reset the Winsock and hit enter- 

netshwinsockreset

  • To restart Windows update services (BITS, WUAUSERV, APPIDSVC AND CRYPTSVC) again which we had stopped manually before, type in the following commands one by one and press enter.

net start bits

net start wuauserv

net start appidsvc

net start cryptsvc

  • Finally, restart your system and check for windows update. 

To check for the Windows Updates navigate to

Settings----Update and Security----Windows updates----Check updates

Hopefully, you will not get any errors this time for your Windows 10 device.

RECENT POSTS