Windows Update is a crucial aspect of maintaining a healthy and secure operating system. Regular updates ensure that your system is equipped with the latest features, security patches, and performance improvements. However, sometimes Windows Update can encounter issues that prevent it from functioning correctly, leading to errors like Windows Update fails to install or stuck download, Windows update won’t install. Reset Windows Update Components One of the most effective troubleshooting methods help resolve such issues. Let’s explore what is Windows Update Components and how resetting Windows Update components to help you resolve update-related problems on your Windows system.
Post Contents :-
What is Windows Update Components
Windows Update Components include various services, folders, and registry keys are responsible for downloading, installing, and managing updates on your Windows system. Some key components include:
- Windows Update Service: Manages the communication between your computer and the update servers.
- Background Intelligent Transfer Service (BITS): Transfers the update files in the background using idle network bandwidth.
- Cryptographic service (cryptsvc) that verifies the digital signatures of the update files.
- MSI Installer service (msiserver) that installs the update packages.
- Software Distribution Folder that stores the downloaded update files and their metadata.
- Catroot2 folder that stores the signatures of the update files.
- DLL files that are associated with Windows Update and its components.
You should consider, Reset Windows Update Components If the Windows system Fails to install or download updates or error messages during the update process (e.g., “Windows Update Error 0x80070002”). If you notice High CPU or memory usage by Windows Update-related processes, or Windows updates won’t install on your device.
How to Reset Windows Update Components
Note: Before performing any action to reset Windows update components its recommended 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 perform system restore.
Press Win + R, type “services.msc,” and hit Enter. Locate the Windows Update service, right-click on it, and select “Stop.”
Similarly, stop the Background Intelligent Transfer Service (BITS) and Cryptographic services.
Now press Windows key + E to open File Explorer and Navigate to C:\Windows and locate the SoftwareDistribution and Catroot2 folders. Rename these folders to “SoftwareDistribution.old” and “Catroot2.old,” respectively.
Open Command Prompt as an administrator and run the following commands sequentially:
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 msxml.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 gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
Once these commands are executed, restart your computer.
Check if resetting the Windows update component helps
After resetting the Windows Update components try install Windows updates again to verify that the process was successful and ensure that Windows Update is functioning correctly.
- Open Settings > Update & Security > Windows Update and click on “Check for updates” to see if any updates are available.
- Once updates are downloaded, monitor the installation process to ensure that it completes without errors.
- After updates are installed, check the update history to confirm that all updates were successfully applied.
Additional Tips and Troubleshooting
- Run Windows Update Troubleshooter: Windows includes a built-in troubleshooter specifically designed to diagnose and fix Windows Update problems. Run the troubleshooter to identify any remaining issues.
- Check Disk Space: Ensure that your system has an adequate amount of free disk space available for downloading and installing updates.
- Review Event Viewer Logs: Examine the Event Viewer logs for any error messages or events related to Windows Update that may provide insight into the underlying issue.
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 below and paste it to the notepad
Then click on file -> save as -> select all files -> name it > updatereset.bat ( note .bat is compulsory ) and save.
Then right-click on updatereset.bat and run as administrator. This will do things for you.
Wait a few seconds then restart Windows, now check for updates hope this time you didn’t face any Errors while downloading and installing updates.
@ECHO OFF
echo Simple Script to Reset / Clear Windows Update
echo.
PAUSE
echo.
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.
echo Task completed successfully…
echo.
PAUSE
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.