Updates Command

You can use the Updates command to install any software updates that are missing from the databases for Visual Studio Team Foundation Server (TFS). In most cases, software update mismatches will not occur, because updates are usually applied to the entire deployment. To operate correctly, the application tier and the databases must have the same software updates applied. If a software update mismatch occurs where the databases are missing one or more updates that have been applied to the application tier, you can use the Updates command to attempt to automatically apply the missing updates to the databases.

Note Note

The Updates command applies updates only to the databases. If a software update mismatch occurs where the databases have a software update that has not been applied to the application tier, you must manually apply that update to the application tier. For more information about how to determine whether a software update mismatch might have occurred, see Diagnose Command.

Required Permissions

To use the Updates command, you must be a member of the Team Foundation Administrators group on the application-tier server for Team Foundation and a member of the sysadmin group in SQL Server on the data-tier server for Team Foundation. For more information, see Team Foundation Server Permissions.

Note Note

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

TFSConfig Updates /reapply

Option

Description

/reapply

Specifies that any software updates that have been applied to the application tier for Team Foundation will be applied to the databases for TFS, if the software updates are not already present.

You use the Updates command to attempt to automatically apply to the TFS databases any software updates that have already been applied to the application tier. When you run this command, messages will inform you about the status of the update attempts. Update jobs will be queued for any databases that are missing the updates. These databases might include the configuration database, the warehouse database, and all databases for team project collections. If one or more jobs cannot complete, error messages will specify which databases could not be updated and provide more information, if any is available.

The following example shows how to run the Updates command to apply to the databases for Team Foundation Server any software updates that have already been applied to the application tier.

TFSConfig Updates /reapply
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft