Wednesday, May 25, 2011

Getting TFS to Remember You

If you’re like me, you do a lot of development work inside of Virtual Machines. Sometimes these VM’s are not joined to the Windows Domain, so when you launch Visual Studio and access any of the Team Foundation Server (TFS) features, TFS prompts you for your domain credentials. This credentials box does not have the familiar “Remember my credentials” checkbox.

To get TFS to remember who you are:

  1. From the Windows Start menu, open the Control Panel
  2. Click on User Accounts, then Credential Manager
  3. Click “Add a Windows credential”
  4. Fill in the fields:
    • In the Internet or network address field, enter the host name of your TFS server
    • In the Username field, enter your domain\username
    • In the Password field, enter your password
    • Click OK

Now, next time Visual Studio needs to access the TFS server it will use these credentials instead of prompting you.

Note: If you change your domain password, you will need to manually update your stored credential.

0 comments: