1, open "Developer command Prompt" under vs
2, enter the command in the following format: TF workspaces view, assuming that the following is displayed:
C:\Program Files (x86) \microsoft Visual Studio 11.0>TF Workspaces
Collection:http://almtfs:8080/tfs/%e9%80%9a%e5%85%b3%e9%a1%b9%e7%9b%ae/user-pc
Workspace Owner Computer Comment
--------- ------ -------- -----------------------------------------------------
USER-PC Peng user-pc
Collection:http://almtfs:8080/tfs/tos%20project
Workspace Owner Computer Comment
--------- ------ -------- -----------------------------------------------------
USER-PC Peng user-pc
3. Execute as follows (note: Updatecomputername is the current machine name):
TF WORKSPACES/COLLECTION:HTTP://ALMTFS:8080/TFS/TOS%20PROJECT/UPDATECOMPUTERNAME:USER-PC
After you change the machine name, open the process for the TFS prompt workspace error