Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Repair Command

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

You can use the TFSConfig Repair command to attempt to repair connections to or problems with the databases in your deployment. When you use the Repair command, all services are stopped, Team Foundation Server (TFS) is taken offline, and a repair operation is run on the configuration database. After that operation is completed, repair operations are queued for the collection databases, and TFS is returned to an online state.

Required Permissions

To use the Repair command, you must be a member of the Team Foundation Administrators security group on the application-tier server for Team Foundation. You must also be a member of the sysadmin security group on each server and instance of SQL Server that hosts a database for Team Foundation. For more information, see Team Foundation Server Permissions.

Note Note

Even if you log on with administrative credentials, you must open an elevated Command Prompt window to perform this function.

TFSConfig Repair

The Repair command takes your deployment of TFS offline while the repair operation is run. While this command is running, no users will be able to connect to your deployment.

The following example shows how to try to repair he databases for a deployment of Team Foundation Server.

Note Note

The examples are for illustration only and are fictitious. No real association is intended or inferred.

TFSConfig Repair
TFSConfig - Team Foundation Server Configuration Tool
Copyright © Microsoft Corporation. All rights Reserved.
Acquiring the servicing lock.
Servicing lock acquired.
Stopping application...
Application stopped successfully.
Starting application...
Application started successfully.
© 2014 Microsoft. All rights reserved.