Reset Windows Update Agent

This Script allow reset the Windows Update Agent resolving issues with Windows Update.
4.6 Star
570,847 times
Add to favorites
Windows Update
E-mail Twitter Digg Facebook
  • Check script
    2 Posts | Last post August 12, 2018
    • Hi 
      you have errors what I find:
      if %allow% EQU Yes goto permission
      but there is no permission label
    • Hi KONIKPK,
      The permission label carries to at line [170](
      You can check the complete code in:
  • Have you seen new DISM commands in Version 1803
    2 Posts | Last post August 12, 2018
    • Congrats on hitting 500K downloads.
      I see that you recently updated it. (Haven't looked closely to see what you've done, yet)
      Have you seen the new DISM commands added to Version 1803
      DISM /Online /Initiate-OSUninstall 
          – Initiates a OS uninstall to take the computer back to the previous installation of windows.
      DISM /Online /Remove-OSUninstall 
          – Removes the OS uninstall capability from the computer. 
      DISM /Online /Get-OSUninstallWindow 
          – Displays the number of days after upgrade during which uninstall can be performed.
      DISM /Online /Set-OSUninstallWindow 
          – Sets the number of days after upgrade during which uninstall can be performed.
      It would be handy if you added at least the OS uninstall and the reset date limit commands to your tool.
      PS: could you make the download button a little bigger, it got lost with the big new button you added to the documentation.
    • Hi Rohn007,
      I'm sorry to be late. I am very interested in knowing more about these new DISM commands and will work to integrate with a minimum of these commands in this tool.
      In case of update this tool, will publish it in my official website
      PS: I reduced the new button by 20% ;)
  • Thank you for this.
    2 Posts | Last post June 08, 2018
    • Manuel, thanks so much for this.
      I had several domain PCs that couldn't update W10 Pro to version 1803. 
      I'd tried several other manual methods and a couple of batch files, but your script is the first one to fix the issue.
    • Hi ericpeacock,
      Thanks you so much for your comment.
  • list of RWUC...Run #2 only?
    2 Posts | Last post June 08, 2018
    • ...I am having trouble updating Win 10 Pro to version 1803...
      This is  what is presented when running the Reset Windows Update Components tool at the Command prompt (run as Admin) for Windows 10: 
      Microsoft Windows 10 [Version: 10.0.16299.371]
      Reset Windows Update Tool.
      This tool reset the Windows Update Components.
          1. Opens the system protection.
          2. Resets the Windows Update Components.
          3. Deletes the temporary files in Windows.
          4. Opens the Internet Explorer options.
          5. Runs Chkdsk on the Windows partition.
          6. Runs the System File Checker tool.
          7. Scans the image for component store corruption.
          8. Checks whether the image has been flagged as corrupted.
          9. Performs repair operations automatically.
          10. Cleans up the superseded components.
          11. Deletes any incorrect registry values.
          12. Repairs/Resets Winsock settings.
          13. Searches Windows updates.
          14. Explores other local solutions.
          15. Explores other online solutions.
          16. Downloads the Diagnostic Tools.
          17. Restarts your PC.
      ?. Help.    0. Close.
      Select an option:
      Thanks Manual F. Gil for posting this script, I hope just running #2 works.
      #2=SoftwareDistribution folder (previously ~9.3GB) is backed up to 
      SoftwareDistribution.bak and the new SoftwareDistribution folder is only ~180MB!
    • Hi LimoHat,
      I hope this tool has been useful for you and your issue has been solved.
  • Mi Salvador
    2 Posts | Last post May 14, 2018
    • I've trying to install an update for months and your script made just what it was needed. As we would say in Spain: te debo una. Many thanks!
    • Hi Gonszo,
      ¡Con mucho gusto! ¡Un agrazo cordial!
  • Works perfectly
    2 Posts | Last post May 14, 2018
    • I used the script in Windows Server 2012R2 that was not updating for about 6 months. It worked perfectly. A real miracle maker !!!!!
    • Thanks so much ppsilva2,
      I really appreciate your comment.
  • I ran the Reset Windows update
    2 Posts | Last post April 21, 2018
    • I ran the Reset Windows update and it indicated that I have to run the same as Administrator but there is no way for me to do so in the updat
    • Hi BXBRACE,
      In this link you can find several ways to run as administrator:
  • Still have pending updates
    2 Posts | Last post February 28, 2018
    • I ran the Reset Windows Update Tool >> option 2, Reset the Windows Update Components.
      I reboot my Windows 10 Pro 64-bit PC and ran Control Panel >> Windows Update troubleshooter.
      The troubleshooter runs and under Download and install pending updates, it states:
      Did you know that there are pending updates for this machine? Choose the "Apply this fix" option below to start the update process in the background immediately.
      Can I assume from this message that the Reset Windows Update Tool, has not worked as expected? TIA
    • Hi Avant,
      If the updates have been installed without problems lately, Windows Update does not present any issue. Otherwise, I recommend repairing the Windows installation.
  • Link wont download any file
    2 Posts | Last post February 28, 2018
    • Heeeeeelp
    • Hi FreeTyler,
      Try download it in
  • Update Orchestrator service reset?
    2 Posts | Last post February 07, 2018
    • Is the new Update Orchestrator service in Windows 10 also reset?
    • Hi Elcap1tan,
      This tool only reset the Windows Update services. The Orchestrator service is not part of these services.
31 - 40 of 91 Items