So I was working on two laptops today and had to copy few files from one laptop to the other. As I always do, I tried to access the second laptop using the Run command \\hostname\shared_folder. It asked for credentials of the other laptop and then suddenly this weird error message popped up.
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed
For some time, I couldn’t understand it but then however, I suddenly realized that I had earlier used the same command to connect to this second laptop and so this connection was already established in the first laptop. However, I recently changed the credentials for the second laptop.
Now what exactly happened was, my first laptop was trying to connect to the second laptop using 2 sets of credentials; One were the earlier credentials, and other were the ones I entered now. Hence the error message.
The way to solve this problem is pretty simple actually. Use the net use command from command prompt to see all the shared network resources to which a connection has already been established.
If you see the shared resource in the list, you will need to reset the connection to that resource. Simplest way to do that is to delete that connection.
The command to delete the connection is
net use \\servername\shared_folder /delete
In my case, I used
net use \\hostname\shared_folder_name /delete
If in case, you do not have many shared resources, an even more simpler way is to just delete all the connections. The command to do that is
net use * /delete
When you press ENTER, you will be asked for confirmation. Just enter Y and press enter again. Now the connection has been deleted. This enforces your machine to take a new set of credentials when connecting to the shared resource next time.
**P.S. : In most cases, you can use the IP address of the Server on which the shared drive exists.
This works most of the times. Didn’t work for me though! Still trying to find out why.
Hope this helps!