Windows Update Manager

Discussion in 'MDL Projects and Applications' started by DavidXanatos, Aug 16, 2018.

  1. DavidXanatos

    DavidXanatos MDL Senior Member

    May 23, 2010
    409
    1,507
    10
    ok, cool I will look into uploading a new version with the mentionen changes soon
     
  2. Lioninstreet

    Lioninstreet MDL Novice

    Jan 23, 2016
    26
    4
    0
    #603 Lioninstreet, Feb 25, 2020
    Last edited: Feb 26, 2020
    Yes I know nt6.1 is obsolete now and I should be updating to a more secure OS... But I just finished a run of WUM 1.1b (OS version is WHS11 based on s2k8r2sp1), starting with a manual install of .net 4.8. and the results were not exactly what I expected.

    Checking for updates in offline mode, WUM found 152. After selecting all the update process began. Ultimately, after 4 runs the app installed 153 updates. There were 5 updates that failed to install on the first run. One did not pull up again as it was a security rollup that had been replaced by a newer one, another installed on the second attempt, but the other 3 below just would not install:

    2019-10 update for s2k8r2 kb4519108
    2020-01 security only update for .net 3.5-4.8 kb4534976
    2020-01 security & quality rollup for .net 3.5-4.8 kb4535102

    Also odd is the newest security monthly rollup that was found installed was a 5/18 KB4103718. None of the security only rollups after that were found or installed.

    Using Online mode, the app initially finds 192 updates available, after selecting all, 103 failed to install first attempt. I snipped the screen showing what failed and continuing the runs to see what ends up being installed. At completion I had a total of 201 updates installed, 2 additional updates would continually fail to install. Interesting is that one of them was the same .NET update as above.

    Also as above the newest security monthly rollup that was found installed was a 5/2018 KB4103718. None of the security only rollups after that were found or installed. I was expecting the app would pull security updates after 5/18 as well as the SSU's that were released in 2019 and 1/2020

    I also have another question relating more to the app's functionality. Using multiple snips as reference for tracking 103 uninstalled updates is fairly cumbersome. Is there a way to setup a copy / paste function for the results that appear in the update history window to make it easier to identify the update info being displayed? I don't need the update URL's as that printout will not identify what failed to install.

    What update history tab (& the other tabs too for that matter) would be able to copy / paste, particularly the KB's with a history of what installed and what failed.
     
  3. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    @DavidXanatos So with the latest wumgr v1.1 do I add anything to the following previously working (pre-1909) wumgr command?
    Code:
    wumgr.exe  -update -offline 7971f918-a847-4430-9279-4a52d1efe18d -onclose close.cmd
    Is DeploymentAction='OptionalInstallation' handled by wumgr automatically through version checking?

    In the changelog for v1.1, I couldn't find a list of command line switches for it, so are they same as always?
    The following is the result of running "wumgr -help" which shows only a partial list of command line switches:
    Code:
    D:\Downloads\WuMgr\WuMgr_v1.1b>wumgr -help
    
    D:\Downloads\WuMgr\WuMgr_v1.1b>Available command line options
    
     -tray          Start in Tray
     -onclose [cmd] Execute commands when closing
     -update                Search for updates on start
     -console               show console (for debugging)
     -help          Show this help message
    
    My apologies if I missed something obvious.
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,914
    340
  5. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
  6. DavidXanatos

    DavidXanatos MDL Senior Member

    May 23, 2010
    409
    1,507
    10
    I havn't changed anything with the Command switches for the latest build.
    DeploymentAction='OptionalInstallation' should always be checked IIRC
     
  7. Lioninstreet

    Lioninstreet MDL Novice

    Jan 23, 2016
    26
    4
    0
    Couple of questions on off-line mode vs on-line mode. Using on line mode on s2k8r2, WUmgr finds 200 updates, but the newest security monthly rollup that is found is the 5/18 KB4103718. In off line mode, WUmgr finds 152 updates, the newest security update also being KB4103718

    There are one or two IE rollups & time zone updates that will install post 5/18, but none of the security or monthly rollups after that were found or installed by WUmgr in either rmode. The same goes for the SSU's and SHA-2 support update that were released in 2019 and 1/2020.

    Important to note that Any idea why that is and if WUmgr can find and install security updates that are post 5/18?
     
  8. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,358
    7,077
    210
    If updates aren't offered, then there are normally some prerequisites missing. Usually, that's a certain SSU (Servicing Stack Update). In other words, if you install what's offered (including preconditions like SSUs), after a reboot, there will be offered more to install. Wash, rinse, repeat. That's WU.
    These prerequisite updates are usually called "blockers". Some SSUs, but also the SHA2 code updates are required by later updates, and they won't be offered until the prereq's are in place. Most recent example: Windows 7 ESU, each month's ESUs require the SSU of the previous month installed, or they won't show up.

    What is odd is that Offline mode (which uses the wsusscn2.cab catalog from MS) should behave the same. I can only guess that Security-only patches (offered ONLY through offline mode) have other prerequisites as the full CUs.
     
  9. donmiller

    donmiller MDL Addicted

    Jun 4, 2016
    721
    446
    30
    #610 donmiller, Apr 22, 2020
    Last edited: Apr 22, 2020
    I'm currently running 18363.815. Prior to manually updating to .815, I was running .778. Windows Update manager would not list the patches for .815. In fact, it keeps listing a feature update for Windows v2004 (KB4550936), even though I'm running v1909. So I'm not getting updates for v1909, but a feature update for v2004 (which I am not running). Can someone explain why this is happening?
     
  10. donmiller

    donmiller MDL Addicted

    Jun 4, 2016
    721
    446
    30
    I’ll explain it myself then. Windows Update Manager was accessing the wrong update ring (Release-Preview), that was inadvertently (and experimentally) set in the registry. So I was actually getting updates listed for both v1909 and v2004.
     
  11. onlesaura

    onlesaura MDL Novice

    Aug 15, 2014
    8
    0
    0
    Hello,
    I try to use that tool but it's not very clear. Installed today v1909 and ask for updates. I got a cumulative update for v1909, size 55,80GB!!! Well anyway, my big wishes would be the following :
    1. disable automatic updates - ok, we can do that with that tool, and others.
    2. and AT THE SAME TIME being able to use the store. it seems that if WU is off, store can't be used! I would really need a fix.
    3. eventually being able to install BY MYSELF the updates I want, going to microsoft updates catalog.

    But the most tricky thing is n°2 I think. Searched the web for hours, nothing.
    Thanks for your help!
     
  12. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,358
    7,077
    210
    #613 Carlos Detweiller, May 7, 2020
    Last edited: Jul 7, 2020
  13. a2k

    a2k MDL Novice

    May 15, 2020
    5
    1
    0
  14. rebop2020

    rebop2020 MDL Novice

    Jul 5, 2020
    17
    2
    0
    Whew. Just read all 31 pages :) Still have questions!

    1. I have Win 10 Pro set to notify and it does. Once it does, I go to show/hide before opening the Update Options page, review what it shows and hide appropriately. Then install the ones I choose the next day when I am notified again.

    Can I continue that, BUT instead of going to show/hide go to WUMgr when I get an Action Center notification to see what is presented and hide or install from there? In other words, without changing group policy or any other current setting, etc?

    2. Is there a reason "always run as administrator" is an option? Is that in case there are non-admin users on the computer?

    3. I assume this will not run on startup if "run in the background" is not selected.

    4. What are the dropdown options under Windows Update? When would I want to change that? MS Store seems obvious and I never want to check the store for updates, but maybe I am wrong there.

    5. What is the difference between selecting an update and using the icon versus the checkbox for Manual Download and install?

    6. What is Disable Store Auto Update? If MS Store, that is already disabled in Store Settings. Why here as well? Or does it mean something else?

    7. Include Drivers is selected. I thought that was the default with "stand" update as well, yet above it mentions unchecked are the defaults? Please clarify.

    8. Last (I hope) I have run WuMGR to check only. Not installed or deleted or hidden, etc. Has this made any changes to my system I might wish to revert, especially if I choose to remove WuMGR for some reason? I assumed because it is portable it would not. After reading here. not so sure.

    Answers much appreciated. I wrote a similar post on Github and Ten Forums and since have answered a few of my questions and added a few more. Hopefully this is the place to get fully informed.

    I have written a half dozen software manual in my lifetime. Might consider helping out on some documentation here if I became evangelical about the program. Let's see how that goes.

    ~Bob
     
  15. rebop2020

    rebop2020 MDL Novice

    Jul 5, 2020
    17
    2
    0
    No replies to any items at all?
     
  16. rebop2020

    rebop2020 MDL Novice

    Jul 5, 2020
    17
    2
    0
    Thanks so much for the replies. I understand it a lot better now :)
     
  17. bjf2000

    bjf2000 MDL Expert

    Apr 11, 2008
    1,087
    198
    60
    How does "Register Microsoft Update" work its magic?

    It definitely allows for Microsoft Update instead of just Windows Update, but what specific Registry item is it changing to do it? Or is it not the Registry at all? I was in a situation where the option for this in the Windows Settings GUI was grayed out. It still is, but MU is available now, at least, which is all that matters.
     
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,914
    340