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 / Automate clicking yes ...
Power Automate
Unanswered

Automate clicking yes for elevated privilege's prompts

(0) ShareShare
ReportReport
Posted on by 6

Hello,

 

Currently I am automating a sequence through windows settings and at multiple points access the "properties" window of an ethernet adapter, which throws a prompt for admin privilege's ("Do you want to allow this app to make changes to your device": yes/no). I am running WPAD in elevated mode so I am able to access the following windows with my actions but it still requires me to manually click yes to the prompt every time before continuing. Is there a way to automate this?

 

Thanks!

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @BMirabito Could you please share a screenshot, of what you are trying to achieve? or else would you mind trying below:

    I would recommend you to use SendKeys{TAB}, try counting number of tabs it takes to reach to {desired button on the popup}. Once the control is on that link/button use SendKeys{ENTER}

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

    Cheers,
    Ankesh


     

  • BMirabito Profile Picture
    6 on at

    @Ankesh_49 

     

    I have tried sending keys and unfortunately that hasn't worked. It seems to pause the flow when the prompt happens and then the keys I tried to send are registered after user response. I have attached an example picture I found online of the UAC prompt (not the same program as my use-case) and then the actual use-case location of what I need to run.

    Example image of UAC prompt found onlineExample image of UAC prompt found onlineMy use caseMy use case

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @BMirabito Could you please try below and let me know 

     

  • BMirabito Profile Picture
    6 on at

    @Ankesh_49 

     

    The first idea prompts a yes confirmation, the second does not work (same flow paused situation) and I do not want to disable the UAC prompts in an external manner.

     

    I just want to know if it is possible using PAD.

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @BMirabito I believe it is not possible to click UAC dialog by PAD for security reason. However, if you try send keys for this "The first idea prompts a yes confirmation" and make it work.

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

  • BMirabito Profile Picture
    6 on at

    @Ankesh_49 

    No what I meant was that idea just prompts another UAC dialog box so there is no difference to the original problem as I cant send keys to it. 

     

    Sounds like it can't be done then and needs user input during the process ok.

  • hx Profile Picture
    2 on at

    You could try modifying an external manifest for powerautomate.exe to include uiAccess="true" and ensure its installed under C:\Program Files

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