web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how to remove TFS workspace mapping for another user

(1) ShareShare
ReportReport
Posted on by 27

Hi 
Recently one of team mate left the team and forgot to log off her account in VsCode, apparently I don't have access to her account credentials.
Currently I am facing an issue while mapping my account to the Vs code. I will attach the error message below.

The working folder K:\AosService\PackagesLocalDirectory is already in use by the workspace dev230c509166-1_1;Person Name on computer dev230c509166-1.

Could someone please help me with this issue?. I want to remove her credentials and map it my credentials .

 

Thank you.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,471 Most Valuable Professional on at
    RE: how to remove TFS workspace mapping for another user

    If you put the title of your thread to a seach engine, you would have found a thread with a completely identical name at Stack Overflow and you could've read the answer there. Here is a difect link for you: how to remove TFS workspace mapping for another user.

    For example, you can use tf workspace /delete "WORKSPACENAME;PREVIOUSUSERACCOUNT".

  • Verified answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: how to remove TFS workspace mapping for another user

    Hi Dhanush,

    Here is the detailed blog.

    http://alexvoy.blogspot.com/2021/06/tf-command-line-to-fix-error-mapping-on.html

    Thanks,

    Girish S.

  • Verified answer
    Mariano Gracia Profile Picture
    on at
    RE: how to remove TFS workspace mapping for another user

    use visual studio command prompt and execute:

    TF workspace /delete MACHINE_NAME;USER_ACCOUNT /collection:"https://TFS_PROJECT_URL.visualstudio.com"

    this way you'll delete the user mapping.

    You can also use this command:

    TF workspaces /computer:* /owner:* /collection:"https://TFS_PROJECT_URL.visualstudio.com"

    to query all the users workspaces, so you can ensure there are no other workspaces configured for that user

  • Dhanush R Profile Picture
    27 on at
    RE: how to remove TFS workspace mapping for another user

    Thank you Girish, It worked

  • Dhanush R Profile Picture
    27 on at
    RE: how to remove TFS workspace mapping for another user

    Thank you Mariano.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,964

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 823 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 564 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans