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

Power Automate Desktop cannot interact with Windows Security credential prompt after KB5074109

(0) ShareShare
ReportReport
Posted on by

Product: Power Automate Desktop

Issue

I created a flow in Power Automate Desktop that launches an RDP (Remote Desktop) application.

However, when the RDP connection starts, a "Windows Security" credential prompt appears asking for a username and password. Power Automate Desktop is unable to interact with this popup.

After the Windows security update KB5074109, this credential dialog seems to run on Secure Desktop, which prevents PAD from interacting with it.

Because of this limitation, the following actions do not work:

  • Capturing UI elements

  • Clicking buttons

  • Sending keystrokes

  • Image recognition

Observed behavior

  1. PAD launches the RDP application

  2. A Windows Security credential prompt appears

  3. If I manually enter the credentials, the connection proceeds

  4. However, after about 1 minute, the same credential prompt appears again

When this prompt appears again, the PAD flow cannot continue.

What I tried

I have already tried the following approaches, but none resolved the issue:

  • Registering credentials using the cmdkey command

  • Saving credentials in Windows Credential Manager

  • Using an .rdp file for the connection

  • Launching RDP via mstsc.exe

  • Running Power Automate Desktop as Administrator

Question

Is there any way to bypass or automate the Windows Security credential prompt for an RDP connection using Power Automate Desktop?

If anyone has experience running PAD with RDP automation, I would appreciate advice on:

  • How to avoid the Windows Security credential popup

  • Recommended architecture for automating RDP with PAD

  • Any known workarounds after KB5074109

Thank you in advance for your help.

I have the same question (0)

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard