Disconnect or logoff from remote network share without reboot

From Notes_Wiki

Home > Windows > Windows Desktop Tools or Utilities > Disconnect or logoff from remote network share without reboot

Often if we access a Windows Share by typing its path in "Run" or Explorer, we get prompted for username/password (if share is password protected). This authentication seems to get cached till next reboot. If we want to remove a particular saved credential (eg if we have used our username / password on a co-worker machine to quickly access some file) without reboot, then we can use following steps:

  1. See the shares in use via (preferably in administrative command prompt):
    net use
  2. Remove all or not required shares via:
    net use <share> /del
    OR to remove all use
    net use * /del
  3. Go to current user in Windows control panel -> User accounts
  4. There should be option to "Manage Your credentials" which shows cached credentials that can be deleted.
  5. After this again try accessing the share, it should ask usesrname/password


Refer:

Home > Windows > Windows Desktop Tools or Utilities > Disconnect or logoff from remote network share without reboot