How to map a drive to another domain using command prompt?

90 pts.
Tags:
Command Prompt window
Domain management
Network Drive Mapping
Network management
Server management
How can I map a drive to another server on another domain using net use? I tried using this command but didn't work:

net use H: servershare /user:domainuser password /persistent:yes 
and

net use n: servernamesharename /user:username@domainname password and net use n: servernamesharename /user:domainnameusername password

The user is able to see the folder but could not get in and she has her VPN open yet could not get in. I check the folder permissions in the server and everything looks ok from our end. Currently the user is located in Mexico. Is there any other way to do this? I would really appreciate if someone can help I already speed couple hours searching only but I haven't had success.
ASKED: June 17, 2010  6:39 PM
UPDATED: August 22, 2013  7:02 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
<pre> net use [* | letter:] \\server\share /U:DOMAIN\username [* | password] </pre>

I recommend that such mappings not be persistent so add a /P:NO to the command.

Check folder and share permissions for the user.

Ensure that TCP ports 139 and 445 are open for the VPN and properly routed.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Ricardo57365
    I'm currently using Open VPN if this matters.
    90 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following