none
How to logout from shared folder RRS feed

  • Întrebare

  • I connect to a shared folder, entering the userid/password when requested. All good. I would like to change userid to a different userid and reconnect to the same folder.

    How do I disconnect from the shared folder so that next time I connect I get the prompt to enter userid/password?

    I have looked at the credential manager -- nothing is saved there. I am not using a mapped drive thus "disconnect" does not show up on the context menu. I found the very well hidden stored password manager (rundll32.exe keymgr.dll, KRShowKeyMgr) and nothing is stored there.

    All I want to do is login as a different user. My userid/password seem to be "cached" somewhere.

    I also tried the following experiment. I changed my password on the server. I was prompted to enter userid/password. Good. I changed my password back to the previous password. I could access the share without entering userid/password.

    Thanks all!
    marți, 23 februarie 2010 04:54

Răspunsuri

  • Hi,

     

    Please also try the following steps. Please restart the machine after performing each step and check the result.

     

    1. Type the following command in Command Console:

     

    Net use * /DELETE

     

    2. Open Credential Manager and clear all saved user or password. Then, please access network shared folder.

     

    3. Temporarily disable Workstation service and restart it again.

     

    Hope this helps.

     

    Novak

    • Marcat ca răspuns de Novak Wu marți, 2 martie 2010 02:50
    joi, 25 februarie 2010 07:30

Toate mesajele

  • Hi,

     

    Please open Command Console and type the following commands:

     

    Net use \\Computer name or IP address /DELETE

     

    For more information about the command, please refer to the following article:

     

    Net use

     

    Thanks,

    Novak

     

     

     

    miercuri, 24 februarie 2010 07:36
  • The net use \\computername /delete did not work. says "The network connection cannot be found."

    I am still connected to the share.

    NET USE with no parameters does not list any connections yet I am still connected to the share.
    joi, 25 februarie 2010 04:59
  • Hi,

     

    Please also try the following steps. Please restart the machine after performing each step and check the result.

     

    1. Type the following command in Command Console:

     

    Net use * /DELETE

     

    2. Open Credential Manager and clear all saved user or password. Then, please access network shared folder.

     

    3. Temporarily disable Workstation service and restart it again.

     

    Hope this helps.

     

    Novak

    • Marcat ca răspuns de Novak Wu marți, 2 martie 2010 02:50
    joi, 25 februarie 2010 07:30
  • In Windows Explorer, my computer go to the tools menu, or right-click on My Computer. Choose Disconnect Network Drive. Next time you connect to a network drive, uncheck the "Reconnect at Logon" box"
    joi, 25 februarie 2010 08:50
  • please read the OP...he can not disconnect what is not connected.

    quote from OP
    " have looked at the credential manager -- nothing is saved there. I am not using a mapped drive thus "disconnect" does not show up on the context menu. I found the very well hidden stored password manager (rundll32.exe keymgr.dll, KRShowKeyMgr) and nothing is stored there."


    gwww, try this map the drive as user you want, does it allow it??
    joi, 25 februarie 2010 10:39
  • The only way I could get the folder to stay disconnected was to restart the workstation service. Seems like this is something of a security hole. Let's say I have one of our admins come over to my machine and install a new piece of software from some "secured folder". When they are done they disconnect from the share and leave. Now all I have to do is go back to that share and I full control of the data in there.

    Am I missing something?

    joi, 4 martie 2010 14:23
  • If credential manage lets you down try "stored user names and passwords"

    Windows 7 /2008 R2 - Remove Saved / Cached Network Passwords

     

    Pete

    vineri, 20 ianuarie 2012 10:32
  • I know I'm bumping this thread but oh well, I have a solution to future googlers of this problem:

    If you're running the win7 platform, go to your advanced sharing options, and switch the final option (Whether or not to let Homegroup manage your connections to other computers) from allowing homegroup to manage it to "Use User Accounts and passwords to connect to other computers", that in conjunction with Novak's cmd command <net user * /delete*> did the trick for me.

    Sincerely,

    holmzi_online

    • Propus ca răspuns de anthistam marți, 24 iulie 2012 10:01
    miercuri, 11 aprilie 2012 09:21
  • 3. Temporarily disable Workstation service and restart it again.

     

    Hope this helps.

     

    Novak

    @Novak

    I've been having an issue where net use * /delete on its own deletes all connections but still does not log out in Explorer (even with credentials not saved and Credential Manager clear). I found this answer, which suggested restarting Workstation - most answers to "how to log out of a share" don't include that step. Restarting that service did the trick. However, I'm trying to find out why that is the case, why I seem to be in the minority, and how to log out without having to restart Workstation.

    To that end, why did you suggest restarting Workstation? Was it from past experience? Do you have some knowledge that led you to that conclusion? Do you have any concrete sources or references that explain what's going on there that led you to suggest that as a step? 

    In particular, I'm trying to get more information to solve my question about this on Superuser, and knowing why you suggested step 3 could help narrow it down. Can you shed some light on why you suggested that step and how you knew it would work? Thanks!

    sâmbătă, 28 februarie 2015 17:36
  • I do not recommend restarting the workstation service, since my machine has become stuck. It is a Windows 10 and I was connected through Logmein. I recommend restarting the computer since it will clear temporarily stored credentials, which are stored in memory 
    luni, 13 februarie 2017 19:44
  • What a bunch of BS.  Don't answer the question unless you know the answer!!!
    vineri, 31 martie 2017 01:52
  • Start -> Control Panel -> User Accounts and Family Safety -> User Accounts -> Manage your credentials.

    Expand one of your "Windows Credentials", and then click on "Remove from vault".

    Start -> Control Panel

    Start ->Control Panel" src="https://social.technet.microsoft.com/Forums/getfile/1493657" /></p><p><img alt=

    User Accounts and Family Safety -> User Accounts

    User Accounts and Family Safety ->User Accounts" src="https://social.technet.microsoft.com/Forums/getfile/1493660" /></p><p><img alt=

    Expand one of your

    Click


    joi, 17 octombrie 2019 02:28