Citrix StoreFront Tweaks

StoreFront

Citrix StoreFront is an enterprise application store that provides an interface for users to access XenDesktop  and XenApp virtual desktops and applications remotely.

Architecture

StoreFront Tweaks
StoreFront Tweaks

Store Centric Administration administrator creates store and receiver for web and authentication services are part of the store automatically.

Authentication Service authenticates users, establishes their identities and marshals the information about theusers in the form of assertions/claims into security tokens. In StoreFront 3.x you can provide configuration independence for authentication services to each store.

Credential Wallet is hosted in Windows Service called: โ€œCitrix Credential Walletโ€, or it’s localised variant. The hosted Credential Wallet service is an in-memory hash-table that securely stores encrypted passwords and the content is replicated though Peer resolution service to other storefront group member.

Domain Services host WCF services that provide the functionality to authenticate a user. Supports Kerberos, Certificates and LDAP authentication.

Store Service communicates with the backend resources providers (XenApp, XenDesktop, VDI-in-a-Box and AppC) using XML messaging.

Subscription Data Store User subscription information has to be persisted in the StoreFront server so that different client devices have a consistent view of user subscription. Each Storefront store has a matching Subscription Data Store and also replicated through Peer resolution service to other StoreFront group member.

RfWeb (Receiver for Web) is the a web based interface for the StoreFront Store. It allows any browser to connect to store service with minimum client side configuration. Receiver is required to make HDX connection. RfWeb can also deliver HTML 5 client to the modern browser.

Joining Service and Configuration Replication are services controlling the replication and security of the StoreFront to StoreFront configuration.

Speed Up Logon Page

When the StoreFront server checks certificate revocation for its locally signed files, a delay can occur before the StoreFront logon page is displayed.

  • Run the following PowerShell commands:

Another potential tweak to speed up StoreFront is to disable NetBIOS. 

  1. Right-click the Start Menu and click Network Connections.
  2. Right-click the NIC and click Properties.
  3. Highlight Internet Protocol Version 4 and click Properties.
  4. Click Advanced.
  5. On the WINS tab, change the selection to Disable NetBIOS over TCP/IP and click OK twice and Close once.
  6. Repeat on the other StoreFront servers.
Speed Up Logon Page

Add “Remember my password”

If you leave PNAgent authentication set to Prompt, you can enable the Remember my password box by doing the following:

Add "Remember my password"
  1. Run Notepad as Administrator and edit the file C:\inetpub\wwwroot\Citrix\Store\Views\PnaConfig\Config.aspx.
  2. Near line 74 is EnableSavePassword. Change it to true.
  3. When PNAgent connects, there should now be a Remember my password checkbox.

Auto Full Screen Desktop

The Citrix Article CTX139762 “How to Configure StoreFront to Start Published Desktops in Full Screen Mode” describes how to configure StoreFront to start published desktops in Full Screen Mode.

  1. Open the file C:\inetpub\wwwroot\Citrix\Store\App_Data\default.ica on the StoreFront server(s) with notepad (as Administrator)
  2. Add the line:
    [Application]DesktopViewer-ForceFullScreenStartup=On
  3. In older versions of StoreFront, it should be true instead of On.
  4. Save the file.
  5. Open the command prompt (cmd) and run iisreset.

Treat Desktops as Applications

Fromย Treating All Desktops as Applicationsย at Citrix Blog Postย Whatโ€™s New in StoreFront 3.0: Desktops are treated differently from applications in StoreFront/Receivers. They are placed in a separate Desktop tab and in the case of Receiver for Web, they are not reconnected with workspace control. In some use cases, it is desirable to treat desktops as applications so that they are placed together with applications and get reconnected as part of workspace control. With StoreFront 2.x, you have to add theย TreatAsAppย keyword to all published desktops to achieve this effect. StoreFront 3.x enables you to configure treating all desktops as applications at the store level without the need of adding theย TreatAsAppย keyword to all the published desktops.

This is configurable using a PowerShell cmdlet.

Treat Desktops as Applications

Disable HTML5 Receiver Getting Started Tour

The first time a user connects to HTML5 Receiver, the user is prompted to tour the interface.

Disable HTML5 Receiver Getting Started Tour

The Getting Started Tour can be disabled by doing the following:

  1. Edit the fileย C:\Inetpub\wwwroot\Citrix\StoreWeb\custom\script.js.
  2. At the bottom of the file, add

Customize Receiver UI in StoreFront 3.x

StoreFront 3.x customizations are visible in both Receiver for Web and in Receiver Self-Service.

If you are load balancing StoreFront and want to put the server name on the webpage (or Receiver):

  1. On each StoreFront server, open IIS and navigate to the server node and then open Application Settings.
  2. Within Application Settings, click Add. Name the variable โ€œServerIdentifierโ€ and set the value as that serverโ€™s host name or some other unique identifier, then click ok.
  3. Within Windows Explorer on the primary StoreFront server, navigate to the following path:

[Drive Letter]:\inetpub\wwwroot\Citrix\[Store Name]Web\customweb

For example:
C:\inetpub\wwwroot\Citrix\TestStoreWeb\customweb

  1. In this folder, create a file called ServerIdentifier.aspx and include the following content.
  1. Within Windows Explorer on the primary StoreFront server, navigate to the following path:

[Drive Letter]:\inetpub\wwwroot\Citrix\[Store Name]Web\custom

For example:
C:\inetpub\wwwroot\Citrix\TestStoreWeb\custom

  1. Open script.js in Notepad as an administrator and add the following content to the bottom of this file.
  1. Save and close the file.
  1. Within Windows Explorer on the primary StoreFront server, navigate to the following path:

[Drive Letter]:\inetpub\wwwroot\Citrix\[Store Name]Web\custom

For example:
C:\inetpub\wwwroot\Citrix\TestStoreWeb\custom

  1. Make a backup of style.css and open in Notepad as an administrator.
  1. Add the following content to the bottom of this file and customize it to your liking.
  1. Now that the changes are implemented, on your primary StoreFront server, navigate to the Server Group tab and click Propagate Changes. This will pause your sever group and replicate the customizations to the other servers in the group (users will not be able to connect during propagation, so be sure to do this only during off-hours).
Customize Receiver UI in StoreFront 3.x

Insert Client IP’s into the StoreFront logon page

When load balancing StoreFront via NetScaler as many do, the client IP is infact the NetScaler SNIP. For this reason we have to insert the client IP in a new HTTP header, named X-FORWARDED-FOR. This is the first step we will take.

  1. On NetScaler, locate and edit your StoreFront Service Group (Traffic Management \ Service Groups).
  2. Under settings check Client IP and under Header insert X-FORWARDED-FOR. Click OK.
X-FORWARDED-FOR
  1. Click Done and then save the running configuration.
  2. Log on to the primary StoreFront server, navigate to the following path:

[Drive Letter]:\inetpub\wwwroot\Citrix\[Store Name]Web\custom

For example:
C:\inetpub\wwwroot\Citrix\TestStoreWeb\custom

  1. Create a file called GetClientIP.aspx.
  1. Add the following content to the file.
  1. Next edit the existing script.js file.
  1. Add the following content to the file.
  1. Edit the existing style.css file.
  1. Add the following content to the file.
  1. After all three files have been edited and saved, navigate to the Server Group tab and click Propagate Changes.
Insert Client IP's into the StoreFront logon page

Leave a Reply

Your email address will not be published. Required fields are marked *

* I consent to having this website store my submitted information so they can respond to my inquiry.