Map Drive

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sajid Shaik MSr. System AdminCommented:
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
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
David Johnson, CD, MVPOwnerCommented:
when you map the drive from the command prompt use
net use z: \\servername\sharename /persistent
or from the guireconnect on login
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

käµfm³d 👽Commented:
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.
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?
SrikantRajeevAuthor Commented:
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.
Sajid Shaik MSr. System AdminCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SrikantRajeevAuthor Commented:
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.
SrikantRajeevAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.