Configure StoreFront to launch applications and desktops in Windowed Mode

Launching the applications seamlessly depends on availability of StoreFront in deployment. If you disable the seamless option for applications and desktops, consider launching your resources in Windowed Mode instead.

The following is an example of a published Notepad. Use the name of the published application exactly as shown in the application set of the Citrix Virtual Apps and Desktops console.

Note:

Most of the settings in ICA files are not case sensitive except for the DesiredHRES and DesiredVRES settings. When applying the windowed app version, use the browser name to reference the app in the default.ica file on the StoreFront server. Verify the browser name of the application by using PowerShell on Delivery Controller:

>>asnp citrix*

>>Get-BrokerApplication -ApplicationName

To configure StoreFront

  1. Edit the default.ica file on the StoreFront server in the \inetpub\wwwroot\Citrix\StoreName\App_Data directory.
  2. In the default.ica file, locate the lines: [ApplicationServers] application=​.
  3. Create a line after application=, and add the following parameters:

    [Notepad]
    TWIMode=Off
    DesiredHRES=1024
    DesiredVRES=768
    
  4. Save the file.

Note:

Replace DesiredHRES=1024 DesiredVRES=768 with ScreenPercent=90 to use the percentage of screen instead of specific screen resolutions.

For published desktops from Citrix Virtual Apps and Desktops 7.x and StoreFront 3.x

  1. Edit the web.config file on the StoreFront server in the C:\inetpub\wwwroot\Citrix\storeWeb directory.

  2. In the web.config file, locate the following line: showDesktopViewer=’‘true’‘.

  3. Modify the value from True to False.

  4. On the Client side or from AD-GPMC, use the administrative template file (receiver.adm or receiver.admx\receiver.adml, depending on the Operating system) to configure the following policy

    • Computer configuration > Citrix Components > Citrix Receiver > User Experience > Client Display Settings: Enable
    • Seamless windows: False
    • Window width: <As per requirement>, Window height: <As per requirement>

Additional resources

DeisredHRES and DesiredVRES can be set to any desired resolution, such as 800x600 or 1024x768.

If the application needs to run in a percent of screen size, then after setting TWIMode=Off, add the line ScreenPercent=90 which configures the screen to 90 percent. You can also accomplish this with the XenApp Services (formerly Program Neighborhood Agent) site. Ensure that the corresponding file under the conf folder for that site (Inetpub\wwwroot\Citrix\PNAgent\conf) is edited.

If you are using the 10.x client and editing the default.ica or template.ica file, add only the TWIMode=Off line. It obtains the HRES and VRES settings from the published application properties. Otherwise, an error appears indicating duplicate entries in the ICA file when a user tries to launch the application.

Configure StoreFront to launch applications and desktops in Windowed Mode

In this article