ThinWorld Citrix Knowledgebase

Tuesday, 9 June 2009

Citrix Xen Multi Monitor Controls

Citrix XenApp support multiple monitors through the ICA connection protocol.

Some applications may however encounter problems when delivered using this method and the default Multi monitor controls may need to be adjusted.

Examples are :

  • Application launches on the wrong monitor
  • Application spreads across 2 monitors
  • Application window size incorrect
  • Application Maximise not working as expected

MMHOOK.DLL is the controlling file for Citrix Multi-monitor support.

The following registry section allow changes to the default multi monitor handling.
Citrix Article CTX115637 discusses in detail the setting that can be applied here.

HKLM\Software\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook

In this registry section you can add a DWORD value of DefaultHooks and the settings will apply to all applications on the server. You can add a DWORD value equal to the application executable name to only apply the settings to a certain application. eg. BADAPP.EXE

The settings must be added as a decimal value that is the sum total of the setting you wish to apply. By default a number of settings are already enabled with the default value being 30719 in decimal.

(This works the same as Seamlessflagexceptions if you have used those in the past)