I am having security issues with lab management and standard environments.
I have TFS2012 update 2 installed in my domain \"DevDomain\". I have a separa
I have a workgroup environment without a domain, and it turns out that I had created the local account (.\tfslab) and had the TFS Test Controller setup with the use this account for lab management (.\tfslab) but I had forgotten to set each of the test agents services to run under the local machine account.
To troubleshoot this issue I highly recommend changing the 'Deployment script and arguments' to the following command:
cmd /c whoami
See additional troubleshooting steps here: http://social.msdn.microsoft.com/Forums/vstudio/en-US/f46dc491-87c2-4234-8566-99b25302020e/deployment-tasks-run-under-nt-authoritysystem?forum=tfsbuild
For folks who are running into issues with workgroup configurations (non-Domain) in the future don't forget to update the following services such that:
The Visual Studio Lab Agent Service 'Log On Account' is changed from 'local system account' to 'This Account' and specify the local machine account '.\tfslab'
The Visual Studio Lab Network Agent Service 'Log On Account' is changed from 'local system account' to 'This Account' and specify the local machine account '.\tfslab'