TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

How to remove someone else’s workspace in TFS

August 30th, 2007 · 1 Comment · Team Foundation Server, Team Foundation Version Control, TFS 2005, TFS Administration, TFS Tips and Tricks

A customer asked:

“During my vacation my collegue was working on my machine and mapped the solution file to D:\Projects. Now I returned and wanted to map the solution to that folder as well, which obviously doesn’t work since it is already mapped.

How can I get rid of the workspace that my collegue has on my machine? (Since he won’t be working on my machine anymore it can be freely deleted.)”

First of all: you obviously need to be either the owner of the workspace or have the Administer workspaces permission on the Team Foundation Server to perform this.

Deleting a workspace using the command line

The command is:

tf workspace /delete [/server:servername] workspacename[;workspaceowner]

Deleting a workspace using tf.exe

Source: MSDN

Deleting a workspace using GUI

If you prefer a rich UI you can use the free Team Foundation Sidekicks tool by Attrice Corp.

Deleting Workspaces using Team Foundation Sidekicks


One Comment so far ↓

Leave a Comment