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
Here is a very comprehensive blog on re-connecting disconnected agents
http://michaelbarnesjr.wordpress.com/2012/10/18/teamcity-build-agent-disconnected/
Here are the steps (copied from the above link)
If an agent becomes disconnected for whatever reason, you can follow these steps to re-connect it:
That will start the agent, and after a few seconds or so, the next time you go to TeamCity, it will be connected.
If Team City is running on a windows server, you can connect to that server, go to Services and restart the build agent that has become disconnected.