Skip to main content
Navigator | Tier 3
December 24, 2022
Solved

Bot failed to click an object when the VM is minimized

  • December 24, 2022
  • 11 replies
  • 1640 views

So i have a bot and the bot runs successfully in the development and the production environment.

I notice that it works fine when we open the VM, but if we minimized the VM the bot failed to capture an object,

Here is the Scheme. PC → VM → run the bot (unattended)

Is there an option to make sure the bot runs succesfully even if i minimized the VM?

Best answer by David Jansen

Hi @David Jansen ,

If you still facing the issue, check the follow KB article in order to discard the referenced issue 

https://apeople.automationanywhere.com/s/article/Insert-Keystrokes-Keystrokes-not-working-when-RDP-window-is-minimized

  1. Close all the Remote Desktop sessions opened on your computer (the parent machine).
  2. On the parent machine, click Start and select Run.
  3. In the Run dialog box, type "regedit" and press Enter, the Registry Editor opens.
  4. Locate any of the following Registry keys:

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client

(if you want to change the RDC settings for your user account)

– or —

  1. HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client

(if you want to change the RDC settings for all accounts)

  1. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Terminal Server Client

(if the machine is a 64-bit machine)
 

  1. Create a new DWORD value in this key named  RemoteDesktop_SuppressWhenMinimized and specify 2 as the value data.
  2. Reboot the parent machine (this is a mandatory requirement)

 

Regards.

HTH

Hi @Raul Jaimes 

thanks for the suggestion, i’ve opened AA support ticket and they also gave this article for the solution, even though in the end the problem was apparently not because of the RDP getting minimized but this is for sure is the solution for the title i posted.

 

thank you for all the answer for this post

11 replies

rbkadiyam
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
December 27, 2022

check attached documentation for this issue.

Ramesh B Kadiyam