Sledgehammer - Windows 10 Update Control

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

  1. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
    Very strange. I succesfully executed the script from D:\Temp\Windows Update.
    Make sure the script, the WUMT elements and Wub.exe are located in the same directory.
     
  2. LoverOfLove

    LoverOfLove MDL Member

    Joined:
    Oct 17, 2017
    Messages:
    126
    Likes Received:
    32
    Trophy Points:
    10
    thanks for making this beautiful script :)
     
  3. svendsvin

    svendsvin MDL Novice

    Joined:
    May 12, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Can you upload 2.1.7 to Majorgeeks.com?
     
  4. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
    Pls, address this request to pf100.
     
  5. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
  6. svendsvin

    svendsvin MDL Novice

    Joined:
    May 12, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Thanks. I can run it from D:\ now.
     
  7. quiggly

    quiggly Guest

    I was just wondering why everytime I use this that WUMT starts with the updates set to 'Automatically'? Even if I change it to 'Notification Mode' it sets back to auto the next time I boot the script.
     
  8. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    Because the script sets the windows update service to automatic before it runs wumt which sets wumt to automatic. But with updates disabled you'd never get a notification anyway, not with this script. To enable notification mode you'll need a different solution. This project has always been about fully manual updates like xp and 7 can do, so that the windows update service uses zero bandwidth, cpu, and disk thrashing unless I ask it to. Maybe somebody can recommend a solution for you for notifications..
     
  9. quiggly

    quiggly Guest

    So when it's set to auto, that doesn't mean once wumt finds updates it will auto install them?
     
  10. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    No, it auto checks for updates and then lets you hide the updates you don't want, and select and install the ones you do.
     
  11. LoverOfLove

    LoverOfLove MDL Member

    Joined:
    Oct 17, 2017
    Messages:
    126
    Likes Received:
    32
    Trophy Points:
    10
    #111 LoverOfLove, Dec 6, 2017
    Last edited: Dec 6, 2017
    hi @pf100 i want to setup custom windows update setting in my family members win 10 laptops. my goal is to block updates completely and only allow defender automatic updates without running any script manually bcoz some members arent very technical and may not like running script manually.. is there any method available for achieving that goal.
     
  12. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    The last time I checked about a month ago, Windows Defender can update while this script has updates disabled. Defender doesn't use the windows update service to update.
     
  13. LoverOfLove

    LoverOfLove MDL Member

    Joined:
    Oct 17, 2017
    Messages:
    126
    Likes Received:
    32
    Trophy Points:
    10
    i've win 10 ltsb 2016 and with update disabled with wub, defender is showing error in updating. error is virus and spyware definition couldnt be updated."
    but updates are working fine when updates enabled in wub.
     
  14. LoverOfLove

    LoverOfLove MDL Member

    Joined:
    Oct 17, 2017
    Messages:
    126
    Likes Received:
    32
    Trophy Points:
    10
  15. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
  16. drew84

    drew84 MDL Addicted

    Joined:
    Mar 13, 2014
    Messages:
    956
    Likes Received:
    1,490
    Trophy Points:
    30
    This just might be what you are looking for TairikuOkami Post #86
     
  17. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    That's exactly what I mean, but icacls "%WINDIR%\System32\UsoClient.exe" /inheritance:r /remove "Administrators" "Authenticated Users" "Users" "System" doesn't work for me in administrator command prompt.
     
  18. LoverOfLove

    LoverOfLove MDL Member

    Joined:
    Oct 17, 2017
    Messages:
    126
    Likes Received:
    32
    Trophy Points:
    10
    that ghacks trick is great for manual updates but defender definition are not updating (manual auto both)
     
  19. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
    did you try to run "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate -MMPC and see what happens?