Picture in picture in ui path

I am trying to run a program in picture in picture in ui path but getting following error ,
RemoteException wrapping System.Exception: Could not start executor. StartProcessInSession timed out.

how to rectify this ?

Hi @poojaskyrathore ,

Could you try increase the session time out for the PIP. Please find the below statement fr uipath docs. Please try and let us know. Thanks.

The default timeout to start a process in PiP session is 60 seconds. If the login in the Picture-in-Picture session takes more than that, a timeout error is thrown. This default timeout can be changed using UIPATH_SESSION_TIMEOUT environment variable on the machine.

Hi @poojaskyrathore
The default timeout to start a process in PiP session is 60 seconds. If the login in the Picture-in-Picture session takes more than that, a timeout error is thrown. This default timeout can be changed using UIPATH_SESSION_TIMEOUT environment variable on the machine.

When using the Robot in Service-Mode, make sure to set the UIPATH_SESSION_TIMEOUT variable as a system environment variable and restart the Robot Service.

For more details please refer this document : Picture In Picture

how to create this variable ?

Please refer the below screenshot