Windows 10: Stop automatic reboots w/updates + auto-install Defender definitions

Page 2 of 2 FirstFirst 12

  1. Posts : 63
    Xp, Vista, 7, 8.1, 10
    Thread Starter
       09 Feb 2017 #11

    Guys, I think I got it. It's been working for a few days now (so I'm keeping my fingers crossed.)

    The problem might have been in the Task Scheduler (or my inability to fully grasp its convoluted interface) and not in the command line I was using.

    So here are the steps that worked for me:

    1. Set up GPOs (need Windows 10 Pro): run gpedit.msc as administrator, then go to Local Computer Policy -> Computer Configuration -> Admin Templates -> Windows Components -> Windows Update and set the following:

    - "Configure automatic updates" set to enabled, pick option "3 - Auto download and notify for install"
    - "No auto-restart with logged on users for scheduled automatic updates installations" set to enabled.

    Then reboot.

    2. I found this free tool that will do the scheduling part. (Note that the tool is designed to wake your computer from sleep. Since in my case it's a desktop and it is always on the waking part was not an issue. But if you do it for a laptop I would set the interval for longer than an hour, say to 4 hrs or so that your laptop doesn't wake up every hour in the bag.)

    I then set up the schedule as such with the following command line arguments from a cmd window:

    Code:
    path-to\wosb.exe /run /systray tm="+10:00" file="path-to\cmdNoWnd.exe" params="\"%ProgramFiles%\Windows Defender\MpCmdRun.exe\" -SignatureUpdate" repeat="1:00:00"


    What it does it runs my update Defender command (
    MpCmdRun.exe -SignatureUpdate part) without a window (cmdNoWnd.exe part) 10 minutes after I run the line above and then repeats it every hour (repeat="1:00:00" part.)

    3. And since I was at it, the line above calls another free tool (
    cmdNoWnd) from the same site that runs my Defender command without showing the command window. Very handy and no need to do the VB script hack as was suggested above.
      My ComputerSystem Spec

  2.    09 Feb 2017 #12

    ahmd said: View Post
    Note that the tool is designed to wake your computer from sleep
    Is it necessary to wake it up to perform definition updates, which don't seem urgent?

    ahmd said: View Post
    VB script
    I prefer the above, which entails no installation, to the following, which needs to be installed.
    ahmd said: View Post
    cmdNoWnd.exe
      My ComputerSystem Spec


  3. Posts : 63
    Xp, Vista, 7, 8.1, 10
    Thread Starter
       09 Feb 2017 #13

    I don't think there's any installation needed. It's just a file you can run.

    But otherwise, yes of course. I'm sure there's more than one way to do it.
      My ComputerSystem Spec

  4.    10 Feb 2017 #14

    ahmd said: View Post
    I don't think there's any installation needed. It's just a file you can run.
    Do you mean it is a portable program?
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Solved Stop Automatic Updates on windows in Windows Updates and Activation
Hello everyone can any body plz tell me how to Stop Automatic updates on windows 10???
How can I stop Windows Defender definitions update notifications? in AntiVirus, Firewalls and System Security
They happen every day and I always get this slide in toast notification. The updates are like 50kb and are done in .5 of a second, I don't need to know about it I think it's because I disabled auto update because I'd heard of Windows 10 handling...
So on RTM build, you used to have these options: http://i.imgur.com/LkYd41O.png But now, in TH2, you only have this: 50227 Is anyone else annoyed that Microsoft seems to be PURPOSELY REMOVING more and more of users' choice...
Greetings, I have Windows 10 Home Edition, like millions of others. Like millions of others, I prefer to hibernate my computer rather than shut it down outright most nights. And like millions of others, I am getting awakened IN THE MIDDLE OF THE...
Solved How do I stop automatic updates? in Windows Updates and Activation
Hi everyone, I hate Windows 10 because it updates without my consent and slows my computer down a lot. I'd like to be notified that new updates are available and give my OK to download and install them. Can anyone help me please?
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 06:11.
Find Us