Solved

Reconnect Disconected Mapped Drive Windows

Posted on 2013-06-21
4
349 Views
Last Modified: 2013-06-21
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
Comment
Question by:Iused2kno
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Jaroslav Latal
ID: 39266428
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
 

Author Comment

by:Iused2kno
ID: 39266655
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
 
LVL 7

Accepted Solution

by:
Jaroslav Latal earned 500 total points
ID: 39266809
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
 

Author Closing Comment

by:Iused2kno
ID: 39266820
That's what I thought. Thanks for the help!
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

697 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