If you’ve been using the DiscountASP.NET Team Foundation Server 2010 service for some time, one of the major annoyances is that you are unable to save your sign-in credentials when you connect to the server through Visual Studio. Unfortunately, it’s not a change that we can make since it’s a limitation of Team Foundation Server itself. But there is a workaround that you may want to consider.

You can store the server name as well as your user name and password combination in Windows.

To save your credentials, follow the steps for your version of Windows.

Windows 7

  1. Open the Windows Control Panel.
  2. Access User Accounts and Family Safety.
  3. Click on the Credential Manager.
  4. Then access the Add a Windows credential option.

Windows Vista

  1. Open the Windows Control Panel.
  2. Access User Accounts.
  3. Click on the “Manage your network passwords” under the Tasks menu on the left-hand side.

If you run into any problems on Vista, make sure that you specify that the credential type is for a Windows server.

Windows XP

  1. Open the Windows Control Panel.
  2. Double-click User Accounts.
  3. Click on the user that you’re signed in under “or pick an account to change.”
  4. Under “Related Tasks” click on the “Manage my network passwords” option to add your user.

If you are logged into a domain, you will need to supply the user name as \COLLECTION_username with a leading backslash character.

 

5 Responses to “Stop asking me for my !@#$% password!”

  1. Josh says:

    Hi, I’m trying to save my password on XP and it says my username is the wrong format? Do I need to include a domain?

  2. Josh says:

    i’m not using a domain on my laptop … entering COLLECTION_username as you described but not working

    • Joseph says:

      You may need to alter the user name to be SERVER\COLLECTION_username. For example, if you’re hosted on tfs01, try using TFS01\COLLECTION_username.

  3. [...] To avoid any problems, I would recommend saving your credentials to the TFS server through Windows. If you need help saving your server information and username and password combination, take a moment to review the “Stop asking me for my !@#$% password!” post. [...]

  4. Works great on my Win7 box. Thanks much!!

Leave a Reply

iBlog by PageLines