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

The Author — Eric Geier

Eric Geier (Dayton, Ohio) is a Freelance  Tech Writer and Author specializing in computer networking. He's also the Founder and Owner of NoWiresSecurity, which provides a hosted cloud-based RADIUS service to help businesses easily secure their Wi-Fi networks with the Enterprise (802.1X) mode of WPA/WPA2 security. He’s also the Founder and Owner of On Spot Techs, which provides on-site computer and technology services.

Latest Contributions

Featured Links