Reset Windows Update Agent

This Script allow reset the Windows Update Agent resolving issues with Windows Update.
4.5 Star
372,047 times
Add to favorites
Windows Update
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Force kill service process
    1 Posts | Last post 8:56 AM
    • Hi Manuel, 
      Could you add a way to kill service that do not want to stop?
      At the moment I often need to get the process id of bits and wuauserv services and then kill them
      taskkill /PID <pid> /F
      Thanks anyway for the good script!
  • W10 Tool Not Working
    2 Posts | Last post Fri 1:55 AM
    • Download and run as admin (by right click and select run as admin) - script runs as far as warning at your own risk... select Y as answer and get a loud beep, no echo of the Y which I type. Same each try. 
      I am desperately needing this, my updates don't take for insider program, always roll back to Version	10.0.16199 Build 16199, the Troubleshooter tool does not work, says integrity suspect or words to that effect, by Troubleshooter I mean TSing anything, network, wifi, anything at all.
    • Hi denbigh,
      It seems to be a serious Windows error.
      Try using this version of the tool:
      I hope it will be solved soon.
  • Download doesn't work
    3 Posts | Last post Fri 1:52 AM
    • Hi,
      also thanks for the script, but for now, the download in english doesn't work and has a result of 0 Byte. Instead the download in spanish works.
    • ...all OK for now, the download in english works again.
      Bye Espressotasse
    • Thanks Espressotasse,
      This seems to be a momentary server error.
      Because it has happened several times, I have switched to github:
  • What is the difference between the "latest version" link and this?
    2 Posts | Last post December 04, 2017
    • I see you have a "LATEST VERSION here" link in the description but going to that, its older than this tool.
      Also, I selected number 9 but could you add a option that clearly states it does everything automatically to clean up and fix the possible issues?
    • Hi riahc3,
      It is true, this version is slightly superior in functionality, however, I hope to overcome that functionality in the other tool in the coming weeks.
      In the help for the tool I try to explain that each type of solution is different. But this, I did not make an option with these characteristics.
  • Windows 10 upgrade clean
    2 Posts | Last post November 26, 2017
    • Thanks for your script Manuel.
      Can be nice to add the clean of the download Windows 10 upgrade 1607, 1703, 1709 in folder install C:\$WINDOWS.~BT and reset the catroot folder C:\Windows\System32\catroot2
      Information :
    • Hi Thierry Chapuisat,
      I'm working on a version that removes the update history from the Regedit.
      The folder C:\$WINDOWS.~BT contains files with relevant information for the support of Windows Update ang others issues.
  • How do I run this silently in the background?
    2 Posts | Last post November 26, 2017
    • I was wondering if there was a way to run this silently in the background without user interaction?
    • Hi The.Capt.Kirk,
      It is possible with the lite version and the help of SFX commands from winrar.
  • improvments/suggestions
    4 Posts | Last post October 08, 2017
    • nice, learned something new. "else if" isn't documented at all for batch/cmd.
      the script could be stripped down by a lot. you use methodes for registry addreg, you could use this on most services printouts and so on. e.g. also the re-register of dlls could be done in 2 lines. (set dlls=xx,yv // for /d %%d in (%dlls%) do ...) and so on. or like:
      if exist, takeown, attrib, ren. - just use one call function.
      call :fileaction "<file>"
      takeown "%~1"
      attrib xyz "%~1"
      and so on.
    • if else is documented.
      type help if in command prompt
    • Nevermind. I misunderstood what you sad. "else if" is not documented in help command. 
    • Thanks KNARZ,
      I have implemented actions with files and folders in others scripts. But, in this script i keep the structure described by microsoft for being the original idea of ​​this script.
  • dont work for xp
    2 Posts | Last post October 08, 2017
    • i get "you need to run this tool as Admin" every time i try to run it.  i'm logged on the only account and it's an admin account.  right does not have run as, as im running XP.  what's the issue?
    • Hi Kev,
      I regret your issue. Windows xp lost support of microsoft. For more:
      I do not see it convenient to work on it anymore.
  • Windows Update Service Failed to Stop
    2 Posts | Last post August 29, 2017
    • Thanks for this wonderful tool, Manuel.
      I'm running Windows 10 Pro and for several weeks I've had the problem of not being able to get updates because Windows couldn't connect to the Update Server reporting it in the same words as many people have received.
      I downloaded your script and it started running, but then it stopped and I received an error, "Failed to stop the Windows Update service." I thought I might make it work if I disabled the service manually and stopped it, but I got the same error. This is driving me crazy. I'd appreciate some advice.
      Thank you & Regards.
    • Hi Galileo2011,
      It's possible that your system has viruses, try disinfected with malwarebytes ( and repair with dism command-line.
  • Updating agent?
    2 Posts | Last post July 31, 2017
    • Very good script but do you have something to update the agent as well because I see that my clients are outdated with errors (wmi) :( It concerns old Win7 x86 with agent version 7.6.7601.256
    • Thanks Michael, this tool has been developed for home users and the wmi error is present in enterprise licenses.
      Please, try with the follow tool:
1 - 10 of 49 Items