29-11-23 05:50 PM
Hi Team,
I had a process working on a VM hosted on-prem without a problem, during this process I need to take a screenshot and save it on local drive.
When I moved the process to another VM hosted on GCP the screenshot is no more working (I don't receive any error but the screenshot is saved as a Black picture), the process can continue working without a problem but the screenshot will always be black.
I don't know if there is any setting I can enable.
I am using Image Manipulation V1 from VBO, I tried another Object without a success
Thank you for your help
30-11-23 09:02 AM
It sounds like you've logged into the remote machine using RDP. By logging in via RDP you are locking out the Resource PC user and creating a new desktop session. When you disconnect, the Resource PC is still online and connected, but it has no desktop, and this is why your screenshots are black. Other activities such as Activate and Global Mouse Click will fail for the same reason. A process can still run on the remote machine, provided it does not need to do anything that requires the desktop. This v6 document is still relevant and page 4 in particular will help.
If you don't have another remote access tool you can use, then you'll need to use Login Agent to restore the Resource PC desktop after you've disconnected your RDP session. This is done by running the Log Off and Log On processes.
30-11-23 02:31 PM
Thank you @John Carter for your answer
I am using Login Agent to access the Ressource not RDP
Do you have any idea please why I have this problem even if I am using Login Agent ?
I tried Check Logged in Process and it gives me True
Thank you
------------------------------
Zakaria Bouchlih
------------------------------
01-12-23 09:29 AM
As an experiment can you try this:
01-12-23 02:00 PM
Hi John,
This is what I am doing to run the process normally, but having the same issue
05-12-23 08:19 PM
Hi @John Carter, any other suggestion please ?
06-12-23 10:08 AM
Hi Zakaria
If the DW is in the 'no desktop' state I mentioned, Check Logged In will still return True. This is why I suggested the Log Off > Log In > Screenshot experiment. But if you have done this, then perhaps the problem is something else. Could there be something wrong in the VBO?
13-12-23 06:34 PM
Hi @John Carter,
It's the same VBO I used on a VM hosted on-prem and it's working.
Some guys suggested that I Disable Windows SmartScreen on my VM but I found it already disabled, I don't know if you know some special configuration on Windows Server VMs to fix the issue
thank you
14-12-23 12:49 PM
Hi Zakaria, sorry I don't know