Map Drive

Posted on 2014-07-13
Last Modified: 2015-09-23
I have 2 servers. Server A & B. Both servers are running Windows 2008 R2.
I server B i shared a folder. I have created a local account in server B & shared that folder with that account.
In server A i have mapped that folder as map drive. By this i want to see the folder in server A in my computer as mapped drive.
I was able to map it. But when the server gets rebooted  the map drive gets disconnected. Is there any way the map drive is connected every time even after the reboot.
Question by:SrikantRajeev
    LVL 15

    Expert Comment

    by:Shaik M. Sajid
    yes y can

    go to control panel - credential manager.. - add windows credentials..

    Control Panel\All Control Panel Items\Credential Manager\Add a Windows Credential

    that's it all the best

    or while create map network drive check the image select that check box and save the credential check box after add the credentials..

    all the best
    LVL 87

    Expert Comment

    Use logon scripts to map drives, containing commands similar to the below:

    net use DriveLetterForMappedDrive: \\IPOfServer\ShareName

    You can add the logon scripts to the users' profiles
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    when you map the drive from the command prompt use
    net use z: \\servername\sharename /persistent
    or from the guireconnect on login
    LVL 74

    Expert Comment

    by:käµfm³d 👽
    But when the server gets rebooted  the map drive gets disconnected.
    When which server gets rebooted:  The one exposing the share, or the one with the mapped drive? If it's the former, then this shouldn't be an issue if you've already done what the others mention above; otherwise, if it's the latter, then you need to do what is described above.
    LVL 2

    Expert Comment

    im just taking a stab in the dark but do you get an Icon in your my computer that states its disconnected or does it disappear completely? after the server reboots?

    If it still shows in your "my computer" but just states its disconnected, have you tried to just double click the disconnected icon to see if its just not Windows that didn't updated the connection status?
    LVL 1

    Author Comment

    I am able to map the drive properly. But it always gets disconnected.
    In server B I have shared the folder with a local user account called user1.

    I logged into the server A via admin account say admin1 & mapped the network drive with credentials of user1 of server B.
    I am able to see mapped drive. It works.
    But after some time it gets disconnected. Not sure why.
    The admin1 account which i used to login has the password vality for some time say for 5 -6 hrs. After this i need to request the password for admin1. The password changes every 5 - 6 hrs. Could this be the reason for this.
    LVL 15

    Accepted Solution

    by default password validity will be in days not in hours..

    the second thing is it need a fixed password..  

    if u are accessing shared folder from server A rhen   A\serverA user  then the user password   then save credential should be chek...

    follow the david jhonsons image shown above .. thats it

    if it's changing password you must change the password frequently... but the frequency of password change will not the 5- 6 hours it's in 0 to ++++ days..

    all the best
    LVL 1

    Author Comment

    The account which i used to login to server A its corresponding password changes. When i login to teh server A with a password say "abc" & then i map the drive with a separate username & password account . This username & password never changes. But the server A password which I used to login keeps changing.
    LVL 1

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
    Video by: Kyle
    After watching the Introduction to GIMP and additional tools to use in GIMP we are shown how to utilize multiple tools to create a 3D effect image.

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now