Share via


How to: Change the Password for Visual Studio Team Foundation Build Service

Eventually you may have to change the password of the account you specified as the Visual Studio Team Foundation Build Service account when you installed Team Foundation Build. You need to change the password manually on the computer where Team Foundation Build is installed.

You can use the TFSAdminUtil Changeaccount command to change the Team Foundation Server service account password. For more information, see How to: Change the Service Account or Password for Team Foundation Server. However, if you also use the Team Foundation Server service account to run Visual Studio Team Foundation Build Service, the Changeaccount command does not change the password for the build service. 

Note

You must not use the Team Foundation Server service account for the Visual Studio Team Foundation Build Service account. Using the Team Foundation Server service account can create potential security risks by granting permissions beyond what is needed.

To change the password, you must log on to the build computer and use the Windows administrative console.

Required Permissions

You must be a member of the Administrators group on the computer on which Team Foundation Build is installed to complete this procedure. For more information, see Team Foundation Server Permissions.

To stop the Visual Studio Team Foundation Build service

  1. Log on to the build computer by using an account that is a member of the Administrators group on that computer.

  2. On the build computer, click Start, click Control Panel, click Administrative Tools, and then click Services.

  3. In the Services (Local) pane, right-click Visual Studio Team Foundation Build, and click Properties.

    The Visual Studio Team Foundation Build Properties (Local Computer) dialog box appears.

  4. Under Service Status, click Stop.

To change the password

  1. In the Services (Local) pane, right-click Visual Studio Team Foundation Build, and click Properties.

    The Visual Studio Team Foundation Build Properties (Local Computer) dialog box appears

  2. Click the Log On tab.

  3. Specify the account you want to use for the service in the This account text box.

  4. Type the new password in the Password text box, and then type the new password again in the Confirm password text box.

To restart the Visual Studio Team Foundation Build service

  1. In the Services (Local) pane, right-click Visual Studio Team Foundation Build, and click Properties.

    The Visual Studio Team Foundation Build Properties (Local Computer) dialog box appears.

  2. Under Service Status, click Start.

See Also

Tasks

How to: Set up and Install Team Foundation Build

Other Resources

Working with Build Definitions in Team Foundation Build