Citrix Virtual Apps and desktops - When launched in Windowed Mode, Minimized published applications cannot be maximized

book

Article ID: CTX695247

calendar_today

Updated On:

Description

After upgrading from VDA 1912 / 2203(any CU level) to VDA 2212 or later, if a published application is launched in Window mode (by configuring the settings below in the default.ica file) and if the application is minimized within the Window, it cannot be maximized again because the minimized Window is not found:

Setting in the default ICA file for published applications:

TWIMode=Off

DesiredHRES=1280
DesiredVRES=1024

This problem can be reproduced with any application (eg. Notepad) as long as the VDA is 2212 or later and the Windows OS is Windows 10 or later where Shell launcher feature is included.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

 

Cause

Microsoft's newer operating systems (Windows 10 and above) includes a new feature called Shell Launcher (ShellAppRuntime.exe) which facilitates replacing the default shell (Explorer.exe) with a Windows desktop Application or a Universal Windows Platform (UWP) app. ShellAppRuntime.exe does not have a feature called "Parking" which is required for displaying the minimized application at the bottom of the screen when using ShellAppRuntime.exe. VDA 2212 and above leverages ShellAppRunTime to launch apps within ICA Sessions.

Resolution

Microsoft is currently evaluating whether to add the Parking feature to ShellAppRuntime.exe. If this issue has a business impact in your environment, please engage Microsoft and provide more details about the business impact. This will help them to decide if this feature will be added in the future releases of the Microsoft Operating Systems. Unfortunately there are no workarounds available at the moment to address this problem.

Issue/Introduction

After upgrading from VDA 1912 /2203 (any CU level) to VDA 2212 or later, if a published application is launched in Windowed mode and if the application is minimized within the Window, it cannot be maximized again because the minimized Window is not found.

Additional Information

This issue can be reproduced in RDP session by following the steps below:

1. Launch an RDP Session, open Notepad within the session, kill explorer.exe from taskmanager;

2. Minimize Notepad and it will be shown on left bottom; Maximize Notepad. 

3. Launch shellappruntime.exe from taskmanager > Run prompt and minimize Notepad again. Now we can't find the minimized Notepad to restore it.

 

References:

Launch Notepad in Windowed Mode: https://docs.citrix.com/en-us/storefront/2203-ltsr/configure-manage-stores/default-ica.html#example-launch-notepad-in-windowed-mode

Shell Launcher: https://learn.microsoft.com/en-us/windows/configuration/shell-launcher/ 

Seamless and Startup Application changes: https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2411/hdx-transport/seamless-applications.html