TFS/Visual studio 2010: Clear cached password for TFS in Visual Studio 2010, Need it to ask me to login again

Martin picture Martin · Aug 23, 2011 · Viewed 14.9k times · Source

I am using Windows 7 and i installed TFS Server and connected to it from my VS 2010 install. It prompted me for a password so I entered the admin password.

All went well, now i added myself as a user but i can't get it to ask me to login again. It is remembering (caching) the password. Hence it always logs me in as Administrator.

I search the Internet and some people recommend ClearCred.exe which ships with VS SDK but it doesn't anymore ...

And then checking the managed credentials in windows 7, i have also checked this and i see nothing with regards to my cached TFS password.

I also tried removing the TFS server connection from VS 2010 and readding it .. but it remembers me as Administrator.

Can anyone help?

Answer

Jim Lamb picture Jim Lamb · Aug 23, 2011

Open the Start Menu and type "Manage Network Passwords" and open the control panel applet that shows up in the results. Then, you should see the credentials in the list where you can expand the item and "Remove from vault."