How to Force a Specific Application to Launch on a Specified Monitor in XenApp 6.0 and 6.5

How to Force a Specific Application to Launch on a Specified Monitor in XenApp 6.0 and 6.5

book

Article ID: CTX136336

calendar_today

Updated On:

Description

This article describes how to force a specific application to launch on a specified monitor in XenApp 6.0 and 6.5. The process requires editing the registry on the XenApp server(s) the application is published to, and editing the default.ica file on the Web Interface server for the site that users access to launch the applications.


Instructions

Complete the following steps to force a specific application to launch on a specified monitor in XenApp 6.0 and 6.5:

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

  1. Open the registry on the XenApp server(s) the application is published on, and browse to:

    HKEY_LOCAL_MACHINE\Software\Wow6432Node\Citrix\CtxHook\AppInit_dlls\Multiple Monitor Hook
  2. Create a REG_DWORD Value with the name of the process (for example, notepad.exe).

  3. Edit the registry entry and add the Data 800 (hexadecimal) or 2048 (decimal).

  4. On one of the XenApp servers, open the Delivery Services Console or AppCenter and note the name of the published application (for example, NotepadTest).

  5. On the Web Interface server, locate the default.ica file for the site that users access the application from.
    C:\inetpub\wwwroot\Citrix\<SiteName>\conf

  6. Open the default.ica file with Notepad.

  7. Under the [Application] section, add the following lines:

    [AppName] (this is the name of the application noted in Step 4)
    PreferredLaunchMonitor=1 (where 0=Primary Monitor, 1=Secondary Monitor, etc.)
  8. Using the NotepadTest application as an example, the [Application] section of the default.ica file looks like the following:

    Note: Items under [Application] might vary slightly on some servers.

    [Application] 
    Launcher=PNAgent 
    TransportDriver=TCP/IP 
    DoNotUseDefaultCSL=On 
    BrowserProtocol=HTTPonTCP
    LocHttpBrowserAddress=! 
    WinStationDriver=ICA 3.0 
    ProxyTimeout=30000 
    AutologonAllowed=ON 
    EnableIPCSessionControl=TRUE
    [NotepadTest] 
    PreferredLaunchMonitor=1
  9. Start the online plugin or browse to the Web Interface site and launch the application.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Issue/Introduction

This document describes how to force a specific published application to launch only on a specified monitor.

Additional Information

CTX115637 - Citrix Multi-Monitor Configuration Settings and Reference