As part of a build, we use PsExec to run subinacl on a remote server. I can run this build (it's Nant) from my machine, and I can log into the agent machine and run it from the build agent work directory (as the correct user, of course). But when I try to run it as a TeamCity build, it hangs when trying to run PsExec. When using TeamCity 6.0, it would actually fail saying that the file could not be copied over, but now that we've upgraded to 6.5 it hangs, seemingly waiting forever. Does anyone know what might be causing this difference in behaviour between the TeamCity interface and running it directly on the agent? The agents all run as the same user, and this user has the correct permissions on the target server.