We are continuously updating our support articles, if any given link doesn’t work please wait for a few days, it will be updated soon

How to reset Windows Update Engine manually and using a script

Apr 20, 2021


Reset Windows update engine manually and using a script, if Windows update shows error or stuck.
reset windows update manually and script

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



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.

Windows update agent reset script

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.

 For Windows 10 users
Check more ways of troubleshooting Windows update issues.

You can also go with Windows 10 repair installation or Windows 10 latest version manual upgrade to fix issues with Windows 10 updates.

More support articles on   Windows 10

Was this post helpful?




Let us know how this went for you through a comment

Please Note
Comments are moderated and will only be made live if they add to the discussion in a constructive way. If you disagree with a point, be polite.

Click to add comment
Submit a Comment

Your email address will not be published. Required fields are marked *