Mapping a DFS using NET Use remotely throwing Error 1312.A specified logon session does not exist. It may already have been terminated <p>I am trying to map a distributed file system (DFS) from a remote machine using net use $drive_letter $target $password /user:domain\username</p> <p>If I do this by logging to the machine there is no error, however if I try this remotely I get </p> <p>System error 1312 has occurred. A specified logon session doesnt exist. It may already have been terminated.</p> <p>Has anyone faced this issue before?</p> <p>Or is there any alternate way to map the network drive remotely without encountering these issues?</p>