Applications span on both monitor when maximize them in Citrix

Posted on 2011-10-03
Last Modified: 2012-11-12
In Windows, applications usually only span one monitor when you maximize them. For some reason, the applications, MS Word running in Seamless mode span on both monitors in Citrix XenApp5.0

Any idea on how to prevent this?
Question by:cowiekspert
    LVL 25

    Accepted Solution

    Think you may need to set a flag.


    This is the server-side component of a fix that addresses an issue in multiple monitor environments where child dialog boxes are not positioned properly, appearing across monitors instead. It also introduces an enhancement that allows you to launch applications on dedicated monitors.

    To enable the fix, you must:

    Deploy the corresponding client-side Fix #157950

    Set the following registry key on all servers to which you want to extend this functionality:

    HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
    Name: DefaultHooks
    Type: REG_DWORD
    Flag 0x1: Maximize window to correct monitor
    Flag 0x400: Center child dialog boxes
    Flag 0x800: Launch applications on a specified monitor
    Flag 0x0: Disables this functionality

    To specify a monitor for application launching:

    Set the flag above to 0x800 and then set the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
    Name: DefaultLaunchMonitor
    Type: REG_DWORD

    0: launch application on primary monitor
    1: launch application on secondary monitor
    ...and so on.

    To set hooks for specific applications:

    Add a (REG_DWORD) with the application executable name as the name. For example, to set specific hooks for Notepad, add the following registry value:

    HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
    Name: [Notepad.exe]
    Type: REG_DWORD

    0: launch application on primary monitor
    1: launch application on secondary monitor
    ...and so on.

    [From xxx][#157950]


    Author Comment


    The application launch correctly on the primary monitor, minimized. But the problem occour when I maximize it, then it spans both monitors.

    Any help will be appreciated:)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    #Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
    Citrix XenDesktop, Citrix Studio, Citrix Policies, Citrix XenApp
    How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now