Sledgehammer - Windows 10 Update Control

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

  1. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    The Windows Update Disabler doesn't work to fix this problem. Trying more things...
     
  2. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    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

    Jan 30, 2016
    14
    5
    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

    Jan 30, 2016
    14
    5
    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

    Apr 2, 2017
    111
    60
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
  8. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    #90 Mr.X, Dec 2, 2017
    Last edited: Dec 2, 2017
    Jumped to there and it still has v2.1.4
     
  9. wyatt23

    wyatt23 MDL Member

    Apr 2, 2017
    111
    60
    10
    Its up now Mr.X :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. thefly42

    thefly42 MDL Novice

    Jan 30, 2016
    14
    5
    0
    Thanks for the help and glad to have been part of finding a solution that vexed many of us.
    Cheers,
    The Fly.
     
  11. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
  13. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,423
    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 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Good idea. I couldn't figure out why it wouldn't work with spaces in the folder name. Thanks.
     
  15. svendsvin

    svendsvin MDL Novice

    May 12, 2017
    5
    0
    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 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    #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

    May 12, 2017
    5
    0
    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.