2X RemoteExec
Posted by Christopher Flores on 12 January 2015 08:34 AM


The scope of this article is to provide an overview of the 2X RemoteExec functionality within the 2X RAS Console

Versions affected

2X Remote Application Server v10.5+


2X RemoteApplicationServer provides the ability to execute commands in the 2X Shell so that they are forwarded and exected client end.

This functionality is called 2XRemoteExec which allows execution of command line arguments client end. Essentially it pushes a cmd command to the client. An example of how this works may be found below.

In this example we are using remote exec to start up IE on the client side and to open with the Yahoo url. This example assumes all the client PC's have IE located in Program files (x86) folder. This requires that remote exec is accepted in the 2x client settings and that it is enabled also from the 2X Console. This is done as follows:

  1. Open the 2x console 
  2. Select Farm
  3. Select Terminal Serviers and navigate to the properties of the Terminal Server you are interested in enabling this feature for
  4. In the properties, select Agent Settings
  5. Allow 2XRemoteExec

In this case, if the following is executed in the RDS session, Internet explorer with the website defined will launch locally on the client machine:

cd C:\Program Files (x86)\2X\ApplicationServer
2xremoteexec.exe "C:\Program Files (x86)\Internet Explorer\iexplore.exe" ""

In essence, this gives you the ability to send cmd entries in the RDS server (so easily configurable via a logon script) locally to be executed from the client machine.

More information about this may be found here:


(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: