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 / Working with VMware Wo...
Power Automate
Unanswered

Working with VMware Workstation console

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to use PA to automate inside a VM running on Workstation 17 Pro.

 

I can't seem to figure out how to work with a VM console.  If I try to use the recorder, but it complains immediately "Can't access UI elements" (https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-automate/ui-automation-action-fails-errors) with the note that "The application ... is currently running with elevated rights", but the VMware app isn't.

 

Any ideas how I can get into the VM console?

 

Soon, I'm going to try some other RPA tool to see if it can move/click inside a VMware console.

  • DSB Profile Picture
    Microsoft Employee on at

    Automate on virtual desktops - Power Automate | Microsoft Learn

    The easiest way is to install Power Automate on the windows VM and not try to automate it from the machine you are remote connecting through.  Your virtual machine is like a mirror image and that is why you cannot access the elements with the UI Spy from your physical machine - this is true for competitor products as well.

    You can also use image recognition actions like, move mouse to image etc.. as a back up if the first 2 recommendations do not work.

     



  • marco_shaw Profile Picture
    10 on at

    I actually prefer your last recommendation to use image recognition.  I had tried some of the OCR actions, but they seemed to fail.  I quickly tried the "move mouse to image", but it seems to fail.

     

    It looks like the variables are getting filled in.  I wonder if this is actually the correct key sequence to get the login prompt in a VM:

    {Control}{Alt}{Insert}
  • marco_shaw Profile Picture
    10 on at

    Yeah, it seems I can move over to the "Press Ctrl+Alt+Delete" image on the sceen (after first capturing it), but none of the actions seem to be able to click inside the VM.  I tried a couple of left-click actions (with a 2 second wait), but that didn't seem to do it.

  • DSB Profile Picture
    Microsoft Employee on at
     
     
     

    Automate using mouse & keyboard and OCR actions (recommended for automation in VDI) - Power Automate | Microsoft Learn

    Did the 'Send click after moving mouse' toggle not work on the 'Move mouse to image' action?  If it is enabled, I suggest using the 'Focus window' action described in the first step of the article linked above.

  • marco_shaw Profile Picture
    10 on at

    Nothing seems to want to work to click inside the VMware console.  Now the mouse won't even move to the image, but I'm seeing the variables getting X/Y values that seem OK.  I'm going to reboot.

     

    I may also try to see if I can get something like Python to interact with the console.

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 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard