How to Specify a Program to Start on Connection by Using Microsoft Remote Desktop Connection

How to Specify a Program to Start on Connection by Using Microsoft Remote Desktop Connection

book

Article ID: CTX133583

calendar_today

Updated On:

Description

This article describes how to specify a program to start on connection by using Microsoft Remote Desktop Connection.

Requirements

  • Remote Desktop Protocol (RDP) client such as the Microsoft Remote Desktop Connection client (MSTSC.exe).
  • Additional configuration on the XenApp Server to accept these connection requests.

Background

Launching applications through RDP can be used for troubleshooting purposes, such as, to compare the behavior of RDP with ICA protocol.

For example, an application displays an error message when accessing through the Citrix ICA protocol. You can use RDP to compare the behavior of the application.

This option works only if you are connecting to a Terminal Server or Remote Desktop Services. This Microsoft Windows role is installed on each Citrix Presentation Server or XenApp server.

Instructions

To specify a program to start a connection using Microsoft Remote Desktop Connection, complete the following procedure:
  1. Open Start > Programs or All Programs > Accessories > Communications > Remote Desktop Connection.

User-added image
 

  1. Click Options in the lower left corner to display additional tabs.

  2. On the General tab, specify the XenApp server hostname, Fully Qualified Domain Name (FQDN) or IP address.

  3. Activate the Programs tab.

  4. Select the Start the following program on connection: option.

  5. Type the path to the executable and the folder as shown in the following screen shot:

User-added image

  1. Click Connect.

  2. Complete the Windows authentication if prompted.

Issue/Introduction

This article describes how to specify a program to start a connection by using Microsoft Remote Desktop Connection.

Additional Information

NOTE : For newer versions of OS, refer https://support.citrix.com/article/CTX218256
You might receive the following error messages:

User-added image

User-added image

To resolve this error, complete the following steps:

 Presentation Server 4.5 or XenApp 5 on Windows Server 2003

  1. Click Start > Programs or All Programs > Administrative Tools > Terminal Services Configuration.

  2. Right-click on RDP-Tcp listener in the Connections hive.

  3. Select Properties.

  4. Activate the Citrix Settings tab.

  5. Clear the Non-Administrators only launch published applications option.

User-added image

 XenApp 6.x on Windows Server 2008 R2

  1. Open the Citrix AppCenter management console.

  2. Select Policies under the farm.

  3. Activate the User tab.

  4. Add a new or modify an existing user policy.

Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.
  1. In the Edit Policy Window, on the Settings tab, open ICA settings.

  2. Enable the Launching of non-Administrator programs during client connection option.

User-added image
  1. Ensure that the policy is filtered properly to the user that is used for the RDP connection.
Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.