How to persistently map a network drive to another domain?
Posted on 2007-12-06
I'm using Robocopy to backup files from a PC onto another PC that is on a different domain with no trust relationship, so I have to authenticate with whatever user I'm assigned to on the other domain. Robocopy copies fine so long as I map a network drive FIRST (providing authentication) before running robocopy. But I need to set this up automatically so that it'll backup on a daily basis without me having to map a network drive every single time.
I'm running this in a windows terminal session, so whenever I log out, the mapping disappears. Is there an solution to this?