How to change TFS user name and password in Visual Studio 2012


Today, in one of our several common Virtual Machines,  I wanted to access TFS which is in our VPN Company network. Previously some one else was working on that machine, so his credential for TFS is stored as a default user. So this is not a problem in Visual Studio 2010, because you can just change user and connect to TFS.

In Visual Studio 2012 there is no action for that in the current window, as you can see on the picture below.

In case of service, there is an option to change user name.

If you want to change user name in the first case, you need to find solution somewhere else not here.

In fact to change user name of previous connection, you have to delete cached connection or at least modify it which is stored in Windows Credential in Control Panel.

So open Control Panel->User Account and choose Manage your credentials

Within Windows Credential Find connection to TFS and remove it, or edit it if you like.

Restart Visual Studio 2012, and try to connect to TFS, you should get the prompt for User name and password:


Posted Nov 14 2012, 07:18 PM by Bahrudin
Filed under: , , is a .Net Community Blog powered by daenet GmbH.