Sledgehammer - Windows 10 Update Control

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

  1. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    The Windows Update Disabler doesn't work to fix this problem. Trying more things...
     
  2. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    Really? So it seems it doesn't intercepts the system call anymore?
    Damn! Perhaps @Painter7 is working on a fix now.
     
  3. thefly42

    thefly42 MDL Novice

    Joined:
    Jan 30, 2016
    Messages:
    12
    Likes Received:
    4
    Trophy Points:
    0
    I have tried Windows Update Blocker instead and found that it works and also protects the Windows Update service from being re-enabled from even shutting down and re-booting. Give it a go everyone and hopefully if it works for everyone and it can be incorporated into the script.

    By the way its usage in text form is below.

    Usage: <command>

    Commands:

    /E : Enable Windows Update Service
    /D : Disable Windows Update Service
    /P : Protect Windows Update Service


    Samples:

    Wub.exe /E
    Wub.exe /D
    Wub.exe /D /P
     
  4. thefly42

    thefly42 MDL Novice

    Joined:
    Jan 30, 2016
    Messages:
    12
    Likes Received:
    4
    Trophy Points:
    0

    It seems to protect the status of the Windows Update Service from being altered. So if it set to Disabled then somehow no process can alter this not even the Operating system itself. Don't quite understand how it does this. It could be something to do with permissions. Not sure though. The author does not explain. But no trace on the pc remains according to the author when it is removed. The tool is also completely portable.
     
  5. quiggly

    quiggly Guest

    Thank you, can get back to having my own drivers. :)
     
  6. wyatt23

    wyatt23 MDL Member

    Joined:
    Apr 2, 2017
    Messages:
    112
    Likes Received:
    60
    Trophy Points:
    10
  7. Mr.X

    Mr.X MDL Guru

    Joined:
    Jul 14, 2013
    Messages:
    7,625
    Likes Received:
    14,952
    Trophy Points:
    240
    #90 Mr.X, Dec 2, 2017
    Last edited: Dec 2, 2017
    Jumped to there and it still has v2.1.4
     
  8. wyatt23

    wyatt23 MDL Member

    Joined:
    Apr 2, 2017
    Messages:
    112
    Likes Received:
    60
    Trophy Points:
    10
    Its up now Mr.X :)
     
  9. thefly42

    thefly42 MDL Novice

    Joined:
    Jan 30, 2016
    Messages:
    12
    Likes Received:
    4
    Trophy Points:
    0
    Thanks for the help and glad to have been part of finding a solution that vexed many of us.
    Cheers,
    The Fly.
     
  10. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,205
    Likes Received:
    7,532
    Trophy Points:
    210
  11. rpo

    rpo MDL Expert

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

    pf100 MDL Expert

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

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
    #96 rpo, Dec 4, 2017
    Last edited: Dec 4, 2017
    I would suggest replacing :
    %~dp0wub.exe /e /p
    by :
    "%~dp0wub.exe" /e /p
    at line 75 since this statement fails if the path to the script contains space(s).

    Edit : forget since statement 3 specifies : "No spaces in Folder name! ex: C:\WindowsUpdate"
     
  14. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    Good idea. I couldn't figure out why it wouldn't work with spaces in the folder name. Thanks.
     
  15. svendsvin

    svendsvin MDL Novice

    Joined:
    May 12, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    #98 svendsvin, Dec 4, 2017
    Last edited: Dec 4, 2017
    I have to start WUB manually and enable services to get it working.

    Edit: There doesn't seem to be a problem when I run it directly from my desktop.
     
  16. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    #99 pf100, Dec 4, 2017
    Last edited: Dec 4, 2017
    (OP)
    Did you try running it from C:\WindowsUpdate?
    Edit: Try the edited script in the first post and see if it fixes it.
     
  17. svendsvin

    svendsvin MDL Novice

    Joined:
    May 12, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I can run it from C:\ but not from D:\

    Can't get the script working but no big deal. It's working from C and that's great. Thanks a lot for your work.