Ahmad Masykur

Share your knowledge although one function!

About the author

Ahmad Masykur is a Software Architecture Engineer at PT. Freeport Indonesia Jakarta Indonesia.
In this blog, I share things of interest to me. Most topics are likely to be related to software development, but don't hold me to it.

Certificates



Awards


Powered by

Widget Prayer Time not found.

There is an error in XML document (4, 16278).X

Page List

Validators


Ahmad Masykur

Change ComputerName Value on TFS Workspace Setting

A workspace, according to the VSTS help "Represents a client-side copy of the files in the repository that you want to work in." What that means is that the TFS server needs to know where to put the files on your local drive when you perform a Get operation; and you have to specify it, there are no defaults and the server will not guess the location. Notice that I said 'server', this information is tracked on the server.

Since workspace point to computer name, changing computer name on local PC will impact to workspace setting. 

image

Computer name value can't be change from the client software. The dialog was disabled on computer name as shown in picture below.

image

To change computer name in workspace setting, connect to TFS database (contact TFS administrator to do this if you are not an administrator). Please follow this steps:

  • Open TfsVersionControl database.
  • Execute query below to make sure workspace which to be updated.
    SELECT * FROM tbl_Workspace
    WHERE WorkspaceName='AMASYKUR'

    The result might be like picture below
    image
  • Update Computer field to new computer name.
  • UPDATE tbl_Workspace
    SET computer='NEWCOMPUTER'
    WHERE WorkspaceName='AMASYKUR'

I hope this trick is useful

 

Disclaimer : please be very careful when conducting this procedure. I am not responsible if your TFS data is messed up


Categories: Tips | TFS
Permalink | Comments (28) | Post RSSRSS comment feed

Comments

seo test United States | Reply

Sunday, November 09, 2008 2:02 PM

seo test

Thanks for giving me a tips about your post!

water damage restoration South Africa | Reply

Saturday, November 22, 2008 5:17 PM

water damage restoration

Thanks for sharing this tip sir..
I have found exact solution for this keyword Change How to ComputerName Value on TFS Workspace Setting..

free footy France | Reply

Monday, December 15, 2008 3:54 AM

free footy

Wow, That is a great trick shown by you.
Thank you

magic tricks Slovenia | Reply

Tuesday, December 16, 2008 8:41 PM

magic tricks

I am the TFS administrator,could you please tell me how can i connect?

gel nails Norway | Reply

Wednesday, December 17, 2008 1:09 AM

gel nails

That is really a great trick, Helped me a lot.
Thank your

Watch Horror Movies Online United Kingdom | Reply

Wednesday, December 17, 2008 2:57 AM

Watch Horror Movies Online

This had me pulling my hair out!
Thank for saving me hours of my time!

zeolite | Reply

Wednesday, December 17, 2008 6:54 PM

zeolite

Displays information about workspaces in the system and updates cached information about a user name or computer name change on the Team Foundation server.

Tonneau Covers South Africa | Reply

Saturday, December 20, 2008 4:50 PM

Tonneau Covers

After connecting  TFS database i am getting small error.. can you please let me know??
thanks..
regards,
stanford

Traffic building Services United States | Reply

Friday, December 26, 2008 1:39 PM

Traffic building Services

One of the concepts that people need to understand when they begin to work with Team Foundation Server Version Control is that of the Team Foundation Server (TFS) Workspace. So I thought I would write a series of blog-posts covering the basics of TFS workspaces, with this post being the first. This information may be a little basic to many of the people who read my blog (especially this first post) and it is just a write up of how I think about workspaces and how I explain the concept to others. If you have any additional information to add or comments to make then please do.  Also, if you are new to TFS then you probably want to take a read of the help documentation over at MSDN and in the Teamprise User Guide as there is some great information there on this topic.

redding used autos Trinidad and Tobago | Reply

Saturday, December 27, 2008 12:56 AM

redding used autos

if you are new to TFS then you probably want to take a read of the help documentation over at MSDN and in the Teamprise User Guide as there is some great information there on this topic.. This is really a great point..
thanks for sharing.
regards,
graham

Weight Loss Goddess Sweden | Reply

Monday, December 29, 2008 4:04 AM

Weight Loss Goddess

Thanks ahmed. This trick is really awful. Thank for saving me hours of my time!
regards,
Beckham

Volkswagen Slovakia | Reply

Monday, December 29, 2008 12:04 PM

Volkswagen

Thats a really fantastic trick from you.
Thanks for sharing

