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

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.

NoteImportant

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.

NoteNote

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.