Logon script upon connecting

S

Sheldon

Hi All,

When the client completes the connection to the VPN
server, I want his/her regular network logon script (that
executes when they are normally connected via the lan) to
run so that the mapped drives are available. I notice that
this doesn't happen by default so I assume I need to
enable this somewhere. Can someone please point me in the
right direction?

Thanks,

Sheldon
 
B

Bill Grant

VPN connection is not a logon operation, so logon scripts do not run.

You can try using the "logon using a dialup connection" option on the
client to actually do a domain logon when you connect. Otherwise you will
have to find some other condition to trigger your script to run.
 
G

Guest

Hmm, so it's actually just a connection. I guess what I
could do is just e-mail/copy the batch file script that we
use. Then once they make the connection, they run the
script locally giving them the drive mappings they will
need.


Thanks for the response, I appreciate the help.

Sheldon
 
S

Sharoon Shetty K [MSFT]

If the permissions for the mapped shares are specific to a particular user
credentials which is not stored in the VPN client's credential manager, the
network logon popup automatically comes. However the VPN credentials for the
client is the same as the credentials for the mapped shares, the user does
not get a confirmatory logon pop up and the user can access the share and
the authentication is done using the credentials stored in the credential
manager.

Thanks,
Sharoon
 
S

Sharoon Shetty K [MSFT]

Sorry I misunderstood the question!

Could you give more details on what you meant by network logon script?

Thanks,
Sharoon
 
B

Bill Grant

The logon script does not run because setting up a VPN connection is not a
logon operation! Your machine is normally already logged into something (a
local domain or even a local logon to the machine itself).

You can try using the "logon using a diaup connection" option to force a
logon to the server when you connect. Otherwise you will need some other
event to trigger off your script.
 
S

Sharoon Shetty K [MSFT]

Network logon scripts is executed only when the user logs on. It does not
happen during the VPN connection when the user already logged on
successfully. However you can simulate the scenario by running a post
connect script to do this action.

Thanks,
Sharoon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top