Now you won't see any window during Windows Defender update.
ObjShell.Run('''C:\Program Files\Windows Defender\MpCmdRun.exe'' ''-SignatureUpdate'''), 0 The tricky part was the escaping together with the argument -SignatureUpdate set objShell = createobject('wscript.shell') VBScript's run method can open other programs in a hidden window via its second argument (, 0).
Use a VBS file instead of a CMD file and schedule it as usual with your Task Scheduler.