Sledgehammer - Windows 10 Update Control

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

  1. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    10
  2. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
    #1762 pf100, Dec 26, 2020
    Last edited: Jun 20, 2021
    (OP)
    The normal state is un-rem'd. I rem-ed it by mistake is all. When I'm working on the script I don't want the uninstaller to delete the files I'm working on.
     
  3. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    10
    #1763 Homer712, Jan 22, 2021
    Last edited: Jan 22, 2021
    I hope that the silence here is because both v2.7.2 and v2.7.3 RC1 are functioning well and no changes are required. That being said, I continue to use v2.7.3 RC1 without any issues whatsoever, but was just curious, is a final of v2.7.3 going to be produced?
     
  4. erdem444

    erdem444 MDL Novice

    Joined:
    Feb 20, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the script. What should i add to run it on startup silently ?
     
  5. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Joined:
    Dec 21, 2012
    Messages:
    4,514
    Likes Received:
    4,541
    Trophy Points:
    150
    No need to. It already runs the wub.exe part on startup via Task Scheduler.
     
  6. pf100

    pf100 MDL Expert

    Joined:
    Oct 22, 2010
    Messages:
    1,906
    Likes Received:
    3,055
    Trophy Points:
    60
  7. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Joined:
    Dec 21, 2012
    Messages:
    4,514
    Likes Received:
    4,541
    Trophy Points:
    150
    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
     
  8. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    10
    #1768 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.
     
  9. JJM789

    JJM789 MDL Novice

    Joined:
    Mar 15, 2021
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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"
     
  10. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    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.
     
  11. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    10
  12. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    10
    #1772 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.
     
  13. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    10
  14. zylor

    zylor MDL Junior Member

    Joined:
    Feb 25, 2012
    Messages:
    82
    Likes Received:
    30
    Trophy Points:
    0
  15. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    10
  16. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    10
  17. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    10
  18. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    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."
     
  19. Whistler4

    Whistler4 MDL Member

    Joined:
    Jul 30, 2015
    Messages:
    178
    Likes Received:
    168
    Trophy Points:
    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.
     
  20. Homer712

    Homer712 MDL Member

    Joined:
    Oct 22, 2018
    Messages:
    117
    Likes Received:
    45
    Trophy Points:
    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: