Microsoft Office Excel does not run hidden but is visible and gets focus

Version 3

    Problem

    In certain applications it is possible to export data to a Microsoft Excel file. While the Microsoft Excel file is being created Microsoft Excel runs hidden and is not shown to the user until the Microsoft Excel file creation is completed.

    When using Ivanti Workspace Control, Microsoft Excel does not run hidden but is visible and gets focus.
    This can cause it to appear that multiple copies of Excel are opened when utilizing a managed shortcut.

    The issue does not occur if the application that exports the data is run by using an unmanaged shortcut.

     

    Cause

    When Microsoft Excel is started embedded, Ivanti Workspace Control notices this and brings Microsoft Excel forward making it visible to the user.

     

    Solution

    Add the following key to the registry to solve this issue:


    32-bit:
    Key: HKEY_LOCAL_MACHINE\SOFTWARE\RES\Workspace Manager
    Value:  AllowExcelMinimized
    Type: REG_SZ
    Data: yes

    64-bit:
    Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\RES\Workspace Manager
    Value:  AllowExcelMinimized
    Type: REG_SZ
    Data: yes

    Note:
    This registry key can also be set on HKEY_CURRENT_USER.