Solved

Automatically Map Network Drives when users connect via VPN

Posted on 2012-04-09
9
1,980 Views
Last Modified: 2012-04-28
We have a SBS 2011 installation with a number of users connecting via VPN.

Users that are connected to the domain have 3 mapped network drives which are auto applied when logging in.  Is there some way to achieve the same when connecting via VPN?

In this case, it isn't practical for us to establish the mapped network drives on each client PC because of the number of clients - and in most cases, the clients don't or can't be bothered to establish them either...!

So the questions are:-

1.

How do I automatically create mapped network drives when a user connects via VPN?

2.

If this requires use of a script, please provide an example.
0
Comment
Question by:Team1_Coder
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37822883
you will require to configure something  in the VPN Client. as user already logged into the machine and after that he connect to VPN. after VPN Connection is established then only user will be able to mapthe drive.
I will suggest to configure that in your VPN Client software. ..
0
 

Author Comment

by:Team1_Coder
ID: 37822895
Anuroopsundd

Thanks for your comment...
I will suggest to configure that in your VPN Client software. ..

We are using the Windows SBS 2011 VPN - how do I configure that?
0
 
LVL 7

Expert Comment

by:Abbas Haidar
ID: 37822898
I believe if you already have the script on loggin, you just need to enable netbios on VPN. if you need more information on this let me know.
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37822902
you can make a small batch script which user have to just double click after VPN connection

just put below  and ones user run this.. drives will be mapped..

net  use  x:  \\ServerName\ShareName
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Team1_Coder
ID: 37822906
absi81

Thanks for your comment.  Currently we uses the Group Policy method of creating mapped network drives for users when they login.  This doesn't appear to have any facility for VPN users.

I am interested in your suggestion of using NETBIOS on VPN - please could you send me more detailed information together with a possible script for mapping the network drives?

Thanks
0
 

Author Comment

by:Team1_Coder
ID: 37822908
Anuroopsundd

Thanks for your response - we cannot get the script to all users and they are unlikely to run it anyway - there must be some way to deploy this automatically from the SBS?
0
 
LVL 92

Accepted Solution

by:
John Hurst earned 500 total points
ID: 37823013
>>> we cannot get the script to all users and they are unlikely to run it .

I use local scripts with clients frequently. The scripts are small (NET USE commands as described), go in the local Documents folder, so they are easy to distribute. And I have had excellent success with training by putting the shortcut to the login script on the desktop. "Double click here". My clients readily adapt to this.

As an alternative, however, NCP Secure Entry (best of breed client application) has an option to log onto the domain and then scripts can run from the user's Active Directory setup.

NCP-Auto-Logon
... Thinkpads_User
0
 
LVL 7

Expert Comment

by:Abbas Haidar
ID: 37823253
ok, are you using hardware or Software VPN? if it is a hardware, you can enable that under the VPN settings. but in all cases you can edit the lmhost file on local computers on the VPN destination side. I used this and itworked for me please check this out http://support.microsoft.com/kb/314108.
if you are using windows 7 machines you might need to disable UAC too.
0
 
LVL 7

Expert Comment

by:Abbas Haidar
ID: 37823305
what I meant is to add the IP address of the server to be mapped to the server netbios name.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sync Azure AD to a local AD Server 4 67
EIGRP Load sharing 12 59
OSPF Question 12 54
ASA - RV130 VPN tunnel, cannot pass traffic 8 52
SSL is a very common protocol used these days when browsing the web.  The purpose is to provide security to communication, but how does it do it?  There are several pieces at work that have to be setup before SSL will even work and it requires both …
I've written this article to illustrate how we can implement a Dynamic Multipoint VPN (DMVPN) with both hub and spokes having a dynamically assigned non-broadcast multiple-access (NBMA) network IP (public IP). Here is the basic setup of DMVPN Pha…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now