[vpn-help] Domain login and network drives map

Hunter, Mathew Mathew.Hunter at perkinswill.com
Fri Oct 18 15:12:15 CDT 2013


2 things Rosie,


1)      If you are being prompted for credentials when trying to access drives then you aren't logged in to an account on the same domain, or not logged into a domain account with a domain trust relationship to the target domain.  This has nothing to do with vpn and would be the equivalent to bringing your home machine into work and plugging it into the network.

2)      VPN software doesn't typically run scripts after to map drives etc.

You could write an application/script that runs ipsecc.exe (located in the shrewsoft install folder) then waits a few seconds or preferably checks for vpn connection every few seconds until successful and then tries to map drives.  If the vpn connection was present at login time then your drives would map with your normal login scripts.



Most people just do it in 2 steps, vpn, map drives.


The syntax for the ipsecc.exe is:
ipsecc.exe -r "name" [ -u <user> ][ -p <pass> ][ -a ]
-r             site configuration path
-u             connection user name
-p            connection user password
-a             auto connect




Mathew Hunter

From: vpn-help-bounces at lists.shrew.net [mailto:vpn-help-bounces at lists.shrew.net] On Behalf Of Rosaida Angulo
Sent: Friday, October 18, 2013 12:41 PM
To: vpn-help at lists.shrew.net
Subject: [vpn-help] Domain login and network drives map

Hi,

I downloaded the Professional version and I tried to get my network drives mapped through the VPN as we do in our office.

The tunnel was established, I was asked to enter my domain credentials, I accessed the server folders and files but it doesn't map automatically the drives that we have configured in our Windows server 2008 R2 through GPO.

Is there a way to have my network drives mapped with my connection with Shrew Soft VPN?

Thanks,
Rosie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20131018/eabd840b/attachment.html>


More information about the vpn-help mailing list