Net Use Login script

Forum for all technical support and trouble shooting of the WinGate VPN.

Moderator: Qbik Staff

Net Use Login script

Postby Cliff Dungey » 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.
Cliff Dungey
 
Posts: 36
Joined: Aug 05 05 8:18 pm

Postby genie » Oct 25 05 6:36 pm

Unfortunately at the moment there is no scripting support available on connection establishment.
genie
Qbik Staff
 
Posts: 1788
Joined: Sep 30 03 10:29 am

Postby Cliff Dungey » Oct 28 05 12:49 pm

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

Thanks.
Cliff.
Cliff Dungey
 
Posts: 36
Joined: Aug 05 05 8:18 pm

Postby ImmediateAction » 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
Every ordinary person is responsible for the rise and fall of his country. - Chinese proverb
ImmediateAction
 
Posts: 58
Joined: Apr 23 05 11:42 am

Postby Cliff Dungey » 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.
Cliff Dungey
 
Posts: 36
Joined: Aug 05 05 8:18 pm


Return to WinGate VPN

Who is online

Users browsing this forum: No registered users and 50 guests