I installed a build agent on Windows 7 and always have the agent show up as \"disconnected\". The log teamcity-agent.txt shows below information
If this is the
Starting the TeamCity Agent manually in the Services panel resolved the issue for me (on a Windows machine).
Problem was indicated in the upgrade.log (in BuildAgent\logs directory):
ERROR - r.agent.upgrade.UpgradeRunBase - Failed to start agent after upgrade: java.io.IOException: Failed to start TeamCity build agent service. Please check TeamCity build agent service user have enough permissions to stop and start the service.