The problem

Recently we’ve changed the extension of the external url of our TFS server. Strange enough Visual Studio doesn’t provide an edit feature in the TFS servers window. Maybe that’s why it’s called “Add/Remove Team Foundation Server”.

The solution

I went looking where Visual Studio stored the TFS info. After a bit of searching in the Registry I ended up in: “CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\Instances”.

In the Instances folder you’ll see all your added TFS servers. You can start by changing the name of the folder, this text is used as the name label. What is important, is to change all the Uri entries you’ll find in the subfolders. There is one per TFS server and one for each collection!

Happy coding!