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 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

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

#2
11manish Profile Picture

11manish 185

#3
Haque Profile Picture

Haque 168

Last 30 days Overall leaderboard