Updating computer name in tfs workspaces


26-Jan-2021 20:55

Why TFS still shows "wrongowner#test.com" in workspace although there is new email registered as "realowner#test.com"? Click the blue computer icon to Update Workspace Computer Name and you're done. I've tried what the prompt told me : Like so : tf workspaces /update Computer Name: My Old Computer Name but I got back : The /collection option must be specified whenever /update Computer Name or /update User Name is specified.In order to get the collection name I ran : tf workspaces which listed my collections and I got the name of my collection (...myusername...) Then I ran : tf workspaces /collection: Computer Name: My Old Computer Name Didn't work as I got this: TF31002: Unable to connect to this Team Foundation Server: tudio.com/defaultcollection. Possible reasons for failure include: - The name, port number, or protocol for the Team Foundation Server is incorrect - The Team Foundation Server is offline. Technical information (for administrator): The remote server returned an error: (404) Not Found.Then I noticed that I've typed http instead of https, corrected, retried and it worked!Look at this link Vaccano said : This command did the trick: tf workspaces /update Computer Name: My Old Computer Name /s:" Server:8080/tfs/My Collection" It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name.When I type: tf workspaces /computer: ABOTONJIC-PC /owner:* /format:detailed Workspace : ABOTONJIC-PC Owner : wrongowner#Computer : ABOTONJIC-PC Comment : Collection : netuse.visualstudio.com\Default Collection Permissions: Private Location : Local File Time : Current But I need to have : Owner : realowner#Computer : NEW-PC Then I try: tf workspaces /update Computer Name: ABOTONJIC-PC /collection:netuse.visualstudio.com/Default Collection No workspace matching *;wrongowner#on computer NEW-PC found in Team Foundation Server netuse.visualstudio.com/Default Collection.So my question are : How to update computer name in my workspace? Open the Workspace Sidekick, click Search, and select your workspace from the list.

updating computer name in tfs workspaces-90

macro turn off screenupdating

This is done completely server side, you don't have to have access to your old computer.

When trying to map a local folder to a TFS server as a different user than the one under which I was logged in, I kept getting the message: The working folder is already in use by the workspace [workspace name];[owner] on computer [tfs server].

Displays information about workspaces in the system and updates cached information about a user name or computer name change on the server that is running Visual Studio Team Foundation Server.

For more information on how to find the tf command-line utility, see Tf Command-Line Utility Commands.

The following example displays a list of all workspaces for the current user on the current computer.With detailed output, it also shows the workspace mappings.