When I changed my computer name recently, I found that all my Team Foundation Server mappings were still looking towards my old computer name. Fortunately, searching the TFS documentation revealed that there is a quick way to update your computer name without having to reset all your workspaces. Run the tf.exe tool, found in \Program Files\Microsoft Visual Studio 8\Common7\IDE directory:
tf workspaces /updateComputerName:MyOldComputerName /s:http://MyTFServer:8080

Very useful
Comment by Will — April 21, 2009 @ 11:10 am
Can’t find tf.exe in vs2008. Is there another way to do this?
Comment by Jess — May 26, 2010 @ 9:14 am
Thanks, this little information saved me!!
Comment by Ranch — November 19, 2010 @ 4:56 pm