Learn to use Visual Studio, Visual Studio Online, Application Insights and Team Foundation Server to decrease rework, increase transparency into your application and increase the rate at which you can ship high quality software throughout the application lifecycle
Ran in to a situation a couple of days ago where i needed to log into a Team Foundation Server as a different user - and since Visual Studio/Team Explorer "remembers" your last credentials you don't have a chance to re-enter these credentials. This information is cached even after removing and re-adding the server in team explorer. Which begs the question - where is it cached?
Turns out we are relying on Windows to do this for us. To dump this cache all you need to do is go to control panel > User Accounts > Manage Your Network Passwords select the Team foundation Server and choose remove - viola! Next time you go into Team Explorer you will be prompted for a new set of credentials.
The new SkyDrive client also seems to "mess up" credential management for *hosted* TFS Server (tfspreview.com) -- if the SkyDrive client is connected under a different Windows Live ID than you use for tfspreview, you will lose the ability to connect to TFS preview through Visual Studio (confirmed 2010 and 2012) with error codes of TF31003 or TF30063. Richard F. wrote the problem up with a workaround here: blogs.blackmarble.co.uk/.../A-fix-for-my-failure-to-login-to-TFSpreviewcom-problems.aspx -- but hopefully the SkyDrive and/or ALM teams can get a fix in place in the near future!
Not sure from which Windows version/environment you took the screen shots, but just to point out that on Win7 Pro, which is the default in my software firm, the link is called "Manage your Credentials" and this opens the "Credential Manager".
From there, you get the "Windows Vault", which store the credentials as described above.
Grant Holliday also pointed out this can be done using "cmdkey [/list:servername]" from the command line.
This doesn't work if you use the online identity manager thing from visualstudio.com. None of my instances show up in the credentials manager.
Now the question is where they are in Windows XP?
You need to remove TFS credentials from Windows Vault to clear and force to ask new TFS credentials in Visual Studio
1. Go to Control Panel (Start -> Control Panel).
2. Click User Accounts ( or User Accounts and Family Safety->User Accounts in Windows 7 Machine)
3. Click Credential Manager (or Manage your credentials)
4. In Credential Manager page, you can see the two type of credentials
i. Windows Credentials
ii. Generic Credentials
5. Click on two credential's modify link, click the link Remove from vault to remove stored TFS credentials.
I tried removing from vault a few times, without any luck. While doing this, I made sure that every credential referring to the TFS servername was removed. So, i manually created new credentials with the TFS servername, the correct domain user & password. Next when i opened VS.Net, it worked !!
Thank you kindly. It was driving me nuts in the build server setup for TFS Build Service.
I have tried my best to clear the saved password but still when I open Visual Studio it is connecting to TFS with the old credentials. Below are the action items I have done for clearing passwords:
1. Cleared my IE cache, cookies and passwords.(No Luck)
2. From my credential manager Removed the TFS server credentials and opened VS but no luck.
3. From command prompt deleted the saved passwords for TFS.
Tried to "Run as different User". It worked. But didn't satisfied with this solution. I have to change my workspace if I use this option. But why couldn't I clear my VS credentials where others can?
Can anyone help me with different solution.
Thanks a lot!!
Thank you, thank you - been banging my head all day over this - you saved my sanity!
Hi Vishali Malepati,
Am also facing the same problem. I tried to enter server name only like(10.100.8.153) its connected to TFS.
Please Try this One.!