Use RDP Connection

You can connect to devices over an RDP connection if session management via Remote Desktop Sessions is preferred to normal login sessions.

Prerequisites
To use RDP your environment must comply with the requirements for the Lock Screen feature.
  1. Install Device Automation Service on remote devices. Configure the service to work in single user mode and specify a token. See Configure the Automation Device Agent.

  2. In the Device Automation workflow, insert the Open Step.

  3. In the Open step, select local in the Device list and specify the URI for the RDP connection, for example rdp://admin:AdminPassword@Server1.

    Once the robot executes the Open step, an RDP connection is established.

Note Only one RDP connection to a specific device can exist at a time, but you can have several RDP connections to different devices. A new RDP connection to the same device closes any existing RDP connection on this device.

If the Device is a static reference, you can see available applications in the Automation Device view after RDP connection is established.

If the Device is a dynamic reference, a Connect To Device Step is needed to automate the remote device. We recommend setting up timeout and some retry attempts to make sure the RDP connection is established. Once this step is executed, you should see available applications in the Automation Device view.

Note To check that the RDP connection is established, look for the kapowlock process in the Windows Task Manager. If the process is present in the list of processes on the computer executing your robot, the connection is active.