Exception: 1219 WNetAddConnection2 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.

This could happen when you use VMware Server with SMB storage or otherwise. The error message is pretty self explanatory but here is how it can happen with VMware Server. 

Consider that VMware Server is installed on a machine which mounts SMB storage location with an administrator account.  Windows doesnt allow two sessions access the shared storage from the same machine. So if you are logged in VMware Server machine and is viewing the files of the shared folder(which is mounted on it), it means that you are causing issues for the other connection(maybe a program that uses it). So as indicated by the message, you need to kill all the sessions and allow restart the program.

1) Look at the sessions that are simultaneously running. On a Windows machine, Run -> ‘net use’. This will list all the connections.

2) Delete all the connections to the storage. Better still, do a ‘net use * /delete’

3) Ensure that you dont access the shared drive when the program is running.(to avoid starting a new connection)

It should work now.

Thanks,

Arun.PC

Advertisements

4 thoughts on “Exception: 1219 WNetAddConnection2 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.

Add yours

  1. Ok one more point here Also if you have the same path open in windows explorer it will not show up in net use. That was my problem. Brain fart but might help someone anyone. The solution is to merely close that instance of explorer and the drive will map.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: