Solved

Reconnect Disconected Mapped Drive Windows

Posted on 2013-06-21
4
339 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:JardaCZ
Comment Utility
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
Comment Utility
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:
JardaCZ earned 500 total points
Comment Utility
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
Comment Utility
That's what I thought. Thanks for the help!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

9 Experts available now in Live!

Get 1:1 Help Now