![]() ![]() Other possible settings for intWindowStyle:Ġ = Hide the window and activate another window.ġ = Activate and display the window. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |