Switch to full style
Forum for all technical support and trouble shooting of the WinGate VPN.
Post a reply

Net Use Login script

Oct 25 05 5:37 pm

Hi All,
Please tell me where I can set up a login script with WingateVPN, this script needs to run after the connection is made for drive mapping.

Thanks.
Cliff.

Oct 25 05 6:36 pm

Unfortunately at the moment there is no scripting support available on connection establishment.

Oct 28 05 12:49 pm

Is there any way to run a .bat file on connect.

Thanks.
Cliff.

Oct 28 05 10:02 pm

Heres a couple of ideas... but I doubt it will be much help :)

What about if ya just map the drives persistently, then, the only time they will work are when the VPN is connected?

Or another way, is to use the WinGate Scheduler. Schedule a time when the VPN connects, and then schedule another event 1 minute later to execute a commadline

Oct 31 05 4:50 pm

Thanks for the help, option 2 works perfect...
This is the command I'm using.

net use k: \\server\c$ /USER:mydomain\myshare mypassword



Cliff.
Post a reply