I am trying to install Lync Server 2013 on a Windows Server 2008 R2 but during the server component installation I get the Error
Error: Command execution failed: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
The error happens on this step (report path truncated):
This step will configure services, apply permissions, create firewall rules, etc. Executing PowerShell command: Enable-CSComputer -Confirm:$false -Verbose -Report "....html"
Image with complete report (cannot embedded image due to lack of reputation): http://i.stack.imgur.com/M1XfG.png
I have reinstalled all the components already but the error persists.
The Server is also hosting a Team Foundation Server 2012. To prepare for Lync I removed the TFS WebSite Binding for Port 8080 disabled it in IIS.
What causes the error and how do I resolve it?