PDA

View Full Version : Use MapNetworkDrive to diff. domain? (W2K)



JNazarenko
01-09-2003, 01:03 PM
Hello,

I need a script that will map a network drive on a computer that is on a different domain than the one executing the script. Consequently, when I try to use .MapNetworkDrive, even with proper credentials in the other domain, it fails. It seems to need to know that the UNC path I am using is referring to a computer that is not in the local domain.

Is there some way I can map a drive to this computer on the different domain? What is the syntax for this? The script is used to copy files from one remote machine to a local machine daily.