Team Foundation Server 2013
Installation Guide


Benjamin Day


October 16, 2013


Chapter 1:      Install Windows 2012 Server 3

Install Windows Server 2012. 3

Join Windows to a Domain. 17

Configure Windows Update. 23

Chapter 2:      Install SQL Server 2012. 32

Chapter 3:      Install Team Foundation Server 2013. 53


Chapter 1:           Install Windows 2012 Server


The first step of installing Team Foundation Server 2013 is to install Windows Server.  Since this installation guide is focused on installing TFS onto a single server – aka. the TFS App Tier and Data Tier will be installed on a single machine – we have to look at the system requirements for all the pieces of TFS plus the requirements for SQL Server Reporting Services, SQL Server Analysis Services, and SharePoint.  This guide will show you how to install TFS2013 on a single server and will use SharePoint Foundation 2013 for the SharePoint integration. 

Why am I writing all this in the chapter about installing Windows Server 2012?  Because at the current moment, SharePoint Foundation 2013 is not supported on Windows Server 2012 R2.  Notice that I said “2012 R2” and not “2012”.  This isn’t a TFS2013 limitation but because we’re relying on SharePoint Foundation 2013, it means that we need to install TFS2013 on Windows 2012.

Install Windows Server 2012


·       Either insert your Windows Server 2012 DVD into your DVD drive or mount the Windows Server 2012 ISO image into your virtual machine.

·       Start the machine


You’ll eventually see a message that says Press any key to boot from CD or DVD. 

·       Press any key (example: <SPACE>) to run the Windows Server installer


You should see the Windows Setup dialog which prompts you to choose your language, time/currency formats, and keyboard/input method.  This guide will assume that you choose “English (United States)” for Language, Time/Currency and choose “US” for the keyboard settings.

·       Choose your Language to install

·       Choose your Time and currency format

·       Choose your Keyboard or input method

·       Click Next



·       Click the Install now button


·       Enter your product key

·       Click Next


You should see a dialog asking you to Select the operating system you want to install

·       Choose Windows Server 2012 Standard (Server with a GUI)

·       Click Next



·       Check the I accept the license terms checkbox

·       Click Next


·       Click Custom: Install Windows only (advanced)


You should now see a list of disks and partitions. 

·       Choose the disk and/or partition where you want to install Windows

·       Click Next


The installation should now be running.



After the installer has finished setting up windows on your disk, you’ll be prompted to supply an administrator password.

·       Enter an administrator password in the Password and Reenter password boxes

·       Click the Finish button


You should now see the Windows Server 2012 lock screen.

·       Press Ctrl+Alt+Del to bring up the login dialog


·       Type your administrator password followed by <Enter>


You should be able to successfully log in and you should see the Server Manager window.  Windows Server 2012 has been installed.



Join Windows to a Domain


At this point, you have just a basic and clean install of Windows Server 2012.  For ease of permissions management, it’s time to join this server to an Active Directory Domain.

·       Press the Start button on your keyboard to bring up the Start page

You should now see a Start page that looks something like the screenshot below.  Windows Server 2012 and Windows 8 are tricky and it’s not immediately obvious but you can just type stuff on the keyboard in order to perform actions.  That’s what you’ll do on this next step…just start typing.

·       Type Join a domain


After you start typing, you should see a search dialog appear.  By default, the search is going to be on “Apps” and it won’t show any results.  The action you want is under Settings.

·       Click on the Settings icon

You should now see Join a domain in the results.

·       Click Join a domain



You should now see the System Properties dialog.

·       Click the Change… button


You should see the Compute Name / Domain Changes dialog.

·       Enter the name that you’d like to use for this computer in the Computer name box

·       Select the Domain radio button

·       Enter the name of your domain in the Domain textbox

·       Click OK


When prompted by the Windows Security dialog, enter the username and password for a member of the Domain Admins group in Active Directory.

·       Enter the user name & password for a member of the Domain Admins group for this domain

·       Click the OK button

You should now see a welcome message for your domain.

·       Click OK


You’ll be prompted to reboot the machine.

·       Click the OK button


·       Click the Close button

·       Click the Restart Now button


Configure Windows Update


Now that Windows is joined to the domain, you should configure and run Windows Update to make sure that the server is patched. 

·       Log into the server using an account with Administrator permissions

·       Press the Start key to get to the Start page

·       Type Install Optional Updates 

·       Click the Settings icon


You should now see Install optional updates in the search results.

·       Click Install optional updates


·       Click the Turn on automatic updates button



Windows Update will spin for a while.  When that’s completed, you need to enable updates for other Microsoft products.

·       Click Find out more


A browser window will appear. 

·       Check the I agree to the Terms of Use for Microsoft Update checkbox

·       Click the Install button


You’ll see a User Account Control (UAC) prompt.

·       Click Yes


You’ll see a message that says Microsoft Update was successfully installed.

·       Close the web browser and return to the Windows Update dialog


Windows Update should be checking for updates and the dialog should now say that you receive updates For Windows and other products from Microsoft Update.

If updates are found you’ll see something like the image below. 

·       Click on the update message


If there are any Optional updates, click the Optional tab and check all the available updates.

·       If the Optional tab is visible and has updates, click the Optional tab.  Then check all available optional updates.

·       Click the Install button to begin installing


Updates should now be downloading and installing.  Restart the server as necessary.



Chapter 2:           Install SQL Server 2012


SQL Server 2012 is used as the data repository for Team Foundation Server 2013.  A TFS2013 license also includes a license to install SQL Server 2012 Standard for use exclusively for TFS without having to purchase an additional TFS license.  This chapter will walk you through the process of installing SQL Server 2012 for use with TFS.

