. Advertisement .
..3..
. Advertisement .
..4..
I don’t know what I’m doing wrong, but I’ve already lost a couple of days struggling with this. Here is my command line:
net use n: \\192.168.10.120\test "<password>" /user:"<domain\username>"
This returns:
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
I don’t have any experience with the “multiple connections to a server or shared resource by the same user.” In this case, how should I change?
The cause: I think this error happens because it’s possible that the Windows Credential Manager is retaining network sharing credentials. Even if you delete the shared folder using
net use * /del
, there is still a connection on the server side.The solution: To get around this difficulty, you need map the drive in such a way that Windows thinks it’s a different share on a different server. Using DNS aliases or IP addresses is the simplest way to do this. If your first mapping utilizes an IP address, such as
\\IP\Share
with your current credential, you should use something which establish a new share with the new credentials like\\ServerName\Share password /user:Domain\Username
This problem can be solved by restarting the Workstation service on the client’s computer. In cases where the client’s computer was not rebooted, this worked. Restarting the service is faster and easier than a reboot.
I believe that the local Windows computer is cacheing some old information, and it seems to be clearing it out.
For more information about restarting a service see this question. The most important thing is to run the following commands from a command-line:
Notice – The
/y
flag will cause the service to cease even if it interrupts existing connections. It will still prompt the user to wait and wait. This may be necessary to script.These commands can also be used to stop the netlogon server on Windows Server 2016 (and possibly other operating systems). You will need to add
net start netlogon