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 / Unattended Run Without...
Power Automate
Suggested Answer

Unattended Run Without Calling RDP

(0) ShareShare
ReportReport
Posted on by
Hello, currently my company has RDP calls turned off and I keep getting an error try to run unattended. Error - "please make sure that consent for microsoft remote desktop is enabled"
 
Is there a way we can run attended without calling RDP? 
 
Thanks.
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    1,353 Moderator on at
     
    Unattended desktop flows always rely on a background RDP session, even if you never manually open Remote Desktop. Power Automate uses the RDP stack internally to create the session the bot runs in, so if RDP is disabled by your company, unattended mode can’t start.

    Your two workable options are:
    Run in attended mode: The flow runs inside an already‑logged‑in Windows session, as long as the machine stays signed in and unlocked. No RDP needed in this case.
    Use Hosted RPA machines: These run in Microsoft’s cloud and don’t require your local network to allow RDP, since the session happens inside Azure.
     
    Unfortunately, there’s no way to run true unattended automation on a local machine without RDP being enabled.
     
    Details:
    Why you cannot run an unattended desktop flow without Remote Desktop permissions?

    Because unattended mode REQUIRES RDP for “login” automation, even if you're not manaully using Remote Desktop.
         When Power Automate runs unattended, it logs into the machine via RDP in the background.
         If RDP is blocked, disabled, or restricted --> unattended runs cannot work.
         This is part of Microsoft’s design: unattended mode = background RDP session.
    So the error is expected.
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
  • Suggested answer
    11manish Profile Picture
    853 on at
    Yes, you can run attended automations without calling RDP, but unattended runs strictly require it to function. 

    The error you are seeing occurs because Power Automate creates a hidden "Remote Desktop" session to run flows when you are signed out (unattended mode). Since your company has disabled RDP, these unattended sessions cannot be established.
     
    for reference :
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard