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

前端 未结 9 558
夕颜
夕颜 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: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.

提交回复
热议问题