3

On Windows Server 2008 R2, when I run the following command I am getting the 1920. I've tried pretty much everything I am aware of and I can't figure out what causes the error. When I try to map the same network share using the UI and same credentials, everything works fine.

net use * \\EAAA-12345\C$\ /USER:\\EAAA-12345\Administrator Passw0rd /PERSISTENT:NO

Anybody knows how to get rid of the 1920 error?

jscott
  • 24,484
  • 8
  • 79
  • 100
Martin
  • 243
  • 1
  • 3
  • 9

2 Answers2

3

Remove the back-slash after the C$ and remove the back-slash between USER: and EAAA-12345.

So it should look like this:

net use * \\EAAA-12345\C$ /USER:EAAA-12345\Administrator Passw0rd /PERSISTENT:NO
Winter Faulk
  • 471
  • 2
  • 14
  • 1
    Check the OP's question's edit history -- they did have `\\` there, but the block quote markdown ate it. ;) I updated the question. – jscott Nov 17 '12 at 01:35
  • @jscott, Still need to remove the \\ between USER: and EAAA-12345 – Winter Faulk Nov 17 '12 at 02:07
  • I didn't want to edit the syntax OP supplied, as that may be integral to their issue, I just corrected the markdown formatting. :) – jscott Nov 17 '12 at 02:08
  • @jscott, had a mind hick up and thought you were the OP. I'll edit my comment to reflect your changes. – Winter Faulk Nov 17 '12 at 03:06
  • It seems markdown is a wicked temptress, it ate the double slashes in my first comment as well, I even used the backticks-of-protection! – jscott Nov 17 '12 at 04:14
1

In my case, the problem was due to a corrupted DNS suffix, in the VPN Ethernet adapter. check your network settings.

Control Panel --> Network and Sharing Center --> right click on the relevant Ethernet adapter --> Properties --> Internet Protocol version 4 --> Properties --> Advanced

Try also:cmd -> ipconfig /flushdns

bjoster
  • 4,805
  • 5
  • 25
  • 33
user696752
  • 11
  • 1