Microsoft Test Manager is unable to determine the status of the Test Agent Installer service. Error code: {0}. Error message: ...

Microsoft Test Manager is unable to determine the status of the Test Agent Installer service. Error code: {0}. Error message: {1}. Wait a few minutes and then click 'Repair/Install Agents'. Alternatively, use the Environment Viewer to connect to the machine and install the test agent manually.