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

Page 1 of 2 12 LastLast
  1.    30 Jan 2017 #1

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


    My goal is to prevent Windows 10 from rebooting whenever it wants to. It happened twice already that I got my computer in the morning in a refreshly rebooted state. I didn't lose any data, but it then takes me several minutes to reload all the apps etc. In other words it's a big pain-in-the-a$% so my goal is to revert updates to how they used to work in Windows 7, i.e. "I own the computer and I decide when to reboot!"

    So I ran gpedit.msc as an admin and then went to
    Local Computer Policy -> Computer Configuration -> Admin Templates -> .... (can't remember the full path) ... eventually to Configure automatic updates and set it to "Auto download and notify for install." I then also enabled the local GPO to "No auto-restart with logged on users for scheduled automatic updates" Here's the full setup:
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	25 
Size:	45.8 KB 
ID:	119088
    And here's that specific setting:

    Click image for larger version. 

Name:	Capture3.PNG 
Views:	25 
Size:	39.1 KB 
ID:	119091
    After that these GPOs seem to have held off automatic reboots, but now I got one less pesky but still annoying thing. Every day this thing dings me with a popup:

    Click image for larger version. 

Name:	Capture.PNG 
Views:	42 
Size:	55.8 KB 
ID:	119089
    which then brings me to this:

    Click image for larger version. 

Name:	1.PNG 
Views:	3 
Size:	14.4 KB 
ID:	119090

    So I was wondering, is there a way to automate installation of those definitions for Windows Defender so that I don't have to do it manually every day?

    PS. I tried setting the following as a daily task in the Task Scheduler, and although it used to work in Windows 8.1, in Windows 10 it doesn't seem to do anything and I still get those dings:

    "C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate
      My ComputerSystem Spec

  2.    30 Jan 2017 #2

    Please see
    Scheduled Defender Definition Updates Not Completing After AU

    Click image for larger version. 

Name:	Snap 2017-01-30 at 09.48.50.jpg 
Views:	4 
Size:	107.5 KB 
ID:	119092
    is a convenient way to set Windows to notify.

    And presumably you are aware of the (limited) active hours feature in settings (12 hour period max) to restrict restarts.

    I've never experienced an unexpected restart, even when one is pending outside active hours, curiously.
      My ComputerSystem Spec

  3.    30 Jan 2017 #3

    Well, it warns me. I just don't want to do it whenever Microsoft decides to. Like I said it takes too long to reload everything. I usually reboot it once a month or so, or if some critical patch is out.

    From that link that you posted, just curious, how is:

    "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate

    different from:

    "C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate

    that I've been using?
      My ComputerSystem Spec

  4.    30 Jan 2017 #4

    Further discussion:
    Scheduling silent hourly Windows Defender definition updates using Task Scheduler on Windows 8 - Super User
    - plenty on the web on this if you search.

    In particular if you want a completely silent update (no window):
    When the task is run, a black CMD window will open momentarily and close down.

    If you wish to run a silent update, instead of: C:\Program Files\Windows Defender\MpCmdRun.exe –SignatureUpdate you may use: C:\Program Files\Windows Defender\MSASCui.exe -Update.
    Update Windows Defender when Automatic Updates is disabled

    (or %programfiles% as necessary)
      My ComputerSystem Spec

  5.    30 Jan 2017 #5

    Thanks. Like I said what worked in Windows 8.1 doesn't seem to work with Windows 10.

    I haven't seen this though, so I'll try:

    "C:\Program Files\Windows Defender\MSASCui.exe" -Update -Hide
    It seems to start a GUI version of the Defender and update it (without -Hide). Unfortunately it doesn't close it (even with -Hide supplied.) Pretty stupid, IMHO. But at least it's better than nothing. So I'll try that and will post a report later...
      My ComputerSystem Spec

  6.    31 Jan 2017 #6

    The following VBScript is run at 6-hours intervals via Task Scheduler on my Windows 10.
    Createobject("").run("""C:\Program Files\Windows Defender\MpCmdRun.exe"" ""-SignatureUpdate"""), 0
    It runs silently in the background with no momentary GUI and command window.
      My ComputerSystem Spec

  7.    31 Jan 2017 #7

    To stop the notifications popping up, you could use quiet mode. Click on the action centre icon next to the clock and click on quiet hours. This should stop notifications appearing.
      My ComputersSystem Spec

  8.    31 Jan 2017 #8

    @swarfega I'm not trying to kill notifications. I was just trying to make that thing install definitions automatically. Is it too much to ask? And so far I did not succeed.

    @Matthew Wai That is exactly what I was doing before (well, just as a command itself) and it didn't work. Works on 8.1 but not on Win10.

    Also want to report that the following doesn't do anything either:

    "C:\Program Files\Windows Defender\MSASCui.exe" -Update -Hide
    Got another one of those dings this evening.

    Any more ideas, guys?
      My ComputerSystem Spec

  9.    31 Jan 2017 #9

    ahmd said: View Post
    @Matthew Wai That is exactly what I was doing before (well, just as a command itself) and it didn't work. Works on 8.1 but not on Win10.
    Is there a reason why it works on my Windows 10 but not on yours?
    Does it work on other members'?
      My ComputerSystem Spec

  10.    31 Jan 2017 #10

    Try using VBScript to call a .cmd file containing the following command:
    "C:\Program Files\Windows Defender\MpCmdRun.exe" "-SignatureUpdate"
    It will run silently in the background with no momentary GUI and command window.
      My ComputerSystem Spec

Page 1 of 2 12 LastLast

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: 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 03:02.
Find Us