Windows 10: Reset Windows Update in Windows 10

Discus and support Reset Windows Update in Windows 10 in Windows 10 Tutorials to solve the problem; Hello tsunami, *Smile It used to always give you a UAC prompt when opening Task Manager when signed in to an administrator account since it was... Discussion in 'Windows 10 Tutorials' started by throkr, Oct 18, 2015.

  1. Brink
    Brink New Member

    Reset Windows Update in Windows 10


    Hello tsunami, *Smile

    It used to always give you a UAC prompt when opening Task Manager when signed in to an administrator account since it was opening an elevated task manager.

    At some point MS changed something that didn't give a UAC prompt anymore, that the .bat file undoes.

    You shouldn't get a UAC prompt for them when signed in to a standard user account.
     
    Brink, Jul 21, 2016
    #61
  2. bayustev Win User

    this solve windows update corrupted after upgrading windows version via windows update. many thanks. now i can check update manually. *Party
     
    bayustev, Aug 6, 2016
    #62
  3. bayustev Win User
    but.. now i have new problem after using batch.

    Reset Windows Update in Windows 10 [​IMG]

    window defender cant run. ....help pls??

    edit. solve it with sfc.
    hmm..i wonder why *Rolleyes
     
    bayustev, Aug 6, 2016
    #63
  4. Brink
    Brink New Member

    Reset Windows Update in Windows 10

    Brink, Aug 6, 2016
    #64
  5. RPR
    rpr Win User
    I'd like to give a comment on the Reset_Reregister_Windows_Update_Components.bat script: renaming "%SYSTEMROOT%\WindowsUpdate.log" to WindowsUpdate.log.bak is pointless because on Windows 10 that file contains only the following and it is never changed:

    -- .
     
  6. Brink
    Brink New Member
    Hello rpr, and welcome to Ten Forums. *Smile

    I'll leave the old location in the .bat file for those that may still have older builds that still use it.

    I have now added this below to the .bat for the new location . Thank you.

    del /s /q /f "%SYSTEMROOT%\Logs\WindowsUpdate\*"
     
    Brink, Aug 24, 2016
    #66
  7. Matthew Wai, Sep 14, 2016
    #67
  8. Brink
    Brink New Member

    Reset Windows Update in Windows 10

    Brink, Sep 14, 2016
    #68
  9. Try3 Win User
    Shawn / Brink,

    1 In the batch file, the path to the qmgr files does not exist [KB971058 has not been changed, it still points to this path]
    "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
    but this one does
    "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"

    2 Similarly, I cannot find this file anywhere [I included checking on a computer that had items listed in its download queue at Settings, Update]
    "%SYSTEMROOT%\winsxs\pending.xml

    Any ideas?

    Denis
     
  10. Brink
    Brink New Member
    Hello Denis, *Smile

    Q1) I actually have the files at both locations in build 14946.

    Q2) Here's some more info below about the pending.xml file to help understand it better, but it's basically there to help when a restart is required for an update.

    Why you don The Windows Servicing Guy
     
    Brink, Oct 18, 2016
    #70
  11. Try3 Win User
    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
     
  12. Try3 Win User
    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
     
  13. Brink
    Brink New Member

    Reset Windows Update in Windows 10

    Thank you for verifying Denis. I have updated the .bat file in the tutorial to include this location as well. *Smile
     
    Brink, Oct 18, 2016
    #73
  14. 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.
     
    Matthew Wai, Oct 18, 2016
    #74
  15. throkr Win User
    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. *Smile
     
    throkr, Dec 26, 2016
    #75
Thema:

Reset Windows Update in Windows 10

Loading...
  1. Reset Windows Update in Windows 10 - Similar Threads - Reset Update

  2. No Access to laptop after 24H2 update. Email reset not sending

    in Windows 10 Gaming
    No Access to laptop after 24H2 update. Email reset not sending: Hello, I’ve just setup a brand new laptop, and after completion it updated to the new 24H2. After reboot, I no longer have pin or fingerprint access and the only option is a reset email to my outlook email. Of course despite multiple attempts at sending a code and checking my...
  3. No Access to laptop after 24H2 update. Email reset not sending

    in Windows 10 Software and Apps
    No Access to laptop after 24H2 update. Email reset not sending: Hello, I’ve just setup a brand new laptop, and after completion it updated to the new 24H2. After reboot, I no longer have pin or fingerprint access and the only option is a reset email to my outlook email. Of course despite multiple attempts at sending a code and checking my...
  4. Can not reset pin after updating my Bios

    in Windows 10 Gaming
    Can not reset pin after updating my Bios: It says pin no longer works and to reset the pin, I sign in and then it says we weren’t able to set up your pin. Try again and when I retry nothing, when I try to skip I am locked out somone please help this computer is my primary tower...
  5. Can not reset pin after updating my Bios

    in Windows 10 Software and Apps
    Can not reset pin after updating my Bios: It says pin no longer works and to reset the pin, I sign in and then it says we weren’t able to set up your pin. Try again and when I retry nothing, when I try to skip I am locked out somone please help this computer is my primary tower...
  6. Update Windows 11 24H2 broke my Keyboard and I can’t reset to previous versions

    in Windows 10 Gaming
    Update Windows 11 24H2 broke my Keyboard and I can’t reset to previous versions: Today I got a notification telling me that it was mandatory to update my Windows to the newest version. I accepted the update and, for my surprise, it broke my laptop’s keyboard.I’m not a super tech person so my first instinct was to think “well, since Windows’ mandatory...
  7. Update Windows 11 24H2 broke my Keyboard and I can’t reset to previous versions

    in Windows 10 Software and Apps
    Update Windows 11 24H2 broke my Keyboard and I can’t reset to previous versions: Today I got a notification telling me that it was mandatory to update my Windows to the newest version. I accepted the update and, for my surprise, it broke my laptop’s keyboard.I’m not a super tech person so my first instinct was to think “well, since Windows’ mandatory...
  8. Tips - Solved Cant use/reset PIN after BIOS update

    in Windows 10 Gaming
    Tips - Solved Cant use/reset PIN after BIOS update: Recently i update my BIOS software and afterwards things getting weird- I cant use my PIN, but password is still accessible- I cant reset my pin- After few troubleshoot, some of the accounts are sign out automaticallyhere are the things i tried:- Reset pin via lock screen,...
  9. Tips - Solved Cant use/reset PIN after BIOS update

    in Windows 10 Software and Apps
    Tips - Solved Cant use/reset PIN after BIOS update: Recently i update my BIOS software and afterwards things getting weird- I cant use my PIN, but password is still accessible- I cant reset my pin- After few troubleshoot, some of the accounts are sign out automaticallyhere are the things i tried:- Reset pin via lock screen,...
  10. I reseted and updated my minecraft, now all my worlds are gone. Is there any way to recover...

    in Windows 10 Gaming
    I reseted and updated my minecraft, now all my worlds are gone. Is there any way to recover...: I went to play with my friend, but we couldn't join each other. So I figured we had to update Minecraft since the problem was an outdated client. I reset and updated the app, then relaunched it. I got back on it to see all my worlds were gone. Is there any way to recover my...