Forum Discussion

kylegogtp's avatar
2 years ago

Log into windows automatically on Azure Pipeline



I have setup running our tests nightly on a Azure pipeline. This works if we disconnect using the tscon command.


That said sometimes the VMs restart or get locked so tests fail. I setup an Interactive agent with auto-logon and it does not log in after restart. I went through MS documentation and the agent seems to be setup correctly and works with logged in and running.


Is there any documentation to get tests running on pipeline if the VM is locked and not disconnected using the tscon command to keep it open?