Multiple connections error











up vote
1
down vote

favorite












Trying to access admin$ share on remote machine, I get this error:




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.




However, net use reports no entries:



C:UsersXXXX>net use
New connections will be remembered.

There are no entries in the list.


Can it be that admin$ doesn't exists on remote machine?










share|improve this question






















  • Have you tried rebooting the remote machine?
    – jftuga
    Sep 8 '11 at 18:39










  • @jftuga: I think it is "Have you tried turning it off and on again?"
    – grawity
    Sep 8 '11 at 20:33















up vote
1
down vote

favorite












Trying to access admin$ share on remote machine, I get this error:




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.




However, net use reports no entries:



C:UsersXXXX>net use
New connections will be remembered.

There are no entries in the list.


Can it be that admin$ doesn't exists on remote machine?










share|improve this question






















  • Have you tried rebooting the remote machine?
    – jftuga
    Sep 8 '11 at 18:39










  • @jftuga: I think it is "Have you tried turning it off and on again?"
    – grawity
    Sep 8 '11 at 20:33













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Trying to access admin$ share on remote machine, I get this error:




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.




However, net use reports no entries:



C:UsersXXXX>net use
New connections will be remembered.

There are no entries in the list.


Can it be that admin$ doesn't exists on remote machine?










share|improve this question













Trying to access admin$ share on remote machine, I get this error:




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.




However, net use reports no entries:



C:UsersXXXX>net use
New connections will be remembered.

There are no entries in the list.


Can it be that admin$ doesn't exists on remote machine?







windows networking






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 8 '11 at 18:15









Veehmot

1629




1629












  • Have you tried rebooting the remote machine?
    – jftuga
    Sep 8 '11 at 18:39










  • @jftuga: I think it is "Have you tried turning it off and on again?"
    – grawity
    Sep 8 '11 at 20:33


















  • Have you tried rebooting the remote machine?
    – jftuga
    Sep 8 '11 at 18:39










  • @jftuga: I think it is "Have you tried turning it off and on again?"
    – grawity
    Sep 8 '11 at 20:33
















Have you tried rebooting the remote machine?
– jftuga
Sep 8 '11 at 18:39




Have you tried rebooting the remote machine?
– jftuga
Sep 8 '11 at 18:39












@jftuga: I think it is "Have you tried turning it off and on again?"
– grawity
Sep 8 '11 at 20:33




@jftuga: I think it is "Have you tried turning it off and on again?"
– grawity
Sep 8 '11 at 20:33










2 Answers
2






active

oldest

votes

















up vote
3
down vote



accepted










If a share does not exist, the server would return "Network name not found". What you are getting now means exactly that: there is another active connection.



It seems that net use only reports explicitly opened connections (net use \servershare or mapped drives through GUI), but not implicit ones (established by simply opening a file or pipe). Use netstat to see if there are any active SMB connections, and check with Process Explorer for processes that hold open handles to files on network shares.






share|improve this answer





















  • I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
    – Veehmot
    Sep 8 '11 at 20:20










  • @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
    – grawity
    Sep 8 '11 at 20:32










  • Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
    – Veehmot
    Sep 8 '11 at 20:37


















up vote
0
down vote













Again i struggle with this problem...
There is lots of variations of this question across stackexchande sites...



So list of ways to deal with this:




  1. "Credential manager" to clean old credentials

  2. "net use" to list, and "net use * /delete" to remove everything

  3. netstat for debugging (thanks @grawity)

  4. connect to server by ip instead of it's name


Also, there is this feature, when Windows Explorer first uses local user credentials, allowing to enter correct credentials only if local credentials fail. This can give you quite a headache when server has that user or guest access, but you need to use another username.



