Sledgehammer - Windows 10 Update Control

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

  1. rpo

    rpo MDL Addicted

    Jan 3, 2010
    814
    590
    30
    @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
    17
    6
    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 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
    #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 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
    Thank you.
     
  5. maka213

    maka213 MDL Novice

    Aug 24, 2012
    17
    6
    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 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
    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
    17
    6
    0
    Thank you.
     
  8. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
    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 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
    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 MDL Spinning Tortoise

    Dec 21, 2012
    2,959
    2,579
    90
    No prob. Deal with the air conditioning first, to keep your head cool while scripting. :p
     
  11. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,589
    2,262
    60
  12. X64_Bit

    X64_Bit MDL Novice

    Aug 2, 2009
    48
    4
    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 Novice

    Aug 2, 2009
    48
    4
    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
    9
    1
    0
    Where can I find it? Thankks
     
  15. X64_Bit

    X64_Bit MDL Novice

    Aug 2, 2009
    48
    4
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. X64_Bit

    X64_Bit MDL Novice

    Aug 2, 2009
    48
    4
    0
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    16,125
    24,346
    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:.