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
-
PAD launches the RDP application
-
A Windows Security credential prompt appears
-
If I manually enter the credentials, the connection proceeds
-
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
cmdkeycommand -
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.

Report
All responses (
Answers (