mapped drive via vpn

Posted on 2004-10-21
Last Modified: 2010-07-27
I have an XP PC and occasionaly I connect to a Firebox/VPN server to get to a hub that has our ptp network. When I use this VPN connection I need to map or connect to a drive that's on the network. If I use MS Word prior to mapping/connecting the drive it remains "not accessable/invalid drive letter" until I drop the connection, reconnect and connect that drive first. I can browse the drive and access it with anything else but word, so it's local to word. How can I initiate a script when I start the VPN?
Question by:larksys
    1 Comment
    LVL 5

    Accepted Solution

    Not sure if you can do it all in one.  All I can suggest is connect to vpn, then create a batch file that does the drive mapping and run that everytime you use it.

    Unless of course you have a VPN client that has command line options.  Not sure about the windows vpn connections, have never tried to run it via command line.

    for your mapping,

    Net use s: \\{Path to resource} or whatever drive letter you need.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Prepare to Pass the CompTIA A+ 900 Series Exam

    CompTIA aims to adapt its A+ Certification to reflect the most current knowledge and skills needed by today's IT professionals--and this year's 2016 exam is harder than ever. This certification is one of the most highly-respected and sought after in IT.

    Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
    A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    913 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

    13 Experts available now in Live!

    Get 1:1 Help Now