Updating computer name in TFS workspaces

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

Advertisements

3 thoughts on “Updating computer name in TFS workspaces

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s