Net use – System error 1920 has occurred

network-sharewindows-server-2008windows-server-2008-r2

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?

Best Answer

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