UPD.
In my cause this behavior was caused by Windows update + legacy Group policy "Enable insecure guest logons". But without this group policy, no connections at all was possible to that server.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f333431%2fmultiple-connections-error%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    If a share does not exist, the server would return "Network name not found". What you are getting now means exactly that: there is another active connection.



    It seems that net use only reports explicitly opened connections (net use \servershare or mapped drives through GUI), but not implicit ones (established by simply opening a file or pipe). Use netstat to see if there are any active SMB connections, and check with Process Explorer for processes that hold open handles to files on network shares.






    share|improve this answer





















    • I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
      – Veehmot
      Sep 8 '11 at 20:20










    • @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
      – grawity
      Sep 8 '11 at 20:32










    • Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
      – Veehmot
      Sep 8 '11 at 20:37















    up vote
    3
    down vote



    accepted










    If a share does not exist, the server would return "Network name not found". What you are getting now means exactly that: there is another active connection.



    It seems that net use only reports explicitly opened connections (net use \servershare or mapped drives through GUI), but not implicit ones (established by simply opening a file or pipe). Use netstat to see if there are any active SMB connections, and check with Process Explorer for processes that hold open handles to files on network shares.






    share|improve this answer





















    • I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
      – Veehmot
      Sep 8 '11 at 20:20










    • @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
      – grawity
      Sep 8 '11 at 20:32










    • Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
      – Veehmot
      Sep 8 '11 at 20:37













    up vote
    3
    down vote



    accepted







    up vote
    3
    down vote



    accepted






    If a share does not exist, the server would return "Network name not found". What you are getting now means exactly that: there is another active connection.



    It seems that net use only reports explicitly opened connections (net use \servershare or mapped drives through GUI), but not implicit ones (established by simply opening a file or pipe). Use netstat to see if there are any active SMB connections, and check with Process Explorer for processes that hold open handles to files on network shares.






    share|improve this answer












    If a share does not exist, the server would return "Network name not found". What you are getting now means exactly that: there is another active connection.



    It seems that net use only reports explicitly opened connections (net use \servershare or mapped drives through GUI), but not implicit ones (established by simply opening a file or pipe). Use netstat to see if there are any active SMB connections, and check with Process Explorer for processes that hold open handles to files on network shares.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 8 '11 at 18:37









    grawity

    228k35481540




    228k35481540












    • I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
      – Veehmot
      Sep 8 '11 at 20:20










    • @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
      – grawity
      Sep 8 '11 at 20:32










    • Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
      – Veehmot
      Sep 8 '11 at 20:37


















    • I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
      – Veehmot
      Sep 8 '11 at 20:20










    • @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
      – grawity
      Sep 8 '11 at 20:32










    • Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
      – Veehmot
      Sep 8 '11 at 20:37
















    I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
    – Veehmot
    Sep 8 '11 at 20:20




    I tried TCPView and you are right, it has a connection established. The remote port is 445 (NetBios I think) and the process is System, so I can't close it. How to close a NetBios connection without net use * /d?
    – Veehmot
    Sep 8 '11 at 20:20












    @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
    – grawity
    Sep 8 '11 at 20:32




    @Veehmot: Close any open files that are using the connection, and it will (should) go away within seconds. Again, Process Explorer's search function should help.
    – grawity
    Sep 8 '11 at 20:32












    Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
    – Veehmot
    Sep 8 '11 at 20:37




    Nevermind, I used Right Click -> Close Connection and it works fine now. Thanks!
    – Veehmot
    Sep 8 '11 at 20:37












    up vote
    0
    down vote













    Again i struggle with this problem...
    There is lots of variations of this question across stackexchande sites...



    So list of ways to deal with this:




    1. "Credential manager" to clean old credentials

    2. "net use" to list, and "net use * /delete" to remove everything

    3. netstat for debugging (thanks @grawity)

    4. connect to server by ip instead of it's name


    Also, there is this feature, when Windows Explorer first uses local user credentials, allowing to enter correct credentials only if local credentials fail. This can give you quite a headache when server has that user or guest access, but you need to use another username.



    UPD.
    In my cause this behavior was caused by Windows update + legacy Group policy "Enable insecure guest logons". But without this group policy, no connections at all was possible to that server.






    share|improve this answer



























      up vote
      0
      down vote













      Again i struggle with this problem...
      There is lots of variations of this question across stackexchande sites...



      So list of ways to deal with this:




      1. "Credential manager" to clean old credentials

      2. "net use" to list, and "net use * /delete" to remove everything

      3. netstat for debugging (thanks @grawity)

      4. connect to server by ip instead of it's name


      Also, there is this feature, when Windows Explorer first uses local user credentials, allowing to enter correct credentials only if local credentials fail. This can give you quite a headache when server has that user or guest access, but you need to use another username.



      UPD.
      In my cause this behavior was caused by Windows update + legacy Group policy "Enable insecure guest logons". But without this group policy, no connections at all was possible to that server.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        Again i struggle with this problem...
        There is lots of variations of this question across stackexchande sites...



        So list of ways to deal with this:




        1. "Credential manager" to clean old credentials

        2. "net use" to list, and "net use * /delete" to remove everything

        3. netstat for debugging (thanks @grawity)

        4. connect to server by ip instead of it's name


        Also, there is this feature, when Windows Explorer first uses local user credentials, allowing to enter correct credentials only if local credentials fail. This can give you quite a headache when server has that user or guest access, but you need to use another username.



        UPD.
        In my cause this behavior was caused by Windows update + legacy Group policy "Enable insecure guest logons". But without this group policy, no connections at all was possible to that server.






        share|improve this answer














        Again i struggle with this problem...
        There is lots of variations of this question across stackexchande sites...



        So list of ways to deal with this:




        1. "Credential manager" to clean old credentials

        2. "net use" to list, and "net use * /delete" to remove everything

        3. netstat for debugging (thanks @grawity)

        4. connect to server by ip instead of it's name


        Also, there is this feature, when Windows Explorer first uses local user credentials, allowing to enter correct credentials only if local credentials fail. This can give you quite a headache when server has that user or guest access, but you need to use another username.



        UPD.
        In my cause this behavior was caused by Windows update + legacy Group policy "Enable insecure guest logons". But without this group policy, no connections at all was possible to that server.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 20 at 10:57

























        answered Nov 20 at 9:06









        Andrei

        1385




        1385






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f333431%2fmultiple-connections-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido