Install the RDP extension on the Studio/robot machine that will try to automate another machine.
Install the Remote Runtime in the targeted machine.
Note: if your automation is going to a different hop (machine), install also the RDP extension and Remote Runtime for each hop machine.
To check the hops, from the Studio machine run the below command in cmd.exe:
tracert -d DESTINATION_HOSTNAME
or
tracert -d DESTINATION_IP_ADDRESS
However, it is significant to know that tracert
will only show the network route and not specifically show how RDP, Citrix, or VMware connections are routed, as that involves different layers of networking.
The routing of Remote Desktop (RDP), Citrix, and VMware connections is generally managed within the respective software applications and aren’t typically traceable in the same way that network layers are (for instance, using commands like tracert
).
However, there are command line utilities for each of these that may provide some insight:
- RDP: You can use the
mstsc
command to start an RDP session, but it doesn’t provide any detail about the route that the session takes.
- Citrix: Citrix has its own command line tools, such as
CtxSession
and query session
, that can provide information about current Citrix sessions, but they do not provide routing information.
- VMware: VMware also has a set of command-line utilities (VMware CLI) that allow operations on virtual machines, but they do not provide specific networking or routing detail.
It’s important to note that these methods are useful for managing connections, not tracerouting the connections. You may need to work with your network administrator to get further visibility into the routing of these types of application-layer connections.
For network layer tracing, you have tools like tracert
, pathping
, netstat
and nmap
. But to check how an application-layer protocol like RDP, Citrix or VMware is directed, you’re dealing with specific functionalities of these software applications, which involve different layers or aspects outside traditional network layer tracing.