One of my ex-colleague, was trying hard to change his saved user credential while connecting to his TFS source control from Visual Studio IDE. For some reason, he was suppose to change his TFS credentials which got saved when had connected to TFS earlier using someone else credentials. But we couldn't find out any option in Visual Studio to change his TFS credentials.
After doing some googling, we come to know that, the Windows has stored the TFS credentials and supplying the same when tried to connect TFS, thereby he was not getting a prompt to use his new credentials to TFS.
Later we removed the TFS credential which got saved to Windows Vault. Below are the steps to remove such Generic credential from Window 7 OS:
- Go to "Control Panel" and then to "User Accounts".
- Click on the "Manage Your Credentials" link present in the left. (You need to appropriate rights, to see it visible)
- Then in the view displayed, have a look at "Generic Credential" section.
- Locate your TFS address URL and click on expand option.
- Then to click on "Remove from Fault" link to remove the TFS credential from windows persistence.
- If you find another credential stored under "Windows Credentials" section with the same "Username", remove that one as well from the Vault.
- Close your Visual Studio (if running) and open again. Then try to connect to TFS, this time you will get a prompt to enter credentials.
No comments:
Post a Comment