A service is running under an incorrect startup account
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
Application-tier server
Data-tier server
Health check
The Best Practices Analyzer tool for Team Foundation Server queries the metabase for Internet Information Services (IIS) to determine the service account that is assigned to the following Windows services:
For Visual Studio 2005 Team Foundation Server:
Code Coverage Analysis Service (coveran)
TFS Scheduler (TFSServerScheduler)
Windows SharePoint Services Timer (SPTimer or SPTimerV3)
For Visual Studio Team System 2008 Team Foundation Server:
Code Coverage Analysis Service (coveran)
Visual Studio Team Foundation Server Task Scheduler (TFSServerScheduler)
An error appears if the service account that is assigned to one of these services does not match the expected TFSService account. You use the TFSAdminUtil command line utility to change the TFSService account. This utility updates all computers that are running Team Foundation Server to use the new service account.
Before you assign the new account, the account must have the Log on as a service permission on the application-tier server. For more information, see A service account is not configured correctly.
Required Permissions
To perform this procedure, you must be a member of the Administrators security group on the application-tier server for Team Foundation. You must also be a member of the SQL Server Administrator group on the data-tier server for Team Foundation.
To update the service account for Team Foundation Server
Log on to the application-tier server.
At a command prompt, change directories to the location of the TFSAdminUtil utility.
Note
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.
By default, the utility is located in one of the following directories:
Drive:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools
Drive:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Tools.
At a command prompt, type TFSAdminUtil ChangeAccountoldAccount newAccount newPassword, and then press ENTER.
You must type the old user name for the TFSService account (oldAccount) in addition to the user name and password for the new account (newAccount and newPassword).
For more information, see "How to: Assign a New Account to a Team Foundation Server service."
For Visual Studio 2005 Team Foundation Server, visit the Microsoft Web site.
For Visual Studio Team System 2008 Team Foundation Server, visit the Microsoft Web site.
See Also
Tasks
A service account is not configured correctly
Other Resources
Issues That Relate to the Application Tier for Team Foundation