Sledgehammer - Windows 10 Update Control

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

  1. erdem444

    erdem444 MDL Novice

    Feb 20, 2012
    6
    0
    0
    Thanks for the script. What should i add to run it on startup silently ?
     
  2. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    No need to. It already runs the wub.exe part on startup via Task Scheduler.
     
  3. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    Just wanted to let everyone know that 2.7.2 is still working fine. That's why I'm being lazy.
     
  4. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    Just take a short brake from laziness, package the wub fix and the 2.7.3 RC into a new installer. Then, you can you can become lazy, again. :D
     
  5. Homer712

    Homer712 MDL Member

    Oct 22, 2018
    118
    45
    10
    #1765 Homer712, Feb 12, 2021
    Last edited: Feb 13, 2021
    I'm running 2.7.3 RC1 on Windows 10, 1909. I had reason today to use the "E" response (first time ever) to allow me to get an app from the Windows Store. Did not work. The Store kept giving me an error warning that Windows Update was not turned on (or words to that effect). Tried a number of times, same result. So, after making an image backup via Macrium Reflect I did a total uninstall of Sledgehammer. Got to download the app from the Store just fine. Anyone else have this issue, or is it just me?

    Edit: You can only use the Windows Store with Edge, not with Firefox as I was trying to do. Used the "E" response, launched Edge, and the Store works just fine. Sorry, my error.
     
  6. JJM789

    JJM789 MDL Novice

    Mar 15, 2021
    1
    0
    0
    Question. Lately, I have been having strange issues with Task Scheduler service not running. In Services, I can attempt to start it, then it stops soon after. Opening Task Scheduler shows a window that reveals its certainly not working. Anyway. I am trying to get it sorted out.

    So my question is. Is this an issue for Sledgehammer? Does it rely upon the Task Scheduler?


    UPDATE: Ok. I think I just answered my own question when I opened Sledgehammer. Here's the message I get. And I have no idea why this is suddenly happening.

    "creating windows defender update WDU task errored"

    "Press any key to exit"
     
  7. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,440
    1,420
    60
    Sledgehammer relies on 3 tasks :
    Windows Defender Update
    Windows Update Blocker Auto-Renewal
    Lock system update hijacker files
    When sledgehammer starts, its deletes and creates these tasks. If the creation fails, sledgehammer sends an error message and stops.
     
  8. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
  9. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
    #1769 Whistler4, Mar 17, 2021
    Last edited: Apr 25, 2021
    @JJM789, I just moved from v2.7.0 to v2.73 rc1, and among the file copying, installing, and uninstalling of Sledgehammer files, I happened to generate the same error you did: "creating windows defender update WDU task errored." That error was caused by wdu.cmd not being in the \Sledgehammer\bin folder. (I had accidentally left it out.) You might want to check to make sure all the files are in the bin folder.

    Edit: For anyone stumbling on this, I probably jumped to the wrong conclusion as to the missing wdu.cmd being the cause.
     
  10. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
  11. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
  12. Homer712

    Homer712 MDL Member

    Oct 22, 2018
    118
    45
    10
    I don't know how on God's green earth I missed (or just had a complete "senior" moment) the fact that "Matthew's Preferences" disables the same hijackers files that Sledgehammer does. So, when I ran the "Sledgehammer" recovery.cmd, the reason the sfc/scannow errors went away was that the recovery.cmd was undoing the same changes put in place by "Matthew's Preferences" as it would have had I still been using "Sledgehammer."
     
  13. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
    Thanks for your conclusion and clarification. Also, thanks for expanding horizons and awareness of these tools and others. I think exploring, learning, and sharing is always a good thing. And that includes alerts when there may be a need to check out and fix potential problems.
     
  14. Homer712

    Homer712 MDL Member

    Oct 22, 2018
    118
    45
    10
    I totally agree, but I should have known better to start with. Felt like a total idiot once I realized what was going on. :mad:
     
  15. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,316
    7,023
    210
    I think the name of the tool should be telling. A sledgehammer approach always has some impact. There's simply not a nice way that really works 100%.
     
  16. Whistler4

    Whistler4 MDL Member

    Jul 30, 2015
    204
    192
    10
    Haha - Don't beat yourself up. Full disclosure: The way I often roll when diving into something new is feet first, using the instructions for reference when I get stuck. Sometimes it's screw up now, read how to do it later. As long as I'm confident the basic thing is safe and reversible. So I understand your concern about being able to reset. Also, I've been known to spend time watching a disk defrag or fret over event logs -- or to keep fixing something until it's broken.
     
  17. zylor

    zylor MDL Junior Member

    Feb 25, 2012
    92
    49
    0
    Where can i download the so called: Matthew Wai Preferences?

    Can't find anything via google or tenforums