Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to reaname a TFS workspace? If it is, how is it done?

share|improve this question
up vote 3 down vote accepted

If it is your workspace, In Visual Studio, File, Source Control, Workspaces... Select the workspace you want to rename and press "Edit". Then edit the name and press OK.

share|improve this answer

in the Visual Studio Command Prompt type

tf workspace /newname:YourNewWorkspaceName YourActualWorkspaceName /noprompt

(alternatively you can use the standard cmd line but then you need to locate tf.exe)

share|improve this answer
I had to add the " /collection:MyCollection" parameter. Note.....this causes alot of file-locking issues for me. So my advice would be to : 1. reboot machine. 2. do NOT open VS 3. run the code above. 4. reboot again 5. try to "get latest" and make sure you don't get voodoo errors. it may be overkill, BUT once I hit a file lock issue (maybe because I had VS open) I had to spend 25 minutes...getting it right before it was renamed AND a tfs-get-latest didn't throw strange errrors. – granadaCoder Dec 10 '15 at 15:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.