Forum Discussion
jayendharreddy24
Sep 11, 2024Copper Contributor
Running self hosted agent in interactive mode on on-prem server
I have a scenario, Where I have some UFT Developer Automation Tests cases that carry UI automation of Facets Application. I have them running on TFS release pipelines but the test cases are failing b...
balasubramanim
Jan 21, 2025Iron Contributor
To automate running Azure DevOps self-hosted agents in interactive mode for UI tests:
Enable Auto-Login: Configure servers to auto-login a specific user using netplwiz or Group Policy.
Startup Script: Add a script (run.cmd) in the user’s Startup folder to start the agent in interactive mode.
PowerShell Deployment: Use a PowerShell script to install, configure, and start multiple agents automatically.
Optional: Use tools like Ansible or VDI for easier scaling.
This setup ensures agents start interactively without manual intervention.