Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vpn map network drives 1

Status
Not open for further replies.

RustyAfro

Programmer
Jan 12, 2005
332
US
I successfully connected to my vpn, but network places does not show the server.

What is the easiest way to connect client servers to shared folders when connected to the vpn?
 
Right click My Computer and choose "Map Network Drive." Supply the UNC path (\\servername\sharename) and you should be fine.

If you are connected via VPN but can't connect to anything, it's probably because your local IP address space is the same as the office's. Like 192.168.1.0.....

ShackDaddy
Shackelford Consulting
 
Yep, that worked. I also found this through a microsoft group:

a. You also may workaround this by creating a batch file (.cmd) to contain
the following line:

net use w: \\Server\New_Share /user:Domain\User password

I didn't try it, but I could see that being very helpful if the users can just double click it and it creates the share. I wonder if that command though would reconnect at login or not.
 
That script maps the drive, but doesn't actually open the drive for the user. What I described in the GUI does the same thing. If you wanted to map a drive from the command-line, you could type that exact thing in.

If you add a "/PERSISTENT:YES" to the end of it, it would ensure that it would reconnect, but I've found that once I map the drive in the way I described, it's usually available beyond reboots and logoffs.

ShackDaddy
Shackelford Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top