locked
How to remove the other's workspace? RRS feed

  • Question

  • I have the administrator permission of a TFS server.

    Someone leave the company and there is locked files.

    How to remove his workspace and remove the lock?

    Thanks

    Thursday, June 2, 2011 2:57 AM

Answers

  • Hello XiaoYongQin,

    Thanks for your post.

    Apart from Jehan’s great opinion, you can also consider using the tf workspace to delete that workspace.

    The syntax of the tf workspace is:

    tf workspace /delete [/collection:TeamProjectCollectionUrl] workspacename[;workspaceowner][/login:username,[password]]

    Please take a look at this article for further information:

    http://msdn.microsoft.com/en-us/library/y901w7se.aspx

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 2, 2011 7:27 AM
    Moderator
  • Thanks for the answer of you two.

    The command "tf" works!

    Great!~

     

    ps: the failure before is I use "$Project/....", please make sure there is "/" after "$". we need to use "$/Project/folder" as the folder to be unlock/undo ... 

    Friday, June 3, 2011 1:00 AM

All replies

  • The easiest option is to Undo the change\Remove the lock using Status Sidekick from TFS Sidekicks toolset.
    Thursday, June 2, 2011 5:08 AM
  • Hello XiaoYongQin,

    Thanks for your post.

    Apart from Jehan’s great opinion, you can also consider using the tf workspace to delete that workspace.

    The syntax of the tf workspace is:

    tf workspace /delete [/collection:TeamProjectCollectionUrl] workspacename[;workspaceowner][/login:username,[password]]

    Please take a look at this article for further information:

    http://msdn.microsoft.com/en-us/library/y901w7se.aspx

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 2, 2011 7:27 AM
    Moderator
  • Thanks for the answer of you two.

    The command "tf" works!

    Great!~

     

    ps: the failure before is I use "$Project/....", please make sure there is "/" after "$". we need to use "$/Project/folder" as the folder to be unlock/undo ... 

    Friday, June 3, 2011 1:00 AM