Hi Nordine,
When we connect to a machine via RDP, Windows makes several changes in the way it works, compared to a local connection, it changes the Console user session (default) to RDP #, and with that, it treats the graphical environment differently, taking settings from the local machine and using it on the remote machine, stopping updating the graphical environment if the RDP screen is minimized, among others. Therefore, whenever you connect to a machine via RDP, use the IBM RPA AlwaysOn feature to disconnect from it.
On this machine that you access via RDP, are you running the bot via Studio or Scheduling?
If you start the bot through Studio, to test its execution, you can log out using the IBM RPA, Always On feature, which closes your connection to the machine but does not close the user's session on the local machine.
If you are running by Schedule, you can use the 'Attach To Runtime / Schedule' feature, if you have configured VNC it is even possible to view the machine's screen while debugging the running script.
------------------------------
Angelo Alves
------------------------------
Original Message:
Sent: Fri April 16, 2021 05:32 AM
From: nordine vandezande
Subject: Error: This application is not supported on custom DPI/scaling configurations
Hi Ryan
Thanks for your reply. I already had checked my display settings and I am not using a second monitor. The thing is that this error is only recurring randomly: like I mentioned in my original post, the bot runs fine several times (in the same RDP session) and suddenly I am getting the error.
------------------------------
nordine vandezande
Original Message:
Sent: Thu April 15, 2021 12:11 PM
From: ryan sparks
Subject: Error: This application is not supported on custom DPI/scaling configurations
Hello!
Sorry for the delayed response. We typically see this issue when the zoom on your display settings are not set to 100% or when there is a second monitor that could be attached to the machine.
Take a look at the display settings and make sure they are set to 100%. That should fix your issue.
------------------------------
ryan sparks
Original Message:
Sent: Fri March 19, 2021 09:45 AM
From: nordine vandezande
Subject: Error: This application is not supported on custom DPI/scaling configurations
I know that problem descriptions starting with 'sometimes' are a pain 😏 but here we go:
sometimes I am getting an error "This application is not supported on custom DPI/scaling configurations" while running a script, for instance when executing findWindow.
The weird thing is that I am not always getting this although my script hasn't changed. I also noticed that when I sign out of my workstation and log on again, I am not getting the error anymore and my script is working fine for a while.
Any ideas what can cause this problem? I don't know if it relevant but I am connecting to my workstation using Remote Desktop and I am not using custom scaling in Windows.
------------------------------
nordine vandezande
------------------------------