Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Managing server configuration with TFSConfig

By using the TFSConfig command-line tool, you can configure or create a script to configure many aspects of your deployment of Team Foundation Server (TFS). For example, you can use the commands in TFSConfig to find information about or change the following items in Team Foundation Server:

  • service accounts and their passwords.

  • addresses and ports that TFS uses.

  • the state of team project collections that are part of the deployment.

  • the software updates that are applied to the application tier for Team Foundation and the databases for TFS.

  • information about other components, such as Team Foundation Build or Visual Studio Lab Management. 

    Note Note

    You can also configure a server interactively by using the administration console for Team Foundation. For more information, see The Team Foundation Administration Console.

You can use TFSConfig to configure TFS to use credentials, addresses, and ports that you have already defined. You cannot use the tool to create accounts or change the addresses that components such as SharePoint Products use. For example, you can use TFSConfig to change service accounts and passwords as long as the accounts and passwords already exist. You can also use TFSConfig to help repair or recover your deployment if an unexpected event occurs. For example, you can use it to repair your deployment if a software update does not apply to all components in the system or if a restoration of databases from a backup leaves a collection database improperly detached.

You must run TFSConfig from the application tier for Team Foundation. By default, TFSConfig is located in Drive:\%programfiles%\Microsoft Team Foundation Server 12.0\Tools.

Note Note

Even if you log on with administrative credentials, you must open an elevated Command Prompt window to run TFSConfig.

To operate correctly, TFSConfig must be able to connect to the following servers and services:

  • The instance or instances of SQL Server that host any databases that this deployment of TFS uses, such as the configuration database and databases for team project collections.

  • Any SharePoint Web applications that this deployment of TFS uses.

  • Any instance of SQL Server Reporting Services that this deployment of TFS uses.

  • The Active Directory domain controller, if Team Foundation Server is deployed in a domain.

  • Internet Information Services (IIS) on the application-tier server or servers.

  • Any server that is running Team Foundation Build and is used by this deployment.

  • Any server that is running Visual Studio Lab Management and is used by this deployment.

You can use the global options that are listed in the following table with most TFSConfig commands. The exceptions are noted in the specific topics for those commands.

Option

Description

/?

Displays the command syntax and options for TFSConfig.

/NoPrompt or /i

Specifies that the administrator is not prompted before changes are committed.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.