Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to run Flow on Reboot

(0) ShareShare
ReportReport
Posted on by 11

I've built a Flow that runs OK from within the Power Automate Desktop app.

I want to have this Flow automatically run every time the PC reboots.

I created a BAT file with the command:

START "Power Automate Desktop" "Name of Flow"

 

But this gives an error and does not run. What am I doing wrong?

 
 
 
  • Verified answer
    pfafft33 Profile Picture
    11 on at
    Re: How to run Flow on Reboot

    Disappointing!

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: How to run Flow on Reboot

    Hi @pfafft33 

     

    I don't believe there are any plans at the moment to support running PADs scheduled from Windows 10 other than using PowerAutomate for which you need a license for.

     

    When you run a PAD flow something similar to the following is called:

     

    "C:\Program Files (x86)\Power Automate Desktop\PAD.Runtime.Robot.exe" --path "C:\Users\DamienWork\AppData\Local\Microsoft\Power Automate Desktop\Console\Workspace\827e4538-9651-4e19-a8c4-189295c13ae6\package" --instanceId 5ec585ad1a29444a9218e4648f32ca33 --varPreviewChars 128 --varPreviewLines 5

     

    This includes the GUID of your flow and an instanceId which must be some sort of authentication with the cloud.

     

    The feature might arrive eventually but for now, if you want an attended PAD, you have to trigger it from PowerAutomate or run it manually from the PAD console.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow