Reset Windows Update in Windows 10  

Page 38 of 39 FirstFirst ... 2836373839 LastLast
  1. steve108's Avatar
    Posts : 13,060
    19041.1083 - 2004/20H1 Home x64
       #370

    Brink said:
    I agree, but if you're having to reset Windows Update for some issue, using "Automatic" could help make it more reliable to start running on demand than just "Manual".
    Maybe you can get M$ to change the default to automatic then?

    I was trying to install an app from the M$ Store and it still fails to install after I ran the script. A different apps installs just fine, so I'll assume it's a M$ Store issue or the author broke the app then.
      My Computer

  2. sewing1243's Avatar
    Posts : 68
    Windows 10/64
       #371

    Is there anyway to modify this bat file so that it pauses after each command so I can see the results before it moves on?

    Also, has there been any updates to Windows that the bat file needed edited for and have all those been done to the latest version?

    Should it be ran safe mode?
      My Computer

  3. Brink's Avatar
    Posts : 58,382
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #372

    sewing1243 said:
    Is there anyway to modify this bat file so that it pauses after each command so I can see the results before it moves on?

    Also, has there been any updates to Windows that the bat file needed edited for and have all those been done to the latest version?

    Should it be ran safe mode?
    Hello,

    Here's an updated version of the .bat below that will let you see every detail as it's running.

    Detailed-Reset_Reregister_Windows_Update_Components.bat

    The .bat file currently doesn't need any updates.

    Normally, you do not need to run the .bat file in Safe Mode.
      My Computers

  4. sewing1243's Avatar
    Posts : 68
    Windows 10/64
       #373

    Brink said:
    Hello,

    Here's an updated version of the .bat below that will let you see every detail as it's running.

    Detailed-Reset_Reregister_Windows_Update_Components.bat

    The .bat file currently doesn't need any updates.

    Normally, you do not need to run the .bat file in Safe Mode.

    What, if anything, might indicate that it should be ran in Safe Mode?
      My Computer

  5. Brink's Avatar
    Posts : 58,382
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #374

    sewing1243 said:
    What, if anything, might indicate that it should be ran in Safe Mode?
    If the .bat file gives you any "in use" type error and will not successfully run, you could try Safe Mode since it has less running by default.
      My Computers

  6. sewing1243's Avatar
    Posts : 68
    Windows 10/64
       #375

    Thanks!


    Thank you Brink!
      My Computer

  7. Brink's Avatar
    Posts : 58,382
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #376

    sewing1243 said:
    Thank you Brink!
      My Computers

  8. sewing1243's Avatar
    Posts : 68
    Windows 10/64
       #377

    Unfortunately running this bat file does not solve my current issue of Windows Updates failing to install. I did notice that the commands in the bat file to delete some registry keys fails and with a manual search I didn't find them either. Here is the commands that the bat file ran:

    :
    :: Reset Windows Update policies
    reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    gpupdate /force:: Reset Windows Update policies
    reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    gpupdate /force"

    Are those "optional" entries or is that a possible pointer to why Windows update is failing because I "assume" Windows should recreate at least some of them for update to function properly.

    Also one of the commands to change the startup of one of the services to auto at the end came as unauthorized and apparently remained as the default setting.
      My Computer

  9. Brink's Avatar
    Posts : 58,382
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #378

    sewing1243 said:
    Unfortunately running this bat file does not solve my current issue of Windows Updates failing to install. I did notice that the commands in the bat file to delete some registry keys fails and with a manual search I didn't find them either. Here is the commands that the bat file ran:

    :
    :: Reset Windows Update policies
    reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    gpupdate /force:: Reset Windows Update policies
    reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
    reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f
    gpupdate /force"

    Are those "optional" entries or is that a possible pointer to why Windows update is failing because I "assume" Windows should recreate at least some of them for update to function properly.

    Also one of the commands to change the startup of one of the services to auto at the end came as unauthorized and apparently remained as the default setting.
    Those commands are to remove any possible group policies set for Windows Update.

    It may be best to continue in your thread below to see if a solution may be found for your Windows Update issue.

    Latest Windows update KB5003637 fails to install
      My Computers

  10. f23948's Avatar
    Posts : 131
    Windows 10 x64 1809 LTSC
       #379

    Will this work on Windows 10 version 1809 Enterprise LTSC?
      My Computer


 
Page 38 of 39 FirstFirst ... 2836373839 LastLast

Tutorial Categories

Reset Windows Update in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:56.
Find Us




Windows 10 Forums