标签:type rtu following ext configure windows make sel box
http://donovanbrown.com/post/auto-start-build-agent-in-interactive-mode
Problem:
I need my build agent to auto login and start in interactive mode.
Solution:
Enable Windows auto login and add a shortcut to the startup folder.
Explanation:
I run Coded UI and Selenium UI test using my build agent. To do so the agent must be run in interactive mode. However, if you configure your agent to run interactive, it will not restart automatically after a reboot. If your system is configured to automatically install updates, your server may get rebooted without you knowing and prevent your agent from starting.
To solve this you can configure Windows to automatically log in a user and start the agent in interactive mode for you. To begin we need to enable automatic log in.
control userpasswords2
Now every time your machine is rebooted the configured user will automatically login to the machine.
Now we need to make sure that once the user is logged in that our agent starts in interactive mode. To do this we are going to create a shortcut that will start our agent then simply place that shortcut in the startup folder for Windows.
If you double click the shortcut, your agent will start in interactive mode. Now we need to copy this shortcut into the startup folder for Windows. This will ensure that each time we login the agent is started.
shell:startup
Now whenever your machine is restarted your agents will start up in interactive mode.
Auto start build agent in interactive mode
标签:type rtu following ext configure windows make sel box
原文地址:http://www.cnblogs.com/vivianlou/p/7182510.html