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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to trigger flow wh...
Power Automate
Answered

How to trigger flow when computer is woken up

(0) ShareShare
ReportReport
Posted on by 15

Good morning!

 

Every now and then my screen resolution is all wrong when I wake up the computer from energy saving mode.

I built the flow to check on the screen resolution and how to fix it in 2 minutes - but how do I trigger the flow everytime the computer comes out of power savings mode? Alternatively when the user logges in.

 

Thanks

Pete

I have the same question (0)
  • OkanAutomation Profile Picture
    107 on at

    Hi,

     

    PowerAutomateDesktop doesn't have a trigger when windows boots up. So you need a work around. Here is an example:

     

    1. Run a powershell ICE scrip that send an email. (very easy to do)

    2. Save that powershell script.

     

    3. Run this script at when windows boots up. To do this you can: "Windowskey"+"R". An app will open. 

    4. Write "shell:startup" and hit ok.

    5. Paste your powershell script here.

    - What happens now is whenever you startup your pc, a mail will be send and here comes the next step: triggering the flow because you just received an email.

     

    6. Create and automated cloud flow which triggers when an email is received.

    7. Run an attended/unattended activity within your flow.

     

    Enjoy!

     

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Would you use Windows scheduler to kick off a command line at startup.  I think you can use a command line to trigger the flow.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard