how to remove TFS workspace mapping for another user

后端 未结 9 1484
梦如初夏
梦如初夏 2020-12-04 19:13

I am using Visual Studio 2010. Some months back I was using some \'ABC\' TFS user to connect to TFS and mapped some folders on my local drive. Now my previous user \'ABC\' i

相关标签:
9条回答
  • 2020-12-04 19:50

    I end up in same issue after the person who setup Jenkins left our company. He had setup workspace and TFS checkout was using alternate authentication. As his credentials are removed from msdn, TFS checkout started choking.

    Following LarryG's solution helped to remove the workspace. Only difference is, I just used the windows live ID of the person, who left the company.

    tf workspace /delete myWorkSpaceName;windowsliveID

    0 讨论(0)
  • 2020-12-04 19:52

    I had a similar issue and could not install sidekick because I'm running VS 2k17.

    I was unable to delete the workspace because it kept telling me it could not find the workspace.

     tf workspaces /computer:* /owner:* 
    

    This would list all of my workspaces and the owners. So I would try

     tf workspace /delete myWorkSpaceName;Bob Smith
    
    
     TF14061:  The workspace myWorkSpaceName;Bob Smith does not exist.
    

    That is the exact workspace and owner name I was getting in the original workspace listing above.

    The solution was to ask for xml format

    tf workspaces /computer:* /owner:* /format:xml > c:\temp\workspaces.xml
    

    (Note: Output to file is optional, but recommended)

    This gives workspace owner aliases and one of them was a long name with a guid and the account email. This finally worked:

    tf workspace /delete myWorkSpaceName;aabe3ec12-1254-4956-b1ee-3fb26506931e\bsmith@myDomain.onmicrosoft.com
    

    It asked for a confirmation and finally deleted my orphaned workspace.

    0 讨论(0)
  • 2020-12-04 19:55
    1. Open Source Control Explorer(View->Other Windows->Source Control Explorer)
    2. On toolbar pane there will be Workspace combo. Choose from that combo Workspacess..
    3. Edit
    4. Remove
    0 讨论(0)
提交回复
热议问题