Change the Visual Studio Team Foundation Build Service Account


You may have picked the Network Service account during the installation of Team Build and now want to modify it to use a Domain Account.  The steps to perform this task are easy enough and I will go through them here:

  • On the Build Computer stop the Visual Studio Team Foundation Build Service
  • Edit the properties of the Visual Studio Team Foundation Build Service and select the Log On tab
  • Enter the account and password of the account you want to use to run the build service
  • Associate the default port to the new build service account using the wcfhttpconfig.exe command-line tool located in the following folder “C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies”
  • Execute wcfhttpconfig.exe reserve DOMAIN\UserAccount 9191 from the folder above.  If you fail to perform this step you will receive an “Access Denied” message when starting the service.
  • Start the Visual Studio Team Foundation Build Service
  • Add the new build service account to the Build Services security group for your Team Project

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

One Response to “Change the Visual Studio Team Foundation Build Service Account”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: