Is it possible to store credentials for automatic Team Foundation Server login?

Drake picture Drake · Apr 15, 2010 · Viewed 12.1k times · Source

Is it possible to store the credentials that I use to connect to my Team Foundation Server directly in Visual Studio 2010?

I would like to avoid inserting them at every VS launch.

The problem is that the machine that host TFS is not in the domain and I am connecting using the credentials of a user created on that machine.

Suppose that the machine name is TOOLS and the user is Marco, I need to insert every time

 User name: TOOLS\Marco 
 Password: *

Can you suggest a possible fix for this, if it exists?

Answer

Jim T picture Jim T · Apr 15, 2010

On Windows 7 (and vista?) you can stop TFS prompting for passwords all the time by adding in a windows credential in Control Panel -> User Accounts -> User Accounts -> Manage your credentials.

Windows XP: Control Panel -> User Accounts -> Advanced -> Manage Passwords

Add a windows credential for your tfs server. You might also have to add the server to your local intranet in your internet settings.