I have my project in TFS and I am using VS 2010 for development.
When I open the Solution it asks me for the credentials.
Once I connect to TFS I am not able to change user without closing the Solution, I am able to disconnect it but when I again click Connect (Team Explorer) it does not ask me for the credential but take the one I entered initially
This might be not a big issue but I really don’t want to close and open Visual Studio to change the TFS user.
A post on the TFS blog addresses this issue. The basic solution is to remove the credentials from the Windows credential cache. You can either do this using the Control Panel (as described in the post) or you could use the cmdkey command line tool like this: