Sledgehammer - Windows 10 Update Control

Discussion in 'MDL Projects and Applications' started by pf100, Nov 28, 2016.

  1. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    192
    181
    10
    #2001 Whistler4, Nov 11, 2022
    Last edited: Nov 11, 2022
  2. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    192
    181
    10
    @pf100, I hope you're staying well and that you'll be back among us soon.

    I thought I'd report what I think is a minor issue I've seen in some of my computers running Windows 10 21H2 and Sledgehammer 2.7.3 rc1a (which you approved as slight modification of 2.7.3 rc1). The Windows menu options for shutdown and restart will sometimes include options to "Update and shutdown" or "Update and restart." This might indicate that some sort of WU residual artifacts are left after updating with WuMgr in Sledgehammer, even after rebooting. However, I haven't noticed any significant effect of choosing the update restart options or found that a new update occurred.
     
  3. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    5,723
    6,280
    180
    I also had some notification text lately "New Windows Updates need to be installed". I guess it's related to the WUB task updating Defender, which gives WU just enough time to search for new updates and know they exist.
     
  4. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    192
    181
    10
    That seems like a reasonable explanation. Your notification is a bit more bold than the little update and shutdown options I see. But I haven't been using Defender, so as I think I recall, maybe that task isn't enabled for me? (Using Norton 360, but I may drop it for Defender after this subscription is up.)
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    5,723
    6,280
    180
    #2005 Carlos Detweiller, Nov 11, 2022
    Last edited: Nov 11, 2022
    Looks like the task is always enabled, but will normally abort if "windefend" is not running. Seems that it is not the culprit for you (is the Windows Defender service running?) but may be for me.
     
  6. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    192
    181
    10
    #2006 Whistler4, Nov 11, 2022
    Last edited: Nov 11, 2022
    Yeah, I'm looking at it right now: the submenu for Power has the familiar little orange "badge" (at least for my theme it's orange) on the extra choices that start "Update and". I might have updated with Sledgehammer last week, so it could be residual from that - you know, first step updating before restart, then second step after restart but before opening Windows. So, shear conjecture, but maybe something was still locked for updating until a second reboot. I wonder if Sledgehammer script would or should keep that from showing or working that way. Or else it's really a sneaky update.

    Also, I keep Windows Update Blocker (WUB v1.1) on the taskbar and ServiceTray in the notification area, and both show Windows Update service disabled.
     
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    5,723
    6,280
    180
    I din't get any update installed automatically. However, I don't use the lower SKUs anymore, only Enterprise or Education, where policies are not largely ignored.
     
  8. theoctavist

    theoctavist MDL Junior Member

    Apr 16, 2014
    58
    9
    0
    @Whistler4 sorry i just saw your message. so when i open sledgehammer, i get to the select option 1, 2, 3, etc...and nothing happens.

    windows 22h2 22622.436

    - Your Windows version.
    - What's not working? For example:
    - Does the script fail to run or does it give an error message? it runs and then closes after i select the option (1 in my case)
    - If you tried 2.73RC1a (the last version compiled into a Windows installer file) does the Windows setup program fail to install? i have but will try again.
    - Does the Sledgehammer script run but doesn't do the job of disabling Windows Update? it runs, and force closes after choosing the option.
    - Does it disable Windows Update but won't load WuMgr or WUMT or run other script options? unsure
     
  9. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    2,175
    2,611
    90
    #2010 Dark Dinosaur, Nov 18, 2022
    Last edited: Nov 18, 2022
    What script ... From my signature?
    It's change the wu group policy registery key
    And it's not good idea to run it with slaghammer Tool
    You don't take aspirin & akamol in same time
    It's a way to disaster :D

    The registry key you need to delete is
    HKLM::soft/Ms/win../windowsupdate
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    Jul 31, 2022
    329
    279
    10
    #2011 (\_/)^(\_/), Nov 18, 2022
    Last edited: Nov 18, 2022
    Hahaha Dark great Joke :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    2,175
    2,611
    90
    Not a joke
    Both tools serve same purpose
    But work in different way
    So you can expect weird results
    Work the same way on medicine
    Code:
    It's safe to take aspirin as a painkiller with paracetamol or codeine.
    But do not take aspirin with ibuprofen or naproxen without talking to a doctor. 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    Jul 31, 2022
    329
    279
    10
    hmm ok .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,322
    1,283
    60
    To re-enable windows update you can execute wub.exe located in the bin folder.