web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Unanswered

Power Automate Desktop Unattended Mode Issues

(0) ShareShare
ReportReport
Posted on by 4

We have a Power Automate Desktop Flow that needs to run on a VM unattended. We find that running on attended, it works fine but it is failing when we switch it to unattended.  The error message that is it giving out is 'Problem while executing action 'AttachToChromeByTitle'. Failed to assume control of Chrome. No Chrome browser window was found within the remaining timeout period (2 seconds).'

We checked and chrome extension is there and it is working fine when running on attended. our vm/server that we are using is on prem and it has this screen which we think might be the reason why chrome is not getting detected?

ArianneC_0-1709650369224.png

Do you know if running unattended, it is bypassing this screen or is it getting stuck on this screen? or is there some kind of login agent that we can use to get the bot to login to this server, press ok and go on with running the flow? 

I have the same question (0)
  • eetuRobo Profile Picture
    4,484 Super User 2026 Season 1 on at

    I would assume that the unattended gets stuck to that screen. Its probably your organizations security settings that make that screen appear.

     

    When you run attended on the VM are you logged in to the machine with same account as the unattended bot? Or is that your account and not the automations account? That would explain why you don't get the screen when running attended but the bot gets it since your account probably has authorization to the VM and the bots account doesn't.

     

    Can you ask the people who admin the accounts to give same authorization as regular employee to the automation account?

  • cwischnewski Profile Picture
    160 on at

    Our company uses that same type of message on logon, we have never had any issues with Unattended.  Are you using the same network user for both Attended and Unattended.  It is possible if they are different users, that chrome is not right for the unattended user. 

     

    Another thing to try is to use Remote Desktop once the desktop flow is going.  Maybe have a flow that pauses for a minute- before trying to start Chrome, then run it, RDP into that machine to see what is going on.  Just note that once you make the RDP connection you have to keep it open until the bot is done, at which time it will automatically log off for you and your RDP session will end.

     

    One more thing to consider is that the default setting in for the service that handles opening the session, it will run the desktop at 1024x768.  We found that our web apps switch to a tablet UI at that resolution, so we had to investigate the config settings necessary to force higher resolution.

     

    Hope some of that helps.

  • cwischnewski Profile Picture
    160 on at

    I just re-read your message.  The error is on an attach to chrome by title.  So are you launching chrome earlier just fine?  How can you do an attach when no chrome instance is running?

  • Malik5 Profile Picture
    on at

    @ArianneC you probably have the Microsoft Store version of Power Automate Desktop installed. Please uninstall it from the VM and install it via the MSI Installer, this should resolve the 'Failed to assume control' issue.

     

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/install#install-power-automate-using-the-msi-installer

     

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard