Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I map a drive to another server on another domain using net use? I tried using these commands but they didn't work. Currently our company is setup with OpenVPN if this matters

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

net use n: \\servernamesharename /user:username@domainname password

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 permisions 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 spent a couple hours searching, but I haven't had success.

share|improve this question
1  
You could tell us a little more about what happens when you try the above, can she browse to the drive via explorer, etc? –  RobM Jun 20 '10 at 19:05

2 Answers 2

you need a \ to separate the domain & user,

e.g. DOMAIN\USER

net use n: \\servername\sharename /user:domainname\username password
share|improve this answer

Remember that the vpn software may be blocking smb traffic, as may be the server to which you are connecting.

If the server is, say, windows 2008 and it has a firewall rule to allow smb connections from the localsubnet but not from other subnets then your connection will fail.

If you want more info you'll have to specify what you mean by 'didn't work'

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.