Sledgehammer - Windows 10 Update Control

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

  1. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,424
    60
    @pf100 Finally i figured out how wub.exe is dealing with the wuauserv registry key.
    wub /e :
    Owner : Administrators
    Permissions : Full control for System and administrators, read access for other accounts
    wub /d :
    cf wub /e
    wub /d /p :
    Owner : SYSTEM
    Permissions : read access for all accounts. Service disabled and stopped; you can't change calling the task manager.
    Calling Regedit, just change the owner from system to administrators, change the permissions and you are done.
     
  2. maka213

    maka213 MDL Novice

    Aug 24, 2012
    41
    12
    0
    Surely there must be a way for me to be rid of this WUD task? I don't even have Windows Defender on my PC and this thing still runs. I installed this script in order to prevent windows from doing things i don't want it to do and now the script makes windows do things i don't want it to do. I may need a script for the script.
     
  3. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    #1303 pf100, May 16, 2019
    Last edited: May 16, 2019
    (OP)
    If Defender is disabled the WDU task runs but does absolutely nothing.
    Look at the readme, or look at WDU.cmd in the bin folder, or both, and you'll see what I mean.
    There is no reason to delete the WDU task.
    It only exists to update Defender IF it's running.
    Edit: to eliminate any confusion in the future, I'll put a note on the screen after showing the MS-DEFCON screen about this.
     
  4. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Thank you.
     
  5. maka213

    maka213 MDL Novice

    Aug 24, 2012
    41
    12
    0
    I guess the point i was trying to make is that it shouldn't run if i don't want it to.
     
  6. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    If the tasks existence bothers you that much, then delete line 270 in Sledgehammer.cmd and delete the WDU task.
    Code:
    call :create_task WDU "Windows Defender Update"
     
  7. maka213

    maka213 MDL Novice

    Aug 24, 2012
    41
    12
    0
    Thank you.
     
  8. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    No problem.
    In any future updates of the script, that line should always be the same, but of course the line number will be different.
     
  9. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Just an update. I'm having to fix an air conditioning unit, and I have to move too. I'll get back on updating the script as soon as possible.
     
  10. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,359
    7,078
    210
    No prob. Deal with the air conditioning first, to keep your head cool while scripting. :p
     
  11. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
  12. X64_Bit

    X64_Bit MDL Junior Member

    Aug 2, 2009
    50
    7
    0
    Thank you for this work !!! :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. X64_Bit

    X64_Bit MDL Junior Member

    Aug 2, 2009
    50
    7
    0
    I installed the version "2.6.1 rc4", it works great
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. brennt

    brennt MDL Novice

    Oct 4, 2018
    14
    1
    0
    Where can I find it? Thankks
     
  15. X64_Bit

    X64_Bit MDL Junior Member

    Aug 2, 2009
    50
    7
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
  17. X64_Bit

    X64_Bit MDL Junior Member

    Aug 2, 2009
    50
    7
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    just a little deception i initiated :cool2:.

    As @DavidXanatos already mentioned, WUMgr is for advanced users, maintaining three or even (GALORE! in enterprise environments) more machines or assumingly a @Daz wwhen working with his test environment for MDL :good3:

    Your solution is unbeatable for the usual user wanting it quick and dirty :flowers:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. MK_1981

    MK_1981 MDL Novice

    Jul 13, 2017
    27
    9
    0
    guys can i get advice what else to use except sledgehammer and WUMGR for my w10 LTSC N that I plan installing soon on my new pc?
    there are so many tools around for privacy/updates/telemetry... that I don't know what else to use beside the 2 mentioned.
    I'm considering Decrapifier, PeerBlock, O&O ShutUp10, PrivateWin10.
    are any of the mentioned dangerous (they brake?) with sledge/WUMGR?
    thanks.
     
  20. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    Thanks for the compliment. What's missing is an improved instantaneous internet connection check that doesn't try a bunch of servers, instead the next release uses powershell to check the active network adapter for connection status that works perfect in a half a second. Other than that, a few minor cosmetic adjustments that you'd never notice that doesn't really matter, and a few code changes that won't matter to the end user. 2.6.1 rc4 is good enough for daily use. 2.60 is too if you don't need the extra options of offline downloading and the "expert" options. It's just that I'm a perfectionist and when I say "it's not as perfect as I'd like" that just means it doesn't do everything exactly perfectly the way I want in ways that don't affect the operation of the script. What really matters though is that the important stuff, like the code in the script that blocks updates, is absolutely perfect. I'm just really nitpicky with my code.