Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed

前端 未结 9 495
夕颜
夕颜 2020-12-22 23:23

Using Windows 2008 R2. On our server we get this error: \"Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowe

相关标签:
9条回答
  • 2020-12-23 00:13

    In our network I have found that restarting the Workstation service on the client computer is able to resolve this problem. This has worked in cases where a reboot of the client would also fix the problem. But restarting the service is much quicker & easier [and may work when a reboot does not].

    My impression is that the local Windows PC is caching some old information and this seems to clear it out.

    For information on restarting a service, see this question. It boils down to running the following commands on a command line:

    C:\> net stop workstation /y
    C:\> net start workstation
    

    Note - the /y flag will force the service to stop even if this will interrupt existing connections. But otherwise it will prompt the user and wait. So this may be necessary for scripting.


    Be aware that on Windows Server 2016 (+ possibly others) these commands may also stop the netlogon service. If so you will have to add: net start netlogon

    0 讨论(0)
  • 2020-12-23 00:19

    I had given an answer in Super User site for the thread "Open a network drive with different user" (https://superuser.com/questions/577113/open-a-network-drive-with-different-user/1524707#1524707)

    I want to use a router's USB drive as a network storage for different users, as this thread I met the error message

    "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."

    Beside the method using "NET USE" command, I found another way from the webpage

    http://backupchain.com/i/how-to-fix-error-1219-multiple-connections-to-a-server-or-shared-resource-by-the-same-user

    It is better to solve the Windows connection limitation by editing the hosts file which is under the directory "C:\Windows\System32\Drivers\etc".

    For example, my router IP address is 192.168.1.1 and its USB drive has three share folders as \user1, \user2 and \user3 which separated for three users, then we can add the following three lines in hosts file,

    192.168.1.1 server1

    192.168.1.1 server2

    192.168.1.1 server3

    in this example we map the server1 to user #1, server2 to user #2 and server3 to user #3.

    After reboot the PC, we can connect the folder \user1 for user #1, \user2 for user #2 and \user3 for user #3 simultaneously in Windows File Explorer, that is

    if we type the router name as \\server1 in folder indication field of Explorer, it will show all shared folders of router's USB drive in Explorer right pane and sever1 under "Network" item in left pane of Explorer, then the user #1 may access the share folder \user1.

    At this time if we type \\server2 or \\server3 in the directory indication field of Explorer, then we may connect the router's USB drive as server2 or server3 and access the share folder \user2 or \user3 for user #2 or user #3 and keep the "server1" connection simultaneously.

    Using this method we may also use the "NET USE" command to do these actions.

    0 讨论(0)
  • 2020-12-23 00:20

    Even if you remove the shared folder via net use * /del, on the server side there is still a connection up there.

    In order to get around this problem which Microsoft created by design you should map the drive in a way to let windows think it's another share on another server. The simplest way to do that is to use DNS aliases or ip addresses. In your case, if your first mapping uses the ip address like \\IP\Share with your current credential, you should use something like \\ServerName\Share password /user:Domain\Username this should create a new share with the new credentials.

    Microsoft call this behavior by design .. i call it just stupid design.

    0 讨论(0)
提交回复
热议问题