·       Log on to server using an account that is a member of the Adminstrators group

·       Insert the SQL Server 2012 DVD or mount the appropriate ISO image

·       Open the DVD drive using Windows Explorer (explorer.exe)

·       Run the SQL Server setup program

·       Click Yes on any User Account Control dialogs that appear


You should now see the SQL Server Installation Center window.

·       In the left panel, click Installation

·       In the right panel, click New SQL Server stand-alone installation or add features to an existing installation


·       Click OK


Enter your product key.

·       Enter your product key

·       Click Next


·       Check I accept the license terms

·       Check Send feature usage data to Microsoft

·       Click Next


If product updates are found, install them.

·       Check Include SQL Server product updates

·       Click Next


Verify that the Setup Support Rules dialog does not report any failed checks.

·       Click Next


We’ll be installing only some of SQL Server’s features.  On Setup Role, choose SQL Server Feature Installation.

·       Choose SQL Server Feature Installation

·       Click Next




You should now be on the Feature Selection page.

·       Under Instance Features check

o   Database Engine Services

o   Full-text and Semantic Extractions for Search

o   Analysis Services

o   Reporting Services – Native

·       (Optional) Under Shared Features check

o   Management Tools – Complete

·       Click Next


On the Installation Rules page, verify that there are zero Failed checks.

·       Click Next


You should now be on the Instance Configuration page.

·       Choose Default instance

·       Click Next



·       Click Next


You should now be on the Server Configuration page.

·       Do not modify the Account Name values

·       Set the Startup Type value to Automatic for each service

·       Click Next



·       Choose Windows authentication mode

·       Click the Add Current User button to add the current user as a SQL Server administrator

·       (Optional) Click the Add… button and add the Domain Admins group to the SQL Server administrators

·       Click Next



·       Click the Add Current User button to add the current user as an Analysis Server administrator

·       (Optional) Click the Add… button and add the Domain Admins group to the Analysis Services administrators

·       Click Next



You should now be on the Reporting Services Configuration page.

·       Choose Install and configure

·       Click Next


·       Check Send Windows and SQL Server Error Reports to Microsoft

·       Click Next


On the Installation Configuration Rules page, verify that there are zero Failed checks.

·       Click Next



You should see the Ready to Install page with a summary of the feature installations.

·       Click Install


The install should now be running.



After running for a while, the installation should complete successfully.

·       Click Close to close the Setup window

·       Close out of any other SQL Server installer windows.


SQL Server 2012 is now installed.  Download and install the latest service pack and updates for SQL Server 2012. 

Chapter 3:           Install Team Foundation Server 2013


Now that Windows and SQL Server is installed, you’re ready to install Team Foundation Server 2013 (TFS2013). 

·       If you’re installing this on a Hyper-V virtual machine with dynamic memory enabled, change the minimum amount of RAM to 8GB (at least temporarily) to allow SharePoint Foundation 2013 to install. 

·       Log on to the server using a user account with Administrator privileges

·       Mount the TFS2013 ISO image or insert a TFS2013 installer DVD

·       Using Windows Explorer (explorer.exe), navigate to the installer directory

·       Run tfs_server.exe


You should see the Team Foundation Server Setup dialog.

·       Check I accept the license terms for Team Foundation Server

·       Click Install Now


You’ll see a User Account Control dialog.

·       Click Yes


The installer will run and copy files to your disk and install some component pieces such as the .NET Framework.



You may be prompted to restart your machine.

·       Click OK to restart your machine

·       When the server has finished rebooting, log in with the same user account to resume the installation


When you log back in, the installer will resume.


You’ll be prompted to supply a product key for the installation.  If you have the product key, you can enter it now or you can complete the installation with a trial license.

·       Enter your product key or choose Install a Trial License

·       Click Activate


You should now see the Team Foundation Server Configuration Center.  You’ll be doing a Standard Single Server configuration.

·       Choose Standard Single Server from the left panel

·       Click Start Wizard


You should now be on the Standard Configuration Wizard’s welcome screen.

·       Click Next


You’ll be prompted for a username and password that will be used as a service account for accessing SharePoint and SQL Server Reporting Services.  This account is typically named {domain-name}\TFSReports.

·       Type the user account into the Account Name text box

·       Type the password into the Password text box

·       Click the Test link to verify the username and password

·       Click Next


You’ll be prompted to install SharePoint Foundation 2013.  This screen may display a warning about memory usage competition between SQL Server and SharePoint Foundation 2013’s Distributed Cache Service.  Installing SharePoint Foundation 2013 may cause performance problems on this server and at some point you may want to separate these services. 

·       Click Install SharePoint Foundation 2013


The SharePoint 2013 installer should now be running.

If prompted to restart the server, follow the instructions to restart the server and then log back in to the server.

·       Click Yes to restart the server

·       After the server has restarted, log back in as the same user


After logging back in, the installer will resume.

There may be several reboots but eventually SharePoint will be finished installing. 

·       Click Next


You’ll see a summary of the TFS configuration and, if you’ve rebooted, you’ll see a warning icon next to the Service Account section.  This is because you need to re-type the service account’s password. 

·       Click the Service Account link

·       Re-enter the password for the service account

·       Click Readiness Checks


The readiness checks should run without any errors.  There may be warnings (probably about SharePoint memory) but they can be safely ignored for TFS installations that are not intended to be high-performance.

·       Click Configure


The installer should now be in the process of configuring Team Foundation Server 2013.


The configuration process should complete with a message saying Success.

·       Click Next


You should now see the summary page that summarizes the results of the installation.  

·       Click Close to exit the installer


Team Foundation Server 2013 is now installed.