TFS & Visual Studio ALM - by Neno Loje

(formerly Team System, VSTS)

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Community

My Other Blogs

German VSTS Websites

Archives

How to remove someone else's workspace in TFS

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

Comments

Nitin said:

Thanks...it worked :)

# July 19, 2011 8:22 AM