As discussed there are several ways to troubleshoot various Windows Update issues, But If this happens frequently, it would be a good idea to Reset Windows Update Components to default. This can be useful if your Windows Updates fail to Install, the Update is Stuck while download updates, or Getting Different Update installation Failed with different Error Codes.

Reset Windows Update Components

If you struggling with a different windows Update installation Error on Windows 10 computer, Tried Different Solutions but still the problem not fixed, Here is How To reset each Windows Update component individually to default in Windows 10. You can Either manually Reset Windows update components by modifying the Software Distribution Folder and Cartoot2 folder. Or you can Automatically Reset Windows Update Components With A pre-made .bat file. Let’s Start with Manually Reset Windows Update components.

1 Reset Windows Update Components1.1 Manually Reset Windows Update Components1.2 Reset Software Distribution Folder1.2.1 Reset Catroot2 Folder1.3 Reset Background Intelligent Transfer and Update Service1.4 Reset Winsock1.5 Start the Update Related Services1.6 Automatically Reset Update Components

Note: Before performing any action to reset windows update components its recommend to create a system restore point. This will create a snapshot of certain files and information before critical operations such as updates or software installations, Any changes take place. So That if anything goes wrong after performing modification you can revert back by performing system restore.

Manually Reset Windows Update Components

To manually reset update components First Open Command prompt with Admin rights. You can do this by Click on Start menu search, Type cmd, Right-click on Command prompt from search results and choose Run As Administrator. Now We need to Stop some Windows Update Related Services. Either you can do this by type the following commands one by one Or You can open windows services by press Win + R, Type Services.msc and hit the enter key. Here look for the following services, Right-click and stop these update related services. In the command prompt, type those commands and hit enter for each to Execute the command. net stop bits (To Stop Background Intelligent Transfer Service) net stop wuauserv (To Stop Windows Update service) net stop appidsvc (To Stop Application Identity service) net stop cryptsvc  (To Stop Catalog Database Service) These commands will stop BITS, Windows Update and the Cryptographic service. After Stop these Services now We Need To delete the qmgr*.dat files. ( In order to reset Windows Update components, you will need to delete the files. ) And you Delete the same using command below. Copy the command As it is and past it on Command, Hit the enter key to execute the command.

Reset Software Distribution Folder

Now we are going to Reset The Software distribution folder Where all update files were stored. You can either type command Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak and hit enter key to rename the current software distribution folder to softwaredistribution.bak. Or you can manually rename the folder from C:\Windows\SoftwareDistribution rename it to  SoftwareDistribution.bak

Reset Catroot2 Folder

Again you need to rename the Catroot2 Folder Either type the command Ren %systemroot%\system32\catroot2 catroot2.bak and hit enter to execute the command, Or you can open C:\Windows\System32 Here look for Catroot and Catroot2 Folder and rename them with .bak.

Reset Background Intelligent Transfer and Update Service

Now we need to Reset the BITS service and the Windows Update service to the default security descriptor. To do this, Again Type command Bellow one by one and hit enter key to execute the command.

Nest type command below : After That Type cd /d %windir%\system32 command hit enter.  Now Re-register the BITS files and the Windows Update related dll files.  for this we need to execute commands bellow one by one.

regsvr32.exe atl.dllregsvr32.exe urlmon.dllregsvr32.exe mshtml.dllregsvr32.exe shdocvw.dllregsvr32.exe browseui.dllregsvr32.exe jscript.dllregsvr32.exe vbscript.dllregsvr32.exe scrrun.dllregsvr32.exe msxml.dllregsvr32.exe msxml3.dllregsvr32.exe msxml6.dllregsvr32.exe actxprxy.dllregsvr32.exe softpub.dllregsvr32.exe wintrust.dllregsvr32.exe dssenh.dllregsvr32.exe rsaenh.dllregsvr32.exe gpkcsp.dllregsvr32.exe sccbase.dllregsvr32.exe slbcsp.dllregsvr32.exe cryptdlg.dllregsvr32.exe oleaut32.dllregsvr32.exe ole32.dllregsvr32.exe shell32.dllregsvr32.exe initpki.dllregsvr32.exe wuapi.dllregsvr32.exe wuaueng.dllregsvr32.exe wuaueng1.dllregsvr32.exe wucltui.dllregsvr32.exe wups.dllregsvr32.exe wups2.dllregsvr32.exe wuweb.dllregsvr32.exe qmgr.dllregsvr32.exe qmgrprxy.dllregsvr32.exe wucltux.dllregsvr32.exe muweb.dllregsvr32.exe wuwebv.dll

Reset Winsock

Winsock defines how Windows network software should access network services, especially TCP/IP. Windows OS comes with a Dynamic Link Library (DLL) file called winsock.dll which implements the API and coordinates Windows programs and TCP/IP connections. If Due to some reason, Winsock gets corrupted. you may experience difficulty in establishing a connection to the Internet. Therefore resetting Winsock is a Good solution. And you can do this with a simple command line.

Press Windows key + R, to open run,Type netsh winsock reset and click ok to execute the command.

 

Finally, After doing the above things, you will have to start the update services you had stopped at the beginning. To do this again open the command prompt as administrator and type the following commands below and hit enter key to execute the command. At first type net start bits to start the Background Intelligent Transfer Service. Then type net start wuauserv to start the windows update service. Next type net start appidsvc to start the Application Identity service. at the last type, net start cryptsvc to Start the Catalog Database Service. That’s all Now You have successfully reset windows update components. But, To take effect These changes you made, you must restart windows. Then, Check for the latest windows update.

Automatically Reset Update Components

If you don’t Want to perform these steps manually Then Here we have a Script below copy the same to notepad and save it any name .bat. Then after run the bat file script this will do the above steps automatically for you. And reset windows update components automatically. First, copy it below and paste it into the notepad. Then click on file -> save as -> select all files -> name it ex > updatereset.bat ( note .bat is compulsory ) and save. Then right-click on updatereset.bat and run as administrator. This will the things for you. wait flew sec then restart windows, And check for updates hope this time you didn’t face any Errors while downloading and installing updates.

I hope Reset Windows Update Components will fix all Windows update related issues ( update install stuck, Windows update errors, not downloading updates etc ) for you. Still have any query suggestions About this post feel free to comment below. Also Read:

How To Fix Disk Errors with Check Disk Utility (CHKDSK)Fix wuauserv (Windows update) High CPU usage in Windows 10 3 Ways to Reset Windows 10 Password with/without softwareSolved: “Windows Update Components Must Be Repaired” In Windows 10How to fix windows update when it gets stuck at 0 percent or 100 How to Reset Windows Update Components on windows 10  Updated  - 72