I am having blue prism architecture where my blue prism server and database server are in different machines which I access via taking remote desktop. I scheduled
The problem lays in the fact that if no one is actively connecting to the VM, the VM will go to 'sleep' mode. This essentially means the screen will go black and any visual elements required by any automation tool (including BluePrism) won't be able to be spied any more and hence an exception in thrown.
A common way to resolve this is to 'mock' an active session, by using tools like Caffeine. Other than that there is currently little you can do. If there is an ideal solution, I would be very interested in this myself too!