Udostępnij za pośrednictwem


TFSAdminUtil Command-Line Commands

Use TFSAdminUtil to automate the tasks of changing Team Foundation Server service accounts or account passwords on the application and data tiers, which are used internally by Team Foundation Server to run various tasks and services. TFSAdminUtil does not physically create an account or change its password, but simply updates Team Foundation Server to use existing credentials. The service account can be either a local or a domain account, and TFSAdminUtil can be scripted to allow automated updates.

The TFSAdminUtil command-line utility is located in <drive>:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Tools on the Team Foundation Server application tier.

Note

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

The TFSAdminUtil command-line utility is dependent on many of the Team Foundation Server components being available and fully operational. These include:

  • Microsoft SQL Server 2005

  • Microsoft SQL Server Reporting Services

  • Active Directory Domain Controller

  • IIS 6.0

  • .NET Framework 2.0

  • Team Foundation Build

The following global options are available to almost all TFSAdminUtil commands. The exceptions are noted.

Option

Description

/?

Displays the command syntax and options for TFSAdminUtil.

/NoPrompt or /i

Specifies that the administrator is not prompted before committing changes. Use these options in connection with the ActivateAT and Sid commands.

In This Section

ChangeAccount Command

ChangePassword Command

ConfigureConnections Command

Sid Command

RenameDT Command

ActivateAt Command

Status Command (TFSAdminUtil)

Authentication Command