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 Desktop Flow on lo...
Power Automate
Answered

Run Desktop Flow on locked machine

(3) ShareShare
ReportReport
Posted on by 17

Is there a way to run a Desktop Flow against a locked account? The account I use to access the machine and build flow MUST remain logged in to the machine (another 3rd party software requirement). So, we leave the user logged in but lock the machine. From my testing and forum review I don't see that attended or unattended will run successfully in this scenario.

 

Can anyone confirm? Any experience with this scenario?

I have the same question (0)
  • CU23070503-2 Profile Picture
    on at

    Hello StehtBI,

     

    According to the following attended needs an unlocked account and unattended a locked one:

    Run a Power Automate Desktop flow - Power Automate | Microsoft Docs

     

    I am quite new to Power Automate Desktop. Could you please help me with my question?

     

    I have created my first PAD flow and I struggle to understand how sharing it with my colleagues work. I want to share an attended PAD flow. So I need a local gateway to whose computer? My one, that one of my colleague or to a central computer? If the PAD flow is triggered from cloud, will my colleague see all the steps live, like Edge opens, the forms are filled etc.?

     

    When I share the desktop flow directly via cloud, but not integrating it in a cloud flow, will my desktop flow show up locally in PAD of my colleague?

     

    What is the best way to share my PAD flow under the condition that my colleagues should not have general access to the entire DB with all its data? Also, they should not be able to edit the desktop flow.

  • Verified answer
    StehtBI Profile Picture
    17 on at

    @TimmK Thanks for the reply. I am certainly not a Power Automate expert either and will keep the topic of this post to my original question. The link you shared seems to provide the answer in that Desktop Flows will not work on a locked machine (see screenshot below). Thank for the nudge.

     

    I propose you add a new thread with any question outside of the specific issue addressed here.

     

    Unattended_Locked.png

     

    Regards

    Adam

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey@StehtBI, you'll need to turn on a setting on Power Automate Machines

     

    RafaBosco_2-1658333240786.png

    RafaBosco_3-1658333250193.png

     

    After that, you can call a DesktopFlow (unassigned mode) and it should run on a locked screen (signed user, but locked screen).

     

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