How to Publish a Remote Desktop with a Custom Configuration

  • CTX127051
  • Created onMar 26, 2014
  • Updated onMar 27, 2014
Article Topic Configuration


This article describes how to publish a custom remote desktop connection on XenApp. The main intent of this article is to allow administrator access to servers from Web Interface or Program Neighborhood Agent to make administration easier.


Some administrators might require different access to their servers so they can have other methods to access their work. Certainly farm administrators need to be careful about giving remote desktop access. A simple way to publish a remote desktop is to find the mstsc.exe and publish it on the farm, but there is no control on what options should be allowed when accessing the servers with this method. This article demonstrates a method where you publish one remote desktop connection per server and with custom settings.


Prepare *.rdp file with the desired settings for the server

This article contains configuration information for the remote desktop connection.

  1. Open Remote Desktop Client. (This can be done on any computer, you only need to create the *.rdp file.) Click Options, extra configuration options for the current connection is displayed. Configure the IP address or host name of the computer you wish to access using the remote desktop. If you want to create only one custom connection for all of your machines, then leave it blank.

    Note: Leave the username box blank and Allow me to save credentials cleared.User-added imageUser-added image
  1. Modify the display settings. Always keep in mind the type of connection the users will have, the higher the graphics resolution, the more the performance of the connection is affected. If you want to force a specific desktop size or color quality, change them here. The settings changes made here are saved in the *.rdp file.User-added image

  1. Modify the Local Resources settings. Configure these settings as needed, keep in mind that the users will be using these connections. Users might have unwanted access to resources on the server if the settings are configured wrongly. Configure your audio, clipboard, printer, and local drive redirection settings.User-added image

  1. Modify the experience settings. The more options you allow, the more network resources are used for the connection. Select Reconnect if the connection is dropped. This helps users connect from limited or high usage networks.User-added image

  1. Eliminate the security question when user logs on to a server that cannot provide or is not configured to provide this type of verification. This is recommended especially for connection to Windows Server 2003 or Windows XP machines. These versions of operating systems do not have the feature to provide this type of verification. Set the value to “Connect and don’t warn me”.

User-added image

  1. Go back to the General tab and save the configuration to a *.rdp file.User-added image

  1. You now have a custom remote desktop connection to a server. However there is another thing to be configured.

    By default, when a user logs on to a Microsoft Windows 2003 Server they must log on twice, first on the remote client and second inside the connection on the Windows login prompt. This does not occur for Microsoft Windows 2008. This is a normal behavior. If you publish the remote desktop with this configuration, the administrator must log on twice to authenticate to the Windows 2003 servers. To resolve this, you can make the connection bypass the first logon prompt.User-added image

For the remote desktop connection to bypass the first login prompt, disable Credential support on the connection. Open the *.rdp file with Notepad and at the end of the file, add EnableCredSSPSupport:i:0, and save the file. Add this file to any folder you wish on the XenApp server so it can be accessed when you publish the connection.

Publish the remote desktop connection in XenApp

Open the Delivery Service Console or Access Management Console, and start to publish a new application. Follow your desired settings for the published remote desktop, except the location. For the location you must find mstsc.exe and add the location of the *.rdp file as a parameter. This tells remote desktop to make a connection with that configuration.

User-added image

Additional Resources

For more information regarding PowerShell with XenApp, you can download the complete SDK that gives the complete command library to use PowerShell with XenApp and documents how it can be used.
Remote Desktop Protocol settings in Windows Server 2003 and in Windows XP

Automatic translation

Important: Non-English versions of this article are translated by an automatic translation system (also referred to as Machine Translation, or MT) and have not been translated or reviewed by a person. Citrix offers a machine translated version of this article to allow for greater access to the support content. However, automatic translation is not always perfect and may contain vocabulary, syntax or grammar errors. Citrix is not responsible for inconsistencies, errors or damage incurred as a result of the use of machine translated articles. Thank you.

Traduction automatique

Important : cet article a été traduit par un système de traduction automatique (également appelé Traduction automatique ou TA) et n'a pas été vérifié par des spécialistes. Citrix propose une traduction automatique de cet article afin de permettre à toute personne ne maîtrisant pas l'anglais d'accéder au contenu de l'assistance. Toutefois, la traduction automatique n'étant pas parfaite, elle peut contenir des erreurs de terminologie, de syntaxe ou de grammaire. Citrix n'est pas responsable des incohérences, erreurs ou dommages pouvant résulter de l'utilisation par nos clients d'articles TA.

Automatische vertaling

Belangrijk: Dit artikel is vertaald door een automatisch vertalingssysteem (ook Machine Translation of MT genoemd) en is niet vertaald of beoordeeld door mensen. Citrix biedt een machine-vertaalde versie van dit artikel aan om een betere toegang mogelijk te maken tot de support-inhoud. Automatisch vertalen werkt echter niet altijd perfect en het resultaat kan fouten bevatten in de woordkeuze, syntaxis of grammatica. Citrix is niet verantwoordelijk voor inconsistenties, fouten of schade als gevolg van het gebruik van MT-artikelen door onze klanten.

Maschinelle Übersetzung

Wichtig: Dieser Artikel wurde mit einem maschinellen Übersetzungssystem und ohne jegliche Bearbeitung durch Personen übersetzt. Citrix bietet maschinelle Übersetzungen von Artikeln an, damit Benutzer umfassenden Zugriff auf Support-Inhalte haben. Maschinelle Übersetzungen enthalten jedoch möglicherweise Fehler in Bezug auf Terminologie, Syntax und Grammatik. Citrix übernimmt keine Verantwortung für Inkonsistenzen, Fehler oder Schäden, die aus der Verwendung von maschinell übersetzten Artikeln durch Kunden resultieren.


重要提示:本文是由自动翻译系统翻译完成的(也称为“机器翻译”或 MT),未经人工翻译或审查。Citrix 提供本文的机器翻译版本是为了方便更多人访问支持内容。然而,自动翻译的文章并不总是完美的,可能存在词汇、语法或文法方面的错误。对于因客户使用机器翻译文章导致出现的不一致、错误或损害,Citrix 不承担任何责任。



Tradução automática

Importante: este artigo foi traduzido por um sistema de tradução automática (também conhecido por Machine Translation ou MT) e não foi traduzido nem revisado por pessoas. A Citrix oferece uma versão traduzida por máquina deste artigo para permitir maior acesso ao conteúdo de suporte. No entanto, a tradução automática não é sempre perfeita, podendo conter erros de vocabulário, sintaxe ou gramática. A Citrix não se responsabiliza por inconsistências, erros ou danos incorridos como resultado do uso de artigos de MT de nossos clientes.

Traducción automática

Importante: Este artículo ha sido traducido por un sistema de Traducción automática (también llamada MT o Machine Translation) sin intervención de un traductor humano. Citrix ofrece la traducción automática de este artículo para ampliar el acceso a la información de asistencia técnica. No obstante, la traducción automática no es perfecta y puede contener errores de vocabulario, sintaxis y gramática. Citrix no se hace responsable de cualquier imprecisión, error o daño ocasionados por el uso que hagan nuestros clientes de los artículos traducidos automáticamente.
Was this helpful?
Thank you for your feedback

Share your comments or find out more about this topic

Citrix Forums