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 / Mouse working in atten...
Power Automate
Answered

Mouse working in attended and not unattended

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone, 

I have flow that works when it runs in attended mode and then it doesn't when I run it unattended. I have narrowed the isuse down to the mouse clicks never being sent when its running unattended. The flow runs on a virtual machine that was created using VMWare. Has anyone else experienced this or have troubleshooting ideas? 

  • Verified answer
    John_Mavridis Profile Picture
    Microsoft Employee on at

    Hi there,

     

    Keep in mind that unattended mode uses a resolution of 1024x768 for the target machine. As a result, the screen size might be quite smaller than the default one used in attended runs, so this could lead to less space for windows and the clicks sent thereon, as well as potential issues with image recognition actions.

     

    The following page in Docs explains how you can change this resolution, so it might be worth checking it out:
    Set screen resolution on unattended mode - Power Automate | Microsoft Docs

     

    Thanks!

  • azimzicar Profile Picture
    72 on at

    Hi @JMullins21 

     

    If the issue isn't related to image recognision based on what @John_Mavridis  has mentioned.

     

    It may be due to the way you've exited the VM. I had these same issues years back when runnign unattended processes on VM.

     

    If you're accessing using RDP, the machine logs in and then as soon as you disconnect, it will also log out the user. This may mean the processes you are running will only work for some of the Actions.

     

    If this is the issue, I have 3 potential work arounds:

    1. RDP into the machine and use a free application called mousejiggler to disable autolock or if you can, get this done at policy level for that machine/account

    2. user vnc viewer, or other remote access tools that work by mirroring the VM to you rather than log you like RDP does

    3. if you do want to still use RDP, i have a script you can use to get around that

     

    Whatever the case, let us know what the root cause was if it was not the above.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard