Reset Windows Update in Windows 10  

Page 3 of 49 FirstFirst 1234513 ... LastLast

  1. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #20

    Hello psychok9, and welcome to Ten Forums. :)

    I'm glad you hear you got it sorted, but you must of had some other unrelated issue happening at the same time since nothing in the .bat file could have caused that.
      My Computers


  2. Posts : 3
    Windows 10
       #21

    And there it is. @Brink, I signed up for this forum ONLY to thank you. I'd been searching for a solution for some time, and you knocked it out of the park. Really appreciate it.
      My Computer


  3. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #22

    You're most welcome Phluid, and welcome to Ten Forums. :)
      My Computers


  4. Posts : 364
    Windows 10
       #23

    Shawn, after pointing this tutorial to numerous people whose updates weren't working, there were some cases when this script went into loop and there was no way of escaping from it-Specially when any of the 4 services were starting or stopping.
    Could you please improve this-(I am sure you will) such that it doesn't stuck in a loop when the service is starting/stopping.Either it should exit or stop execution or something similar?
    Thanks.
      My Computer


  5. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #24

    Hello Sumit, :)

    They should be able to kill it in Task Manager if needed, but I'll see if I can get a counter added to the loop soon to have it give a failure message and end if a service cannot be stopped.
      My Computers


  6. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #25

    @Sumitdhiman

    Ok. I have updated the .bat file to include a counter in the loop. If a service fails to stop after 3 attempts, the .bat file will automatically end with a failure message and prompt to press a key to continue. When a key is pressed, the .bat file will then restart ay service it had stopped before closing. :)
      My Computers


  7. Posts : 364
    Windows 10
       #26

    Many Thanks for this!
    Seems like you had to do some good hardwork for this-By looking at the new code!
      My Computer


  8. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #27

    It was my pleasure.

    It wasn't too much to add the code. The hardest part was jogging my memory on DOS. LOL
      My Computers


  9. Posts : 10
    Windows 10
       #28

    Still have problems updating


    I've done numerous attempts to get Windows 10 to update without any success. I tried using the recommended Reset Windows Update in Windows 10-2016_01_20_18_40_031.png
    but when I run the file I get the following error message:

    "Failed to reset Windows update due to bit service failing to stop"

    Does this make any sense to you?
      My Computer


  10. Posts : 64,526
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #29

    Hello laramietim, and welcome to Ten Forums. :)

    That error means that the .bat file was unable to reset your Windows Update since it was not able to stop the bits (Background Intelligent Transfer Service) service.

    You might see if you may be able to manually stop and the Background Intelligent Transfer Service service. If it won't stop normally, then you could see if it may after restarting the computer, or doing this while in safe mode.

    https://www.tenforums.com/tutorials/4...dows-10-a.html


    If successful, try running the .bat again.
      My Computers


 

  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 06:54.
Find Us




Windows 10 Forums