No deposit bonus United Kingdom | Reply

Friday, January 02, 2009 3:58 PM

No deposit bonus

That is really a great trick, Helped me a lot.
Thank your.. I really thanks ahmed Smile

lowest prices United States | Reply

Sunday, January 04, 2009 2:21 PM

lowest prices

Thanks for the tips,Thanks a lot for sharing.

zara clothing Serbia and Montenegro (Former) | Reply

Monday, January 05, 2009 6:54 PM

zara clothing

This is really awesome article sir.
I have found exact solution for this keyword Change How to ComputerName Value on TFS Workspace Setting..
regards
danny.

kitchen design United States | Reply

Friday, January 09, 2009 4:04 AM

kitchen design

Great article, as usual. Still, some of these links did provide me with something new to work with!

KVM Switches United States | Reply

Friday, January 09, 2009 6:39 PM

KVM Switches

Displays information about workspaces in the system and updates cached information about a user name or computer name change on the Team Foundation server.

fertigasi | Reply

Monday, January 12, 2009 10:58 PM

fertigasi

Thanks for sharing, please keep an update about this info. love to read it more.

Bovik Laan United States | Reply

Tuesday, January 13, 2009 11:33 PM

Bovik Laan

I can't tell you how many times I've searched for information about how to do something, only to find it AFTER spending hours doing it by trial-and-error. Hopefully, I can save you some time the next time you need to figure out how to do something in Team System. Recently, I found an awesome link to a series of "How Do I?" videos on MSDN that answer many of these questions, such as:

    * Automate Team Foundation Build 2008
    * Easily Bind Data to .NET Unit Tests
    * Use the Visual Studio Team System Test Load Agent
    * Add Conditions to Web Tests to Determine If Web Pages are Returning What You Expect?
    * Create a Data-Bound Web Test
    * Use the Class Designer in Visual Studio
    * Use the Data Generation Wizard to Create a Data-bound Data Generation Plan
    * And MUCH, MUCH more! (Yes, I watched too much TV as a kid! Probably still do...)

Online Longboard Skateboard Shop Australia United States | Reply

Thursday, January 15, 2009 6:09 PM

Online Longboard Skateboard Shop Australia

VST plugins are generally run within a Digital Audio Workstation, providing the host application with additional functionality. Most VST plugins can be classified as either instruments (VSTi) or effects, although other categories exist. VST plugins generally provide a custom GUI, displaying controls similar to the physical switches and knobs on audio hardware. Some (often older) plugins rely on the host application for their UI.

party planning United States | Reply

Thursday, January 15, 2009 11:32 PM

party planning

VST instruments require notes to be sent via MIDI in order to output audio, while effect plugins process audio data. MIDI messages can often also be used to control parameters of both instrument and effect plugins. Most host applications allow the audio output from one VST to be routed to the audio input of another VST (known as chaining). For example, output of a VST synthesizer can be sent to a VST reverb effect for further processing.

auto United States | Reply

Saturday, January 17, 2009 9:56 PM

auto

This is excellent. I am having the same problem right now, but managed to find this thread from Google.com.
Thank you!

Malta Hotels United States | Reply

Monday, January 19, 2009 12:51 AM

Malta Hotels

Team Foundation Server (commonly abbreviated TFS) is a Microsoft offering for source control, data collection, reporting, and project tracking, and is intended for collaborative software development projects. It is available either as stand-alone software, or as the server side back end platform for Visual Studio Team System (VSTS).

College Football Tickets United Kingdom | Reply

Friday, January 23, 2009 4:57 PM

College Football Tickets

Displays information about workspaces. it is good. Please add more on it.

Los Angeles Lawyer United States | Reply

Saturday, January 24, 2009 4:38 PM

Los Angeles Lawyer

I have been working with a team that has recently migrated a TFS source project from a trail TFS to a full production server (different server).  They disconnected their solution from source control (removes all the SCC stuff from .sln) files and then tried to add to the new TFS.

Charlotte SEO United States | Reply

Sunday, January 25, 2009 2:53 PM

Charlotte SEO

I must say, my experience over the past month working with Team Foundation Server has left an awful taste in my mouth.  From licensing to migration issues, it’s very evident that TFS is a version 1.0 product.

computer IT United States | Reply

Sunday, February 01, 2009 8:35 AM

computer IT

thanks for info

cheap India calling cards United States | Reply

Saturday, February 07, 2009 3:47 PM

cheap India calling cards

thanks for this trick mate. It is useful for me Smile

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading