使用 ChangePassword 更改所有服务帐户的密码,指令如下:

TFSAdminUtil ChangePassword oldacct oldpwd newpwd [target]

参数说明

oldacct :指定旧帐户名。

oldpwd :指定旧密码。

newpwd :指定新帐户密码。

target :指定目标计算机。如果省略 target,则使用本地计算机。目标计算机必须为应用层服务器。

ChangePassword 命令由要更改服务帐户(例如,域服务器名)密码的管理员使用。管理员更改域帐户上的密码,然后运行该工具,使用新密码更新所有的 Team Foundation 服务器。

ChangePassword 做了些什么呢?如果不用它怎样改服务帐户的密码?请往下看:

TFS运行时会用于两个服务账号,一个是TFSService运行账号(比如TfsService)、一个是报表服务器用来访问TFS数据账号(比如:TfsReports)。如果这两个账号的密码发生改变,须要对TFS服务进行重新配置,具体步骤如下:

1. 在IIS中修改下列应用程序池的运行账号TfsService的口令:

a) TFS App Pool

b) TFS Wss Pool

c) TFS WssAdmin pool

2. 在windows服务中,修改下列服务的运行账号TfsService的口令:

a) Code Coverage analysis Service

b) Sharepoint Timer Service

c) TFSServerScheduler Service

3. 在Reporting Service中修改下列数据源登陆账号TfsReports的口令:

a) TFSOLAPResportDS

b) TFSReportDS

重启机器或重启相应服务后,TFS就能正常工作了

相关文章:

  • 2021-08-16
  • 2021-11-02
  • 2021-09-21
  • 2022-12-23
  • 2021-11-07
  • 2021-10-11
  • 2021-07-17
  • 2021-09-11
猜你喜欢
  • 2022-02-10
  • 2022-02-05
  • 2021-06-03
  • 2022-01-15
  • 2021-11-04
  • 2021-10-10
  • 2022-12-23
相关资源
相似解决方案