DEPLOYING PHYSICAL MACHINE UIPATH PROCESS INTO VIRTUAL MACHINE (VDI ENVIRONMENT)

Hi all, today im having issue with deploying the process into virtual machine. there is nothing problem with workflow and process but when the screen is locked in virtual machine the process will throw an error : “Cannot bring the target application in foreground because the Windows session is locked.”. is there any solution to fix this issue.

@haris.afzan

Unattended runs are to be meant while running when vm is completely close or comepletely open nly…obviously when screen is locked ui is not available and we cannot access it

only background processes can run in locked screen

cheers

1 Like

@haris.afzan, Welcome to you in Forum,

If you are using the attended bots then it should not work, for Attended bot you need to apply the never lock and never sleep policy,
Not: your bot will not work when Minimizing the VM window or your outer systems locks.

WHERE IT WORKS

It would help if you used the unattended bot, as suggested by @Anil_G, and need to disconnect from your system.

Bot needs to run via Orchestrator, then it will work.

@haris.afzan I hope this information will help you. why its not working and how it will work on your system.

You can’t run with the screen locked. Sign into the server, then SIGN OUT from the start menu. Now run the job. Robot/Orchestrator establish the RDP connection on their own, you’re interfering with it.