I'm looking for a script to keep a mapped network drive active, after logging off.

Posted on 2008-11-07
Last Modified: 2013-11-14
Trying to locate a startup script that can essentially keep a mapped drive connected, after I log off the server. Any input your may have would be helpful.

Question by:hopkins-dinicola
    LVL 16

    Expert Comment

    Not sure this method may work for you but,
    What we have on our network here, is have a simple script to map a network drive (bat) and we use Group Policy and link it to run the script on logon. So the drive is mapped each time a user logs on.
    LVL 1

    Accepted Solution

    Not sure if this will help but it worked for me a while back. It's a batch file I created and used in startup.

    @echo off
    net use E: \\drive /user:DOMAIN\user password /persistent:yes

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  ( Here (http…
    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    761 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