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 / Is there any way to un...
Power Automate
Answered

Is there any way to unattended shutdown my PC in Power Automate Desktop?

(0) ShareShare
ReportReport
Posted on by 31

I tried on 2 PCs. and both are showing the below confirmation message. I also enabled the "force" option as well but it is not working. I don't want a confirmation box. I want my PC to shut down automatically once the action executes. How to fix it. Please help.

b0ae5c92ad90351147406eef9011f5a5.png

Thanks in advance,

Regards,
Vi

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Try a command line shutdown with delay and force errors. This will allow it to report back successful that it sent the command line and then shut down after the bot is finished. 

  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @av00 ,

     

    The action doesn't require confirmation when the flow is run through the console or the portal. In all cases, the action will terminate the flow. Refer this link for more details: Workstation - Power Automate | Microsoft Learn

    Kaif_Siddique_0-1663423889074.png

    Force Shutdown or Restart from Command Line

    https://blog-archive.josephcs.com/how-to-force-shutdown-or-restart/#main_content

     

    To shutdown computer after 120 sec : shutdown -s -t 120

    https://www.youtube.com/watch?v=ihRE6kGmDIA

     

    If you like my response, please give it a Thumbs Up.
    If this helps, please Accept as solution.

     

    Regards

    Kaif

  • Verified answer
    Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    As @Kaif_Siddique points out the prompt is only used when you are in the PAD designer.  When you run the flow in production you will not be prompted.

  • av00 Profile Picture
    31 on at

    Thanks, Pstork1 for your valuable suggestion 

  • av00 Profile Picture
    31 on at

    Thanks Kaif for your valuable suggestions

  • av00 Profile Picture
    31 on at

    Thanks MichaelAnnis for your help

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

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard