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 / How to run a desktop f...
Power Automate
Unanswered

How to run a desktop flow from windows task scheduler

(1) ShareShare
ReportReport
Posted on by 2

 

My Objective is to run the flow once when pc starts between 8 am till 10 am each day using the windows task scheduler.

flow.PNG

 

I have the same question (0)
  • miketran13 Profile Picture
    720 on at

    Hello,

     

    Unfortunately, there is no way for you to do that and I don't think Microsoft will support this in the future. Because you have to use Power Automate on Cloud as the orchestrator for triggering manually or schedule it from there. You can't do that from a task scheduler. 

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • maciejewski Profile Picture
    27 on at

    HI

    Without offline scheduler/executor PAD is not usable for now.

     

  • miketran13 Profile Picture
    720 on at

    Hi,

     

    Why don't you use Schedule Flows to run your Desktop flows ?

     

    scheduleflows.png

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • maciejewski Profile Picture
    27 on at

    thanks for suggestion but we need it to can run offline - like in WinAutomation 

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    HI @maciejewski ,

     

    I've been looking into this too.  Unfortunately this is not possible at the moment and it is unclear if it ever will be.  When you run the PAD from your PC, it calls an instance to run from the Cloud.

     

    The following command is called:

    "C:\Program Files (x86)\Power Automate Desktop\PAD.Runtime.Robot.exe" --path "C:\Users\[**UserName**]\AppData\Local\Microsoft\Power Automate Desktop\Console\Workspace\829e4538-9631-4e12-a2c4-187299a15ae7\package" --instanceId 4ec585ad1a69462a9818e4648f32ca13 --varPreviewChars 128 --varPreviewLines 5

     

    This includes the GUID for your PAD and an instanceId.  Whilst the GUID for your PAD matches with that of the cloud, I couldn't establish how the InstanceId was obtained which must be some sort of authentication to run the flow.

     

    It's quite interesting because you can see all of your solutions here:

    C:\Users\[**UserName**]\AppData\Local\Microsoft\Power Automate Desktop\Console\Workspace\

     

    For now at least - it is not possible.

     

    Damien

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Tawfik_Chelli , @maciejewski , @miketran13 

     

    I've posted the idea here.

  • maciejewski Profile Picture
    27 on at

    thanks for information Damien 

     

    error in link:

    The page you are trying to access was not found. Please check your URL for typos and try again.

     

    for now we stick with WinAutomation

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    @maciejewski - sorted cheers.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This doesn't work for personal accounts.

  • pcand1001 Profile Picture
    65 on at

    Try API commands

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 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard