If you are a Windows 10 user then update errors are common term for you, as Windows 10 system shows different types of update errors when user try to download any available update.
There are lots of causes that can generate Windows 10 update errors some of them are: improper system shutdown, system crashing, power failure while system is working, damaged Windows Registry database and more.
Once any related component of Windows Update gets affected then this service gets fail to work correctly. It may get unable to check for any available updates or fail to download/install them, or sometimes, it cannot be executed at all.
In this blog, you will read about the two different tricks to reset the state of Windows Update and its components in Windows 10.
Trick 1: Run the built-in Windows Update troubleshooter
Step 1: Go to the Start menu and type: troubleshooting hit Enter.
Step 2: Select or click on the “Fix problems with Windows Update” present under the System and Security section
Step 3: Choose the “Run as administrator” from the Troubleshooter’s dialog and complete the Windows Update troubleshooter.
Trick 2: Reset Components of Update Service
If you are unable to run Windows Update then you need to reset and re-register all components of the service. Simply apply the below-given steps
Step 1: Open the command prompt with administrator privilege.
Step 2: Now you need to enter below-given commands one by one:
sc stop bits
sc stop wuauserv
sc stop appidsvc
sc stop cryptsvc
After applying the above given commands you will stop a number of services related to Windows Update. Now you need to re-register components, apply the below given steps:
Under Windows Update services there are lots of DLL files are used to complete the process, so it is necessary that all the related files should be registered properly. As in case a single DLL file not registered properly then it can cause completely random issues. So, in order to register all of them properly, type below-given commands in an elevated command prompt:
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s wudriver.dll
After it, it is also suggested to reset your network configuration. You might also need to re-configure the proxy server and the IP configuration if you are using any special settings. Simply run the below given commands:
netsh winsock reset
netsh winsock reset proxy
Also, delete the Windows Update cache files, this will allow the operating system to re-download the required updates. Apply the following commands:
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
That’s all, these given tricks are able to fix Windows Update in Windows 10. Now you need to start the services you stopped earlier. Run below given commands to activate the update service:
sc start bits
sc start wuauserv
sc start appidsvc
sc start cryptsvc
Trick 3: Create & Run Windows Update Reset Script
If you are still unable to fix Windows Update issues then you can take the help of a script. Microsoft’s engineers wrote a simple script that able to fix a lot of problems with Windows Update. This batch script is able to resets all Windows Update components, like SoftwareDistribution folder, BTS service, Cryptographic Services, etc.
So, you need to do is; run the script and all the issues will get resolved automatically. This also suitable for the previous versions of Windows operating system, so you can use this batch script to fix Windows update service issues in any version of Windows.
You can simply create this script by yourself without having any professional knowledge, in order to create Windows Update Reset Script, follow these steps:
Step 1: Open Notepad and paste the below given text into Notepad:
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…
Step 2: After pasting the complete text, now save the file as “WUReset.bat”
Step 3: Now you have to run the created script, to do this: right click on the created script and go to Run as Administrator
So, it is hoped that after applying the above-discussed solution your system’s update service will start working. It is suggested to apply them carefully, as a single mistake during resolving the issue may generate a new issue.
If your system is displaying any kind of errors after fixing Windows updater then you need a professional PC repair tool to fix them. You may face issues like slow computer system, registry error, dll error or more, with the help of a professional PC repair tool you can deal with all kind of Windows computer/laptop related errors.