Four months ago Buck Hodges from the VS ALM team announced a white paper about how to use tfsconfigure unattend command line tool to silently configure TFS 2012, this tool gives the ability to configure TFS 2012 from the command line with all predefined configuration.
Today, I am going to explain how to use this great tool to help me install TFS 2012 Express on a machine and use SQL Server 2012 Express that already installed on other machine.
After installing TFS 2012 Express on PC1 and SQL Server 2012 Express on PC2 I will not configure TFS and perform the following steps.
* Log In to PC1 with Admin account that has permission on the SQL machine so it can install DB there, it’s better if you use Domain Controller account.
* Open the command line for Visual Studio as administrator
* Navigate to: C:Program FilesMicrosoft Team Foundation Server 11.0Tools directory (cd C:Program FilesMicrosoft Team Foundation Server 11.0Tools
* From the command line run the following command: tfsconfig unattend /configure /type:basic /inputs:SqlInstance=PC2TFSSQLExpress
PC2: is the second machine.
TFSSQLExpress: is the instance name.