If you’re experiencing issues with Windows Update, such as updates not downloading or installing properly, resetting the Windows Update agent and service to their default settings can often resolve the problem. In this article, we’ll guide you through the steps to repair your Windows Update agent and fix common update errors.
Before attempting to manually reset the Windows Update components, it’s recommended to try the built-in Windows Update Troubleshooter. This tool can automatically detect and fix issues with the Windows Update service.
To access the Windows Update Troubleshooter:
Run the troubleshooter and follow the on-screen instructions. If the troubleshooter detects and fixes any issues, restart your computer and try updating again. If the problem persists, proceed to the next step.
You can use the PSWindowsUpdate PowerShell module to reset the Windows Update agent and service. Here’s how:
Install-Module -Name PSWindowsUpdate
Set-ExecutionPolicy –ExecutionPolicy RemoteSigned -force
Reset-WUComponents –verbose
The Reset-WUComponents command stops services, re-registers DLLs, and cleans up the C:\Windows\SoftwareDistribution folder. The full log of actions is available in the PowerShell console.
If you prefer to manually reset the Windows Update components, follow these steps:
net stop bits net stop wuauserv net stop cryptsvc
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
%Systemroot%\SoftwareDistribution\DataStore %Systemroot%\SoftwareDistribution\Download %Systemroot%\System32\catroot2
To do this, run the following commands: Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak Ren %Systemroot%\SoftwareDistribution\Download Download.bak Ren %Systemroot%\System32\catroot2 catroot2.bak
sc.exe sdset bits D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU) sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)
cd /d %windir%\system32 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 wucltui.dll regsvr32.exe wups.dll regsvr32.exe wups2.dll regsvr32.exe wuweb.dll
netsh winsock reset
After completing these steps, try updating your system again. If the problem persists, you may need to further investigate specific error codes or seek additional support.
By following these methods to repair your Windows Update agent and reset the Windows Update components, you should be able to resolve most common update issues and ensure your system stays up to date.
The New California Legislation California has taken a bold step to address the controversial issue…
Understanding Watch Crystal Replacement Costs Watch crystals, the protective glass covering the watch face, can…
Comparing Calorie Burn: Exercise Bike vs Walking When it comes to weight loss, burning calories…
Understanding Mixed-Use Properties Mixed-use properties are dwellings that serve dual purposes - personal residence and…
Understanding Private GitHub Repositories Private repositories on GitHub are designed to protect sensitive code and…
Creating a Windows 10 Repair Disk Creating a Windows 10 repair disk for another computer…
This website uses cookies.