Reset Windows Update Agent

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

  • Thanks so much
    2 Posts | Last post January 16, 2019
    • Manuel, Thanks so much for this useful script.
      I searched many script, but all those script are time waster.
      Thanks again for this useful script. :)
    • Hi Mike, thanks so much :)
  • automation
    3 Posts | Last post December 01, 2018
    • Is it possible to automate this to perform the 'fix' without needing to require user input?  Trying to deploy a fix silently without involving the users.
    • Hi Shadimar,
      You can automatizate also functions for command line in the latest versions. If you want, you can download this version in the page
      For more information:
    • oh goood
  • Fail to stop cyrptographic service
    3 Posts | Last post December 01, 2018
    • I am attempting to use the tool to get past a Windows Error 0x800f0922 preventing update (advised on Microsoft Support). When running the program to  reset the Windows Update components, it states that it "Failed to stop the cryptographic service" and the only option is to exit out. I've tried stopping the firewall since Zone Alarm seems to use this service, to no avail. I'm on a home system with Windows 10 (free upgrade from 7). Any work around to that error?
    • Hi Patbus,
      I recommend reboot your PC in Safe Mode and run this tool again.
      If the issue persist, follow the steps that appear in the following link:
      I hope this helpful you.
    • thanks
  • Error windows update.
    2 Posts | Last post August 12, 2018
    • My computer update and when I restart it report that can't complete updates , undoing changes.
      How can I use this tool to fix it?
    • Hi shayhandes,
      Each problem solving scenario is different, however, I have summarized the basic scenarios in
      I hope this helpful you.
  • 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.
21 - 30 of 85 Items