Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Auto map network drive on VPN connect

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-05-2010
Member
 
Join Date: Mar 2010
Posts: 69
Auto map network drive on VPN connect
  

I have a lot of computer in my network connected to a single server. I want to set it up in such a way that if a user connect to the VPN it will automatically map to the network drive. My intention is that we don't want to go to each and every persons computer to map the drive. So is there any way to get it done automatically?

Reply With Quote
  #2  
Old 08-05-2010
Member
 
Join Date: Jun 2009
Posts: 1,205
Re: Auto map network drive on VPN connect

You can create a batch including auto vpn plus mapping. In the script, you provide all the steps to connect to vpn connection and then use "net use" command to map the network drive. But make sure you have netbios enabled over TCP.
Reply With Quote
  #3  
Old 08-05-2010
Member
 
Join Date: Jan 2006
Posts: 4,231
Re: Auto map network drive on VPN connect

There is 2 ways, first is you get connected to VPN connection as you do usually and then run a batch file from the user's computer to map the network drive. Or you go to login box, connect using a dial up connection and get connected to VPN before login process completes and then a script runs from the server which may even include drive mapping.
Reply With Quote
  #4  
Old 08-05-2010
Member
 
Join Date: Nov 2008
Posts: 1,068
Re: Auto map network drive on VPN connect

But why do you want to do that automatically, you can even do that manually and it hardly takes few minutes to map a network drive? You can have some automation for connecting VPN but mapping a network drive is very simple, a small command is enough to get a drive mapped.

Try
Quote:
net use Z: "\\server\share" password /USER:Userid
Make sure you give the correct path of the drive and folder and also provide the correct username and password to avoid any errors.
Reply With Quote
  #5  
Old 11-05-2010
Member
 
Join Date: May 2008
Posts: 945
Re: Auto map network drive on VPN connect

I would add certain points in support of Connect_Me. If your main concern is to map a drive, go to command prompt and type
Code:
net  use  x:  \\ServerName\ShareName
where servername is the name of the server on which the file/folder is present and the sharename is the name of the drive to which you want to map. If you are unsure about the server name then you can even use the IP address of the server such as "192.168.1.1\ShareName"

Create this file in any editor and save it with .bat extension.
Reply With Quote
  #6  
Old 10-03-2011
Member
 
Join Date: Mar 2011
Posts: 1
Re: Auto map network drive on VPN connect

I'll grant that mapping a network drive is quite easy. I think what has been forgotten, though, is that most users don't care to bother with those "easy geek things." Automatically mapping network drives will certainly keep all those C-level users happy, and that's what we IT professionals are supposed to do.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Auto map network drive on VPN connect"
Thread Thread Starter Forum Replies Last Post
MAC OSX 10.5.2 Auto Map Network Drive Macario Networking & Security 7 25-09-2010 12:01 PM
Auto Mapping Network Drive VBS Mulan Networking & Security 6 11-05-2010 11:06 PM
How to add auto map network drive in samba server config Feng Networking & Security 6 11-05-2010 10:56 PM
How to setup auto connect Ad-Hoc wireless network in Vista? bildos Vista Help 2 19-03-2009 03:49 AM
How to connect a network hard drive on your PC ? CiscoUser Networking & Security 2 26-11-2008 05:50 PM


All times are GMT +5.5. The time now is 01:16 AM.