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 / Run Unattended Desktop...
Power Automate
Unanswered

Run Unattended Desktop flow on remote machine with any other trigger except cloud power automate

(0) ShareShare
ReportReport
Posted on by

Is it available to run Unattended Desktop flow on remote machine with any other trigger except cloud power automate

suggestions:

- run command remotely

- api call to run desktop flow

-... any other suggestion if available and it's required steps

I have the same question (0)
  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    There are some alternatives for running attended mode, but none that I know of to run unattended.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    In order to do that, you would need to have your user logged in and the machine unlocked at all times. There is no other way to force the machine to unlock and the user to sign in automatically, other than the cloud trigger in unattended mode.

     

    If you are okay with the possible implications of having your machine exposed at all times, you could modify some settings on it to prevent the user from getting signed out automatically and the machine from sleeping/locking. You could install the Sysinternals Autologon script to make the user login automatically upon bootup (in case the machine restarts due to a Windows update or a power outage). And then if you have a Premium Power Automate license, you could use an API call or an external CMD call to launch the flow. Or Windows Task Scheduler to run it on a schedule.

     

    You would also need to make sure no one logs in to the machine via Remote Desktop Connection, as that would interrupt any flows during runtime, as well as make the user get logged out upon closing the session. So, you would need an alternative, less intrusive (but equally or more secure) way of connecting to the machine, such as TeamViewer, AnyDesk, or similar software.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Pstork1 Profile Picture
    69,573 Most Valuable Professional on at

    @Agnius Just to point out. If the user is logged in and the machine is unlocked then you are running in attended mode, not unattended.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    From the point of view of Power Automate, yes. But the OP really doesn't care about what PA thinks it runs as. They just want to run it unattended in the real sense of the word (i.e. no actual person being logged in to the machine) without the use of cloud flows. So, if cloud flows are not used, the word "unattended" has a different meaning.

     

    It is possible to run the flows in "attended" mode from the PoV of Power Automate, but without a person actually attending to the machine. That is what I described. It is risky in terms of security, however, and thus not recommended. But possible, nonetheless.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 180

#3
Haque Profile Picture

Haque 159

Last 30 days Overall leaderboard