[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 12588
  • Last Modified:

Run VBS silent from logonscript

I run a VB script from within a logonscript.

Is there a way to run the VBS silent? To day it look like this in the logonscript (logon.bat)

START \\server-666\Logon\PC-Database\PC-Info.vbs

Regards
Kasper_K
0
Kasper Katzmann
Asked:
Kasper Katzmann
1 Solution
 
chandru_solCommented:

Just try this from your batch file

call \\server\share\script.vbs

regards
Chandru
0
 
ubigCommented:
Or alternatively

@START cscript /B \\server-666\Logon\PC-Database\PC-Info.vbs

@ at the begin suppresses show of batch command, cscript processes vbs file and /B means "run in batch (silent) mode".
0
 
-CPG-Commented:
Neither of these worked for me.
0
 
MMBSCommented:
Thanks ubig, your option works best for me, CALL was still giving my users an error box to press OK
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now