top of page

How to Reset Windows Update Components on windows 10 (Updated)

Microsoft regularly Push security updates with New Features, Security improvements, and Bug fixes to patch security holes created by third-party apps.  And with Windows 10 Company has made mandatory to download and install the latest Windows updates automatically whenever your machine connects to the Microsoft server. This is a good idea to secure and protect your PC, but Some Times users encounter many common problems while trying to Download and Install updates on windows. There are many solutions to fix these problems but windows Experts suggest to reset windows update components is the most working solution to fix many update related issues.

As discussed there are several ways to troubleshoot various Windows Update related 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, Update Stuck while download updates, Getting Different Update installation Failed with different Error Codes.


Reset Windows Update Components

If you suffering different Update installation Error on Windows 10 computer, Tried Different Solutions but still problem not fixed, Here 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. Lets Start with Manually Reset Windows 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 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.

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

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

rename SoftwareDistribution folder

Reset Catroot2 Folder

Again you need to rename the Catroot2 Folder Either type 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.

command to reset BITS service

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.

re-register Windows Update related dll files
  1. regsvr32.exe atl.dll

  2. regsvr32.exe urlmon.dll

  3. regsvr32.exe mshtml.dll

  4. regsvr32.exe shdocvw.dll

  5. regsvr32.exe browseui.dll

  6. regsvr32.exe jscript.dll

  7. regsvr32.exe vbscript.dll

  8. regsvr32.exe scrrun.dll

  9. regsvr32.exe msxml.dll

  10. regsvr32.exe msxml3.dll

  11. regsvr32.exe msxml6.dll

  12. regsvr32.exe actxprxy.dll

  13. regsvr32.exe softpub.dll

  14. regsvr32.exe wintrust.dll

  15. regsvr32.exe dssenh.dll

  16. regsvr32.exe rsaenh.dll

  17. regsvr32.exe gpkcsp.dll

  18. regsvr32.exe sccbase.dll

  19. regsvr32.exe slbcsp.dll

  20. regsvr32.exe cryptdlg.dll

  21. regsvr32.exe oleaut32.dll

  22. regsvr32.exe ole32.dll

  23. regsvr32.exe shell32.dll

  24. regsvr32.exe initpki.dll

  25. regsvr32.exe wuapi.dll

  26. regsvr32.exe wuaueng.dll

  27. regsvr32.exe wuaueng1.dll

  28. regsvr32.exe wucltui.dll

  29. regsvr32.exe wups.dll

  30. regsvr32.exe wups2.dll

  31. regsvr32.exe wuweb.dll

  32. regsvr32.exe qmgr.dll

  33. regsvr32.exe qmgrprxy.dll

  34. regsvr32.exe wucltux.dll

  35. regsvr32.exe muweb.dll

  36. regsvr32.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 Good solution. And you can do this with a simple command line.

  1. Press Windows key + R, to open run,

  2. Type netsh winsock reset and click ok to execute the command.

Start the Update Related Services

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 command prompt as administrator and type 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 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 bellow 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 below and paste it into 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 Error while the download and install updates.

create update reset bat file
echo Simple Script to Reset / Clear Windows Update
attrib -h -r -s %windir%\system32\catroot2
attrib -h -r -s %windir%\system32\catroot2\*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%\system32\catroot2 catroot2.old
ren %windir%\SoftwareDistribution sold.old
ren "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader" downloader.old
net Start BITS
net start CryptSvc
net start wuauserv
echo Task completed successfully...

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 suggestion About this post feel free to comment below.

Also Read:


Featured Posts
Recent Posts
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page