Solved

Run VBS silent from logonscript

Posted on 2007-11-19
4
12,239 Views
Last Modified: 2011-03-17
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
Comment
Question by:Kasper Katzmann
4 Comments
 
LVL 12

Accepted Solution

by:
chandru_sol earned 500 total points
ID: 20311737

Just try this from your batch file

call \\server\share\script.vbs

regards
Chandru
0
 
LVL 8

Expert Comment

by:ubig
ID: 20311809
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
 
LVL 2

Expert Comment

by:-CPG-
ID: 24323634
Neither of these worked for me.
0
 

Expert Comment

by:MMBS
ID: 35161485
Thanks ubig, your option works best for me, CALL was still giving my users an error box to press OK
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now