|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
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.
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
.NET Framework 2.0
Team Foundation Build
The following global options are available to almost all TFSAdminUtil commands. The exceptions are noted.
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.