Recently, I was assigned to help a project which is having some troubles. I was to connect to the project resources remotely using TFS over VPN .
The account given to me for TFS connection was not working somehow, so I decided to use one of my colleagues' account for TFS connection. Everything was fine, I was able to easily connect to TFS and study the project resources on my beautiful Visual Studio 2012 Ultimate.
When I had my account fixed, I closed the TFS connection and reconnected hoping that I would be required to enter my TFS credentials again or at least there would be a way for entering different credentials on the “Connect to Team Foundation Server” screen. Nope, I was wrong.
There had to be a way to change these credentials though, and below is how: (Windows 7)
1. Click “Start”, open “Control Panel”
2. Click “User Accounts”
3. Click “Manage Windows credentials” under “Credential Manager”
4. In the “Credential Manager” window edit “Windows Credentials” and “Generic Credentials”
Now you should be ready to go.