Reset Windows Update in Windows 10  

Page 8 of 48 FirstFirst ... 67891018 ... LastLast

  1. Posts : 13,794
    Windows 10 Home x64 Version 22H2 Build 19045.2364
       #70

    Brink,

    Thanks for the quick response.

    How strange. I clean installed both my computers a couple of months ago so perhaps I would also find both qmgr locations if I hunted around an old system image. I think I'll amend the batch file and see what happens [I'm about to restore a system image anyway so I can afford to do some experiments first].

    About pending.xml - understood.

    Denis
      My Computer


  2. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #71

      My Computers


  3. Posts : 13,794
    Windows 10 Home x64 Version 22H2 Build 19045.2364
       #72

    Shawn,

    I have tested an amended form of the batch file. It now does what I expected it to do. I suggest amending the batch file to include the additional line
    del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"

    I cannot know how many users have this alternative qmgr location. All I know is that both mine do & neither of them has the qmgr location given in the original batch file. I clean installed Windows 10 on both computers during August.

    At the risk of boring you:-
    1 The reason I thought something needed to be investigated was that, after running the original batch file [and the many similar ones such as the TechNet version], then manually running Settings, Updates it searched for updates even though it was not connected to the internet or to any other computers and produced results [a list of updates to be downloaded - the listed updates were those that had been found during a previous update search]. So I concluded that the previous queue had not been cleaned out by the batch file.
    2 After running an amended batch file that deleted the qmgr files in the alternative location, running Settings, Updates resulted in an almost immediate response that it couldn't connect to the update services [no list of updates was displayed]. This new behaviour makes sense because the computer was still not connected to the internet or any other computers.
    So, the amended batch file successfully reset Windows update, including the update queue, whereas the original batch file did not.

    The subject is of particular significance to me because I use a metered internet connection and I sometimes run Windows update to see if there is anything large enough to warrant going to the free & fast WiFi in my local library. I need to reset the update queue so that I can run Windows update from a clean start - otherwise it would continue with the existing list of updates and only afterwards would it bother to search for new ones [new ones that might supercede those that I have just wasted my time downloading & installing].

    Denis
      My Computer


  4. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #73

    Thank you for verifying Denis. I have updated the .bat file in the tutorial to include this location as well. :)
      My Computers


  5. Posts : 13,794
    Windows 10 Home x64 Version 22H2 Build 19045.2364
       #74

    Shawn, Great. Denis
      My Computer


  6. Posts : 7,542
    Windows 10 Home 20H2
       #75

    Yesterday my Windows Update failed to download updates, so I had to run the .bat file, which could not reset it until I disconnected the modem.
      My Computer


  7. Posts : 51
    Win 10 Pro x64
       #76

    Hi,

    Resetting WU history seems now very easy and fast to do (I'm on Build 14393.576). I just wanted to start the coming year with a clean history, so here's what I did : stopped WU service, emptied the "DataStore" folder ( = 1 "Logs" folder and 2 files), restarted WU service, checked if history was empty and searched for updates. This took only a few minutes ...

    Now I wish you all a good start in 2017 !
    A BIG thank to all the people involved in this site's maintenance, especially to Brink for all these awesome tutorials. :)
      My Computer


  8. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #77

    I'm glad it was able to help throkr. I hope you have a Happy New Year as well. :)
      My Computers


  9. Posts : 106
    Windows 10 Pro
       #78

    My Windows 10 PC came up with error code 0x8e5e03fa and it's now sorted by executing the .bat file and resetting everything. I had tried other options from other forums/sites with no luck.

    This is the second time I end up here and I find the solution for my Windows problems! Great forum, I shall keep an eye on it!

    Thank you for your help, appreciated!
    Tony
      My Computer


  10. Posts : 63,987
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #79

    You're most welcome Tony. I'm glad it could help. :)
      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 20:38.
Find Us




Windows 10 Forums