How to run the Virtual machine scale set agents in interactive mode with AutoLogOn.

Subashini Mahendran 1 Reputation point

I am using Virtual machine scale set agents in my pipelines, by default the agent was running as service. I need to use screen resolution utility extension for changing the agent resolution and test complete application for running my test project, for this I need to run the VMSS agents in interactive mode with AutoLogOn.

Since VMSS agent running as service, the pipeline failed in screen resolution task. Please find the screenshot regarding it below:

Currently I am using Windows OS as agent. Also, I could see an option in agent pool to run the agent with auto log on and interactive test for Windows Server Operating system. Whether this option suitable for Windows Operating system also?

If not, can you please provide any solution regarding this asap.

Note: While using self-hosted VM as agent, while configuring the agent in VM itself it ask whether need to run agent as service or not. How this option can be enabled in VMSS agent?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
27,206 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 14,092 Reputation points Microsoft Employee

    @Subashini Mahendran Currently, Azure DevOps is not supported on Microsoft Q&A. Please check this supported products list here (more to be added later on).

    However, the Azure DevOps team and community are active and answering questions on Please post your question there and experts will guide you.

    Few examples on the same topic for reference:

    You can also ask for help on Stack overflow:
    or request for support here :



    If this answers your query, do click “Accept the answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query, do let us know in the comments.

    0 comments No comments