Delete Login Credentials for a Network Share

by Eric Geier [Published on 29 Sept. 2011 / Last Updated on 29 Sept. 2011]

Remove the cached username and password for a network share(s).

If your network has shares configured with varying read/write permissions, you might it necessary to login to shares with different usernames and passwords. Windows doesn’t make it easy to do this. However, you can delete the login credentials for shares you access, thus making Windows prompt you to login again. Then you can use a different username and password.

First, you should check the Stored User Names and Passwords or Credential Manger. Open the Run dialog or a Command Prompt, enter the following command, and then remove the computer or server if listed:

control keymgr.dll

You should also open a Command Prompt and use the following command:

net use \\fileservername /del

Be sure you replace fileservername with the actual computer or server name you’re trying to access. You can alternatively delete the credentials for all shares:

net use * /del

See Also

Featured Links