Windows 10: Defender Update Signatures at Windows launch Hidden

  1.    24 Feb 2018 #1

    Defender Update Signatures at Windows launch Hidden

    Hi all!

    Before Creator's Update (1709) i had a simple command line to update Defender signatures at boot
    with task scheduler. And that was an all hidden task.
    The reason for this is because I've set Windows into notification mode for updates, and it's
    annoying to be notified of Defender signatures shortly after launch.
    However, that old command line no longer works with Creator's Update, and i had a hard time
    finding a solution without the ugly cmd window pop up.
    But here's a trick to execute powershell.exe in a hidden state, hence it's a clean background task.
    Create a folder named scripts under the C: drive, (C:\Scripts)
    Inside that folder create a textfile and name it Defender.ps1
    Input only this one-liner into that textfile and save:
    Inside the same folder create another textfile and name it Defender.js
    Input this into that textfile and save:
    var wshShell = new ActiveXObject("WScript.Shell");
    wshShell.Run('%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy Bypass -File "C:\\Scripts\\Defender.ps1"', 0, false);
    Now create a task in task scheduler with these settings:
    Trigger: At logon
    Action Start a program, Program/scipt: wscript
    Arguments: "C:\Scripts\Defender.js"

    The reason this works is because wscript is not a console program.
    Voilą done!
      My ComputerSystem Spec

  2.    24 Feb 2018 #2

    Thanks- looks really handy- I've been annoyed by exactly that but not got around to thinking how to deal with it.
      My ComputerSystem Spec


Related Threads
Solved Defender Security Center displays at Windows launch in AntiVirus, Firewalls and System Security
(I'm not sure if this is the best section to post this.) After updating 3 systems with Windows 10 Fall Creator's Update (1709) Windows Defender Security Center displays whenever Windows launches at bootup and I then have to close the interface....
I am using a program called ThrottleStop to undervolt my laptop. I have configured it via Task Scheduler to launch minimized at the log on of any user. Is there any way to launch it with the icon hidden in the system tray, similar to how Windows...
I need to find xinputhid driver signature .cat file, where Windows store this files ? I need to use xinputhid driver for Xbox One Controller from Anniversary build 14393.0 now in Creators Update because in this build Microsoft changed...
Windows Defender Scan on launch application in AntiVirus, Firewalls and System Security
Hi, so lately i've found that when launching a application windows defender does a full scan of all its files etc, not sure if this is exactly normal but when running apps with multiple files eg photoshop with presets fonts etc, it scans them all...
Windows Defender becomes a hidden icon and stays in AntiVirus, Firewalls and System Security
I have Windows Defender set to not show on the taskbar and it normally doesn't show in any form however when I launch the program or do a scan, the "show hidden icon" arrow will appear on the taskbar and if I click it, the Windows defender icon is...
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 12:19.
Find Us