Link to home
Start Free TrialLog in
Avatar of geriatricgeek
geriatricgeekFlag for United States of America

asked on

can i run vb script file from a novell log on file

I have a vb script that resides on a windows server that will inventory my network workstaitons. the users authenticate thru novell using a novell log on script that everyone uses.
Can i incorporate the path to the vb script into the novell script so that the workstations will run the auditing script after authenticating so my network audits are current?
Avatar of deroode
deroode
Flag of Netherlands image

Do your users authenticate also to the windows server?

You will have to make a connection somehow to the windows server. That can be with the user himself if accountname and password are identical:

in the login script use the following:

#net use \\server\share
#cscript \\server\share\sript.vbs

Or if your users aren't known on the windows server you could login with a different user:

#net use \\server\share password /user:domain\audituser

where audituser is a generic user for launching the auditing script.
Avatar of geriatricgeek

ASKER

the users also autenticate to a windows server, but the novell server runs the script. do i insert the lines using my server names in the following?
#net use \\server\share
#cscript \\server\share\sript.vbs
Yep, that should do the trick. Replace server with the name of your server (or DNS name), share for the name of your share.

# in a Novell login script means "execute an external command, wait for finish"
thanks for the info. the wait for finish doesn't mean it will wait for the audit to finish does it? just the command? it will continue to sign on and allow the user to begin working, correct?
ASKER CERTIFIED SOLUTION
Avatar of deroode
deroode
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i'll give this a shot. thanks.