Link to home
Create AccountLog in
Avatar of Jody Reid
Jody ReidFlag for United States of America

asked on

Script to copy file from one domain to another domain

I am looking for a script that will copy files from one server on a domain to a server on another domain but on different Forrest. Is this possible? I have tested a few scripts with robocopy but will not work for me with 2 different domains. Any help would be great.
 Thank you.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

net use * \\servername
when you get the prompt use the other domain credentials i.e.
local user jbloe@example.com
when net use asks for username/password
joewho@exaple1.com and joewo's password
ASKER CERTIFIED SOLUTION
Avatar of Robert
Robert
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer