Stop Windows 10 Updates Properly and Completely

Page 34 of 37 FirstFirst ... 243233343536 ... LastLast

  1. Posts : 98
    Windows 10
       #331

    Try3 said:
    [By the way, my suggestion If Defined ProgramFiles(x86) (Set OSType=x64) Else (Set OSType=x86) checks the existence of the system variable not a folder.]
    I see. I suppose there are multiple ways of checking whether the OS is x86 or x64. In a somewhat related tale of confusion, I learned the variable for the windows folder as %systemroot%, but I noticed that most here use %windir%. Whatever works, I guess.
      My Computer


  2. Posts : 98
    Windows 10
       #332

    WUMT/WuMgr wrapper script has been renamed to Sledgehammer.
    Sledghammer 2.6.0 final is here!
    Waiting on updates to show at Major Geeks and Softpedia.

    Sledgehammer 2.6.0 Windows 10 update control script
    Portable and Installer
    April 26, 2019
    https://drive.google.com/file/d/1vh6hex7bKreItYXtv0bkali4yrIwIG5D/view?usp=sharing
    SHA256: e16f5de04af8d052b71dfce67cf79997e4e9d589d4bb532de2d333a1b596145d

    Let me know what you think!

    Changelog from 2.5.5:
    1) Put askwoody.com MS-DEFCON rating on first screen.
    2) Tasks now work in any folder name in any language while still retaining task creation error message just in case!!!
    3) Moved WDU and Wub_task to task scheduler \Microsoft\Sledgehammer folder to work in a multi-user environment. 2.6.0 automatically deletes the tasks in old location when script is run just in case.
    4) Create dummy locked %systemdrive%\Windows10Upgrade folder in addition to "%ProgramFiles%\rempl", "%systemroot%\UpdateAssistant", "%systemroot%\UpdateAssistantV2". Windows 10 Upgrade Assistant now cannot be installed under any circumstances even if you try to force install it manually. Folders are system/hidden and can only be seen in file explorer if "protected operating system files" are unhidden.
    5) added "ping pool.ntp.org" internet connection check before configurator that can be bypassed by pressing a key in case of known working but unreliable internet connection. There's no point in enabling wuauserv or running WUMT or WuMgr without an internet connection, but the script will still let you override the internet check if you really want to. (Is this address available world-wide? If not, what is? If not, the script will still work)
    6) Put "run WUMT or WuMgr" option in Configurator for one less screen of options to make things simpler for the user.
    7) Move all exe's and other unnecessary files to bin folder in script folder.
    8) Put recovery script and readme for same in recovery folder in script folder.
    9) Put uninstall files in uninstall folder.
    10) Rename the "Version" entry in the start menu to the version of the script, i.e. "Version X.X.X".
    11) Included all known WuMgr translations in "Translations.ini" file (and all known WUMT translation files in "bin\WUMT Translations" folder.
    Last edited by pf100; 27 Apr 2019 at 18:17.
      My Computer


  3. Posts : 38
    WinDoze 10 Home
       #333

    pf100 said:
    WUMT/WuMgr wrapper script has been renamed to Sledgehammer.
    Sledghammer 2.6.0 final is here!
    I'll upload it to the usual places tomorrow.
    Thanks a lot pf100 we appreciate your work :)
      My Computer


  4. Posts : 98
    Windows 10
       #334

    I got a notification of a review of Sledgehammer by ghacks which I post in its entirety:

    FYI,

    Control Windows Updates with Sledgehammer (formerly WUMT Wrapper Script)
    https://www.ghacks.net/2019/04/28/control-windows-updates-with-sledgehammer-formerly-wumt-wrapper-script/
    Have a good day!
    Jean-Eudes
      My Computer


  5. Posts : 98
    Windows 10
       #335

    Sledgehammer 2.7.0 released March 24, 2020
    Project page and download link.

    Sledgehammer_2.7.0.zip
    SHA256: 86454b41094ce7c510806d7ec40e84d3c0c92195a3490a440c92adda71d5cc65
    Changelog:
    1) Updated WuMgr to latest version 1.1 which properly supports windows 1909, 2004, etc.
    2) Internet check before configurator is now instantaneous and 100% reliable
    3) Provides advanced options. wsusscn2.cab will be downloaded to the script's "bin\Updates" folder
      My Computer


  6. Posts : 7,631
    Windows 10 Home 20H2
       #336

    @pf100, in "Sledgehammer.cmd", the long complicated code for getting administrative privileges can be simplified as below:

    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
      My Computer

  7.    #337

    When running the script I get the error Creating "Windows Defender Update" WDU task errored.

    Anybody of you guys faced such error? Script version is 2.7.2. Also this file got open in notepad just after this error:

    Code:
    ' Create automatic Windows Defender Update "WDU" task that updates Defender only if it's enabled and running.'    Create WDU.xml'''    Creating Windows Defender Update auto renewal task'Set Fso=CreateObject("Scripting.FileSystemObject"):Set f=Fso.CreateTextFile(fso.GetParentFolderName(WScript.ScriptFullName) & "\task.xml",True,True)f.write _ "<?xml version=""1.0"" encoding=""UTF-16""?>" &_"<Task version=""1.2"" xmlns=""http://schemas.microsoft.com/windows/2004/02/mit/task"">" &_"  <RegistrationInfo>" &_"    <Date>2016-02-18T08:29:39</Date>" &_"    <Author>pf100\rpo</Author>" &_"    <URI>\WDU</URI>" &_"  </RegistrationInfo>" &_"  <Triggers>" &_"    <CalendarTrigger>" &_"      <StartBoundary>2016-01-01T00:01:00</StartBoundary>" &_"      <Enabled>true</Enabled>" &_"      <ScheduleByDay>" &_"        <DaysInterval>1</DaysInterval>" &_"      </ScheduleByDay>" &_"    </CalendarTrigger>" &_"    <CalendarTrigger>" &_"      <StartBoundary>2016-01-01T06:01:00</StartBoundary>" &_"      <Enabled>true</Enabled>" &_"      <ScheduleByDay>" &_"        <DaysInterval>1</DaysInterval>" &_"      </ScheduleByDay>" &_"    </CalendarTrigger>" &_"    <CalendarTrigger>" &_"      <StartBoundary>2016-01-01T12:01:00</StartBoundary>" &_"      <Enabled>true</Enabled>" &_"      <ScheduleByDay>" &_"        <DaysInterval>1</DaysInterval>" &_"      </ScheduleByDay>" &_"    </CalendarTrigger>" &_"    <CalendarTrigger>" &_"      <StartBoundary>2016-01-01T18:01:00</StartBoundary>" &_"      <Enabled>true</Enabled>" &_"      <ScheduleByDay>" &_"        <DaysInterval>1</DaysInterval>" &_"      </ScheduleByDay>" &_"    </CalendarTrigger>" &_"    <BootTrigger>" &_"      <Enabled>true</Enabled>" &_"      <Delay>PT10M</Delay>" &_"    </BootTrigger>" &_"    <LogonTrigger>" &_"      <Enabled>true</Enabled>" &_"    </LogonTrigger>" &_"  </Triggers>" &_"  <Principals>" &_"    <Principal id=""Author"">" &_"      <LogonType>InteractiveToken</LogonType>" &_"      <RunLevel>HighestAvailable</RunLevel>" &_"    </Principal>" &_"  </Principals>" &_"  <Settings>" &_"    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>" &_"    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>" &_"    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>" &_"    <AllowHardTerminate>true</AllowHardTerminate>" &_"    <StartWhenAvailable>false</StartWhenAvailable>" &_"    <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>" &_"    <IdleSettings>" &_"      <StopOnIdleEnd>false</StopOnIdleEnd>" &_"      <RestartOnIdle>false</RestartOnIdle>" &_"    </IdleSettings>" &_"    <AllowStartOnDemand>true</AllowStartOnDemand>" &_"    <Enabled>true</Enabled>" &_"    <Hidden>false</Hidden>" &_"    <RunOnlyIfIdle>false</RunOnlyIfIdle>" &_"    <WakeToRun>false</WakeToRun>" &_"    <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>" &_"    <Priority>7</Priority>" &_"  </Settings>" &_"  <Actions Context=""Author"">" &_"    <Exec>" &_"	  <Command>""" & FSO.GetParentFolderName(Wscript.ScriptFullName) & "\bin\WDU.cmd" & """</Command>" &_"    </Exec>" &_"  </Actions>" &_"</Task>" f.Close
      My Computer


  8. Posts : 7,631
    Windows 10 Home 20H2
       #338

    I just ran version 2.7.2., and the following tasks have been created without errors:

    Stop Windows 10 Updates Properly and Completely-tasks-created-successfully.jpg
      My Computer


  9. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
       #339

    I want to install update, which removes Flash Player. But It doesn't work, because service cannot be started. I suppose it means Windows Update service! Problem is I don't want to enable Windows Update, so Windows doesn't automatically install drivers for my devices! I tried every other method to stop auto drivers installation, nothing except this works. I need to install this update!

    I downloaded it manually here: https://www.catalog.update.microsoft...aspx?q=4577586

    https://support.microsoft.com/en-us/topic/kb4577586-update-for-the-removal-of-adobe-flash-player-october-27-2020-931521b9-075a-ce54-b9af-ff3d5da047d5

    Also when you use WUTM, or any other update manager. Do sledgehammer enable Windows Update at that time? I Am afraid it could auto install drivers updates for my devices, which I want to avoid! Don't ask me why...

    Please help.
      My Computer


  10. Posts : 7,631
    Windows 10 Home 20H2
       #340

    empleat said:
    I want to install update, which removes Flash Player.
    The following contradicts the above.
    empleat said:
    I don't want to enable Windows Update
    If you don't enable the Windows Update service, you cannot install an update.

    empleat said:
    I Am afraid it could auto install drivers updates for my devices, which I want to avoid!
    The following drivers have never been installed automatically although I have never disabled the Windows Update service. I have just disabled the automatic installation of updates, including drivers.




    empleat said:
    Also when you use WUTM, or any other update manager. Do sledgehammer enable Windows Update at that time?
    Run WUMT within Sledgehammer. Windows Update will be enabled.

    I have not seen pf100 for a year. Hopefully, he will show up and correct me.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:53.
Find Us




Windows 10 Forums