Update TFS (Team Foundation Server) cached credentials in VS2008

Recently I came across this “issue” or at least something not so straightforward when I needed to use different credentials from a TFS client in Visual Studio 2008.

 I found out that you have to remove the cached credentials from your network password cache. In order to do that, you need to follow these steps:

1)      (Windows Vista) Navigate to: Control Panel\User Accounts\User Accounts (Classic View)

2)      Select  on the left menu, “Manage your Network passwords”

3)      Look for an item named like “<dialup session>” in the “Stored User names and passwords” dialog

4)      Remove that entry with the “remove” button on the right.

5)      Close all dialogs, open VS and try to connect to TFS. The credentials dialog will show up asking for credentials.

Hopefully we may expect something more “friendly” in the future for managing TFS access.

2 Comments

  • Hi
    First Thanks for the Tip. that is really good and worked.

    i am having similar issue. when i try to connect to TFS it do not ask for any credentials at all. instead it says could not connect to server or user and password are wrong. i tried to give credentials using your method and it worked.

    now did you find any batter solution for credentials, or we have to live with this method to give credentials.

    thanks
    Ali

  • Hi,
    I could not investigate further on this topic but I guess (and from my current experience) this issue seem to be fixed in VS2010 RC.
    Regarding 2008, whenever I got that problem I used the described steps every time I changed the TFS server accecc account (which is pretty much unfreq.)
    Regards

Comments have been disabled for this content.