[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Software that establishes mapped drive over VPN

Posted on 2009-02-18
Medium Priority
Last Modified: 2012-05-06
I was wondering if there is any type of 3rd party software that initializes a mapped drive to a particular shared folder.

Currently I am using a batch file but it seems that it runs across errors and there is no error log.

Any Suggestions?
Question by:goretailpro
LVL 33

Accepted Solution

MikeKane earned 750 total points
ID: 23670798
There's no reason why the batch file wouldn't work so long as the VPN is functional and that the host is available across the VPN.  

Try these steps.  

#1 establish your VPN
#2 PING the server by name   i.e. server.company.com   Do you get a reply?  
#3 Ping the server by netbios name  i.e.    server       So you get a reply?  
#4 If the above 2 failed, try pinging by IP address.
#5 if any of the above worked, try accessing the share by exploring to \\<ip address>\share   then \\<server name>\share  
#6 post the results of those items and we can take it from there.  

Author Comment

ID: 23670949
I already have  a batch file that does this I was just inquiring if a 3rd party software would be able to do it also..

Assisted Solution

ciscoguy69 earned 750 total points
ID: 23671920
I have not run into software that only maps drives after initiating a login but if you are just looking for a log file from the batch file, you can either edit the file or create a shortcut to log all of the responses. If you edit the file, the initial command run should look like "net use x: \\server1\share1 > c:\log.txt" and subsequent commands should have the >> instead of just > to append to the same file. If you create a shortcut to run the batch file, just append the > c:\log.txt to the command you run in the shortcut properties. Make sure you have read write privs to the directory you are trying to write the log to.  

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Like many others, when I created a Windows 2008 RRAS VPN server, I connected via PPTP, and still do, but there are problems that can arise from solely using PPTP.  One particular problem was that the CFO of the company used a Virgin Broadband Wirele…
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Suggested Courses

868 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