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
andDesiredVRES
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
- Edit the default.ica file on the StoreFront server in the
\inetpub\wwwroot\Citrix\StoreName\App_Data
directory. - In the default.ica file, locate the lines:
[ApplicationServers] application=
. -
Create a line after
application=
, and add the following parameters:[Notepad] TWIMode=Off DesiredHRES=1024 DesiredVRES=768 <!--NeedCopy-->
- Save the file.
For published desktops from Citrix Virtual Apps and Desktops 7.x and StoreFront 3.x
-
Edit the web.config file on the StoreFront server in the
C:\inetpub\wwwroot\Citrix\storeWeb
directory. -
In the web.config file, locate the following line:
showDesktopViewer=''true''
. -
Modify the value from True to False.
-
On the Client side or from AD-GPMC, use the administrative template file (
receiver.adm
orreceiver.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>
Notes
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 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.