TF400106: Failed to register the build service–with TFS 2012 Installation

Over this weekend, I was upgrading one of my client’s TFS environments from 2010 to 2012.  The process went very smoothly until we got to the Team Build Configuration.  This continued to fail repeatedly on the “Register with Team Foundation Server” step.  In this particular managed environment of my client, the Windows Firewall Service is disabled completely and replaced with other software firewalls. 

A good description of the problem can be found here.  In summary, the installation process is attempting to add a firewall exception; but since the firewall is disabled it fails.  Optimally, this would be just a warning and the installation would continue.  According to Jason Prickett, this is a bug in the installation code – and it would be fixed in a subsequent release/patch of Team Foundation Server.  Now that Update 1 is released, I did the following:

  1. Stop troubleshooting the build service configuration.
  2. Install Update 1 on that TFS Server
  3. Now do the build service configuration through the UI.

All was good.

If you do this, you’ll need to heed Buck’s note as well about restarting the build services and IIS.  But with those two links, I think you can get the environment in solid shape.