Microsoft

Deploy Visual Studio Test Agent Task – Test Machine Rebooting Scenarios

Jul 3, 2017Deepak.Singhal [MSFT]
Deploy Visual Studio Test Agent Task – Test Machine Rebooting Scenarios
SummaryAI, from the source post

This post addresses specific scenarios related to the Deploy Visual Studio Test Agent (DTA) task in TFS/VSTS, focusing on test machine rebooting and auto-logon requirements for UI tests. It details how the DTA task enables auto-logon by modifying registry keys when disabled locally, but notes that Group Policies can override this. The post highlights issues with legal notices/logon banners causing auto-logon failures and introduces a reboot cap of 3 in newer versions (VSTS, TFS 2015 Update 4 & TFS 2017 Update 2 onwards) to prevent infinite reboots. It also details warning messages provided by the DTA task when policies or registry entries might hinder auto-logon, and answers common questions regarding reboots, auto-logon necessity, and troubleshooting repeated reboots.

More from the Azure Pipelines Agent Operating System Support trail