Clear credentials for Shares


For example on a workstation or server I open a shared path like
\\server\data$ . If it is protected it will ask for username and password

After I have entered the credentials I am able to open the path without entering credentials again until reboot.

Now my question how do I delete those credentials without rebooting the system. Logoff and logon will not work.

Who is Participating?
JamsbConnect With a Mentor Commented:
Type: "Net USE"  within a command prompt and look for all the paths listed that relate to your connection (especially those ending IPC$)
Then simply do:  "Net Use \\myserver\myshare\IPC$ /delete" (where \\myserver\myshare\IPC$ will be the name of the path you want to remove) on each of the paths until none are left.

Hope this helps.
Malli BoppeCommented:
I think you need to clear the passowords in Autocomplete in internet options.
IE options->Content->Autocmplete button and click clear passwords
jesajaAuthor Commented:
No this is not working thus is clears only the passwords in IE nor in the Store User Name and Password Option in Control Panel
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Henrik JohanssonSystems engineerCommented:
In Windows Explorer, use Tools|Disconnect Network Drive

You can also run the following command in a command prompt:
C:\>net use /d \\server\data$
jesajaAuthor Commented:
Well, this will work for mapped drives but I concern is about just open a shared folder will using UNC Path.
jesajaAuthor Commented:
I really did not think of this. Many thanks
No problem. The IPC$ (stands for interprocess connection) path is the one that generally caches the login info. Glad I could help you. - James
All Courses

From novice to tech pro — start learning today.