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.
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.
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 HookCreate a REG_DWORD Value with the name of the process (for example, notepad.exe).
Edit the registry entry and add the Data 800 (hexadecimal) or 2048 (decimal).
On one of the XenApp servers, open the Delivery Services Console or AppCenter and note the name of the published application (for example, NotepadTest).
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
Open the default.ica file with Notepad.
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.)
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
Start the online plugin or browse to the Web Interface site and launch the application.