|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|
Use ChangePassword to change password for all service accounts.
To use the ChangePassword command, you must be a member of the Team Foundation Administrators security group on the Team Foundation application-tier server and a member of the sysadmin security group on the SQL Server on the Team Foundation data-tier server. For more information, see.
Specifies the old account name.
Specifies the new account password.
We recommend that you back up the databases in the Team Foundation Server data tier server.
The ChangePassword command is used by an administrator who wants to change the password of the service account (for example, domain\servername). The administrator changes the password on the domain account and then runs this tool to update all Team Foundation servers with the new password.
The utility updates the application tier by changing application pool passwords. To apply the changes, the utility restarts the application pools and updates the Team Foundation Server Task Scheduler, also known as TFSServerScheduler service. For more information, see.
SQL Server 2005 synchronizes its service account passwords with Active Directory; therefore, the utility does not need to modify any SQL Server passwords.
The following example shows the syntax used to change service account passwords. The utility swaps all instances of the account, MyAcct, to have a new account password, newPass. The utility iterates through the service accounts and only changes those that run under the old account.
>TFSAdminUtil.exe ChangePassword MyAcct newPass