How can I make TFS remember my credentials when opening Visual Studio

When connecting to a TFS server with a machine, you will probably encounter an issue below:

You may click Use different credentials to re-log in, and then a pop-up window shows up. But it would be more friendly to use if there was a Remember my Password checkbox.

To avoid entering your credentials every time when connecting, please follow the steps below:

1. Please go to Credential Manager in Control Panel;
2. Click Add a Windows credential;

3. Enter basic details required;

4. Click OK.

5. Then go back to Visual Studio, connect to TFS again and you won't have any more login prompts.

Note: For Windows XP/Vista users, please go to Control Panel -> User Accounts -> Manage your Network Passwords. The UI would be a little bit of different.