Windows : Clear saved Windows networking passwords

If you sometimes access a network share and check that “remember password” box, then you might have wondered how to delete that password as well.

James Geurts gives us the trick

James Geurts’ Blog : Clear saved windows networking passwords

Clear saved windows networking passwords
From time to time, I need to clear or reset a saved password to a network share. When I connect to a remote computer and click the Remember Password checkbox, it gets stored somewhere… this command will help you manage those passwords:rundll32.exe keymgr.dll, KRShowKeyMgr

This will popup a little application, with all those shares where you saved the password, and let you clear them one by one.

Thanks James 🙂

23 thoughts on “Windows : Clear saved Windows networking passwords”

  1. Very nice find, thank you very much. This is just the information that you expect to be the first Google hit on a problem like this. 😀

  2. That was poorly phrased I mean it was exactly what I was looking for 🙂

  3. Thanks so much. This also works, by the way, for IE IWA when users are configured properly, are granted sufficient access in NTFS on the IIS server but still end up with a username & password challenge dialogue.

  4. Thank you so much for this post ! I was nearly desperate because I couldn’t connect to a Web Server and it solved my problem !

  5. Sorry to reopen a old thread, but I am looking for a script or batch file that can remove these saved passwords everytime a user logs on or off. Is this possible? Google has provided me with no answers. Thank you!

  6. Hello Devilman,

    Can you please post the script for deleting passwords?

    with kind regards,


  7. rundll32.exe keymgr.dll, KRShowKeyMgr – Already tried to clear windows passowrd – But, not worked. Can Someone help me with the tool to delete windows password ?


  8. Thanks. First I think it’s 3 commands. Then I tried go to run type all in one row. So it works

Comments are closed.