• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

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.
0
Iused2kno
Asked:
Iused2kno
  • 2
  • 2
1 Solution
 
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
 
Iused2knoAuthor Commented:
That's what I thought. Thanks for the help!
0
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now