set objShell = createobject("wscript.shell") objShell.Run("""C:\Program Files\Windows Defender\MpCmdRun.exe"" ""-SignatureUpdate""") , 0 <br> Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "D:\Balloontip.vbs" & Chr(34), 0 Set WshShell = Nothing
The above is used in a VBS file. When I use Task Scheduler to run it, a command window will appear and then disappear immediately. Is it possible to run it without any command window?
If I use the 'Matthew_Wai' user account, the .vbs file can be run with a momentary window.
But if I use 'SYSTEM' as shown below, the .vbs file cannot be run with no window and error message (nothing happens at all).
(I can change my display language to English if need be.)