Issues such as Windows is stuck on the update, or Windows update failing, or Windows update showing an error could be fixed by the Windows update engine reset.
In case you looking for expert’s help go for Windows 10 support by Techoxin.
It is recommended to keep the Windows updates on to patch up the computer, fix bugs, and resolve common problems automatically.
But Windows update won’t work smoothly every time. If you facing issues with Windows updates, resetting the Windows update engine fixes the problem most of the time.
Here’s how to reset the Windows update engine manually and using a script
1. Reset manually
Resetting the Windows update manually requires you to be aware of the Command Prompt, if you are not comfortable with CMD, you should choose the script to reset the Windows update.
First, we will reset the Windows update agent, if that doesn’t work for you proceed to reset Windows update components.
For both of the resets, Windows update agent, and Windows update components, you will need to open the command prompt as administrator.
Reset Windows update agent
net stop wuauserv
rd /s /q %systemroot%\SoftwareDistribution
net start wuauserv
Go to Windows Update, and check if it works.
Reset Windows update components
net stop bits
net stop wuauserv
net stop cryptsvc
Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat”
Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.bak
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
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 wucltux.dll & regsvr32.exe muweb.dll & regsvr32.exe wuwebv.dll
netsh winsock reset
net start bits
net start wuauserv
net start cryptsvc
Check if that works for you.
If you see any error while executing the above commands such as file not found, or if the manual method doesn’t work, go to the script method.
2. Reset using a script
The reset script automates the resetting process. Saves time, and also eliminates human errors.
- Download the Windows update reset script from here, and extract the zip file
- Open the extracted folder, look for ResetWUEng.cmd file, and right click to run it as administrator
- Click Yes on the User account control prompt, and a blue cmd pops up
- Type in Y (don’t press enter), type in number 2, and press enter
Once done you will see the message of completion.
This will reset the Windows update engine.
If your PC doesn’t have major issues, this will fix the problems with the Windows update.
About the script
A script contains one single or a series of commands in plain text, generally written in notepad that is executed by the command line.
If you want to see what commands it has, you can right click on it and open it with notepad or click on edit.
If this doesn’t fix the problem for you, use Windows 10 media creation tool to fix problems with the OS.