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?

Improve company productivity with a Business Account.Sign Up

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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.