Software that establishes mapped drive over VPN

Posted on 2009-02-18
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

    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.   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

    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..
    LVL 3

    Assisted Solution

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    VPN server setup 5 56
    Internal Private Network 7 57
    Windows Domain Design with Remote Location 2 30
    VPN Channel Question 13 85
    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
    After creating this article (, 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…
    After creating this article (, 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…

    729 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

    20 Experts available now in Live!

    Get 1:1 Help Now