Reconnect Disconected Mapped Drive Windows

Does anyone have a quick vbs or bat command to reconnect a disonnected mapped drive? I have a backup job on a workgroup computer that has a mapped drive using domain credentials to a share on a remote server. The backup job fails because the drive shows disconnected. I was thinking Net Use or something like that but unuse of a reconnect or something like that.
Iused2knoAsked:
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.

Jaroslav LatalMSPCommented:
Hello Iused2kno,

here is a description of net use command:
http://technet.microsoft.com/en-us/library/bb490717.aspx

what is the type of backup? NTBackup, server backup in 2008(R2)? What credentials do you use for backup?


Jarda
0
Iused2knoAuthor Commented:
Thanks for the quick response. My domain is well protected. I allowed a vendor to put up a server (workgroup) that has a role on my network. At night that server ueses a proprietary backup and copies the files to an outbound folder. His backup application uses the mapped drive with other credentials set to ftp the files to one of my domain file servers. I am not changing my time out to accommodate him. I want him to simply run the task scheduler to reconnect the drive a short time before his backup process starts. I know the Net Use command well but not in a workgroup to domain setup using other credentials. Thoughts?
0
Jaroslav LatalMSPCommented:
You can create local user on your server. While user names on customers server and your server are same, it should work.

If you run "net use" command with "/user:DomainUsername password" parameters, customer can reed that credentials.


Regards,
Jarda
0

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
Iused2knoAuthor Commented:
That's what I thought. Thanks for the help!
0
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
Windows 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.