Question: I am having an issue with one of the users of a TFS server I manage. We recently went through a user ID change and as such this messed up some of our workspaces. I am trying to get a new local workspace made on her machine and it keeps saying that the locally mapped folder is already used for her old workspace. 

We have deleted all of the TFS and VS cache folders, did userdatareset, and using the tf.exe workspaces command it does not list this offending workspace that I am trying to get rid of. Is there other approaches I can use to get rid of this workspace.

Answer: 
If you want to use the tf workspace command to delete other's old workspace. Make sure you have own **manage other users workspace permission**. Otherwise, you need to get your TFS administrator to delete the workspace if you have no access to the account. Just using below command.

```
tf workspace /delete "WORKSPACENAME;PREVIOUSUSERACCOUNT"

```

---

You could also use [Team Foundation Sidekicks](http://www.attrice.info/cm/tfs/), for TFS2015, it's version 6.0

**How to use the tool:**

* After download and install it, you need to connect to TFS
server with your current authentication.
* Open tools- select workspace sidekick

[![enter image description here](https://i.stack.imgur.com/57Nwk.png)](https://i.stack.imgur.com/57Nwk.png)

* In the filters, select the **owner name**, **computer name**,
**access date**

[![enter image description here](https://i.stack.imgur.com/wUERj.png)](https://i.stack.imgur.com/wUERj.png)

* Finally, you should be able to delete the abandoned workspace.

*Note: TF Sidekicks uses the same commands so **would require the same permission**. It is a TFS admin productivity tool.*

More details please refer the similar question: [Delete Old Workspaces on TFS VS2013](https://stackoverflow.com/questions/39982364/delete-old-workspaces-on-tfs-vs2013)
You can use [Team Foundation Sidekicks](http://www.attrice.info/cm/tfs/) to view all workspaces for that particular machine and delete the ones you no longer need.

I use it to clean up workspaces for people that left the company and workspaces that people forgot they had on their old machines. In theory, you should be able to do everything with tf.exe, but using Team Foundation Sidekicks, just makes it a lot easier.