Share via


ChangePassword Command

Use ChangePassword to change password for all service accounts.

Required Permissions

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 Team Foundation Server Permissions.

TFSAdminUtil ChangePassword account newpwd

Parameters

Argument Description

account

Specifies the old account name.

newpwd

Specifies the new account password.

Remarks

Important

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 Team Foundation Server Task Scheduler.

Note

SQL Server 2005 synchronizes its service account passwords with Active Directory; therefore, the utility does not need to modify any SQL Server passwords.

Examples

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

See Also

Concepts

Team Foundation Application-Tier Servers
Managing Team Foundation Server Application-Tier Servers
Team Foundation Data-Tier Servers

Other Resources

TFSAdminUtil Command-Line Commands
Using Team Foundation Server Command-Line Tools
Administering Team Foundation Server
Managing Team Foundation Server Services and Service Accounts