Improve your StoreFront 3 configuration with a list of small tweaks. 

Disable NetBIOS over TCP/IP

In your Network Adapter configuration.

Disable generatePublisherEvidence

Modify the ASP.NET.CONFIG file located in C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and C:\Windows\Microsoft.NET\Framework\v2.0.50727.

 

Disable certificate revocation check

Open IE on your server, go to Tools -> Internet Options- > Advanced

Uncheck Check for server certificate revocation and Check for publisher’s certifcate revocation.

Enable Socket Pooling

Go to C:\inetpub\wwwroot\Citrix\<STORE> and open the web.config file.

WorkSpace Control - Disable Logoff Disconnect

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

Change the logoffAction to none.

WorkSpace Control - Disable Autoconnect

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

Change the autoReconnectAtLogon to false.

Disable WorkSpace Control

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

Change the enabled to false.

Enable XML Authentication

If you need to use StoreFront in DMZ and not in the domain or in another domain with no trust, you will need to enable the XML Authentication.

  1. Import StoreFront PowerShell snapins
  2. Enable the feature in the Authentication Service
  3. Create farmset to configure the data collectors/brokers where authentication will occur.
  4. Configure XML service-based authentication to use the farmset.

Increase Timeout

Open StoreFront console, select Receiver for Web and click on Set Session Timeout on the right.

Force Fullscreen for Desktops

  1. Open C:\inetpub\wwwroot\Citrix\<STORE>\App_Data\default.ica file in notepad.
  2. Under the [Application] section of the file, add the following line:
  3. Save the default.ica file.
  4. Open the command prompt (cmd) and run iisreset.

Disable Activate screen

You can see the Activate screen when you click on your name on the top right of the page.

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

Change the value of enabled to false

Redirect the StoreFront default website URL

Open IIS, select you server then open the HTTP redirect feature.

Change the URL to match your configuration.  

Display Domains List on the StoreFront logon page

Open the StoreFront console, go to Authentication and select Configure Trusted Domains.

Configure your default domain to ease the logon for your users.

Enable Active Directory password reset

Open the StoreFront console, go to Authentication and select Manage Password options.

My favorite configuration is “When Expired“.

Disable the plugin assistant

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

Change the default view

Go to C:\inetpub\wwwroot\Citrix\<Store>Web and open the web.config file.

You can change the value to :

  • Auto: Favorites tab is displayed by default
  • Desktops: Desktops tab is displayed by default
  • Apps: Applications Tab is displayed by default

You can also disable the tabs.

Change the values of ShowDesktopsView and ShowAppsView to false.

Enable Tracing

To enable Trace on your StoreFront configuration, follow the procedure below.

Trace are located on C:\Program Files\Citrix\Receiver StoreFront\admin\trace.

Download DebugView.

Unzip DebugView and Launch it. Change the Capture to Capture Global Win32.

Then you will start to see the trace.

When you are done with troubleshooting, remember to disable the trace.

Navigate to a folder

Go to C:\inetpub\wwwroot\Citrix\<Store>Web\Custom and open the script.js file.

Add the following lines:

Replace folder/path by your folder name or the path of your folder.

To redirect to the root of the categories, add the following lines:

Remove favorites

Open the StoreFront Console, go to Stores > Disable User Subscriptions.

Rename StoreFront webpage

Go to C:\inetpub\wwwroot\Citrix\<STORE>Web\custom and open strings.en.js.

Change/Remove background

Go to C:\inetpub\wwwroot\Citrix\<STORE>Web\receiver\css and open :

  • ctxs.large-ui.min_A97EEF90ADE71C48
  • ctxs.medium-ui.min_2397A9404AD6F3CB
  • ctxs.no-js-ui.min_F673C4CFF9E86D60
  • ctxs.small-ui.min_A915C6B4D6DEB4E5

Remove or change the following to modify the background:

Add footer

Go to C:\inetpub\wwwroot\Citrix\<STORE>Web\custom and open script.js.

Now open style.css

In my example, I am aligning my text on the right of the page and displaying my company logo centered.

Note: you need to change <HEIGHT>, <YOURIMAGE>, <WIDTH> and <BACKGROUNDCOLOR> with your own values. 

The footer will be displayed always on top.

Add disclaimer

Go to C:\inetpub\wwwroot\Citrix\<STORE>Web\custom and open script.js.

  • Before Logon:

  • Before Main Screen:

 

Add Header

I’ve been asked many times how to add a header on StoreFront 3. Below is the procedure.

Go to C:\inetpub\wwwroot\Citrix\MainStoreWeb\custom and open script.js

open style.css

Here is the receiver icon in case you want to use it.

Add a random text in the footer

I was asked by Craig in the comments to find a way to display a random message from a text file in the footer of Storefront.

Here is how to do that.

First you need to go to C:\inetpub\wwwroot\Citrix\MainStoreWeb\custom and open script.js and add the following javascript code:

By default, the script will try to find trivia.txt located in C:\inetpub\wwwroot\Citrix\MainStoreWeb.

You also need to add the following to display the footer and the random message (please review the “Add a footer” section in this post) :

Then, open style.css (in the same directory) and add the following:

You can modify the CSS to fit your needs.

The last step is to create trivia.txt in C:\inetpub\wwwroot\Citrix\MainStoreWeb.

StoreFront will display a different message every time you refresh the page.

Note: I’ve adapted the script from this website.

Display server name with Citrix StoreFront 3

 



43 COMMENTS

  1. Hi,

    Tx for this great article ! Any ideas on how I could use the “defaultView” option of the web.config file to not only redirect to the “Apps” section by also in the “Categories” sub-tab ?

    thanks

    Francis

  2. Thank you for the usefull tweaks!
    I want that users can choose for the html5client after they are logged in.
    Do you know how i can change the header because i want to place a hyperlink withe the html5-url in the header.
    Grz.
    Richard

  3. Hi I love you Citrix StoreFront 3 optimizations. I would like to print or copy them all. Can you implement a Print Button?

    Can implement a Print Button?

    Best Regards

  4. Hi I love you Citrix StoreFront 3 optimizations. I would like to print or copy them all. Can you implement a Print Button?

    Can you implement a Print Button?

    Best Regards

  5. Hello Guru,

    Along the same lines as Richard with the footer question…is there a way to substitute HTML content for something else? Say, dynamic content from a text file? I have a “message of the day” that would work perfectly in the footer…but, of course, the message changes each day. It’s source is a generic text file that gets generated each night.

    Thoughts?

    Thank you,
    Craig

  6. Hello Craig

    Thanks for the great info. One comment regarding the suggestion to use socket pooling. This line does not exist anymore in Storefront 3. Any ideas?

    BR Mathias

    • pooledSockets=”off” should be configured in the web.config of your main store (not the web store).

      Ex : C:\inetpub\wwwroot\Citrix\MainStore

      Rgds,

  7. Hi Craig

    A great article that has helped me enormously getting our storefront 3.0.1 proof of concept up and working quickly.
    Is there somewhere that lists all the extensions etc that can be used in the script file to tweak the site? I am trying to dynamically strip off a prefix which is applied to the name of all our XenApp applications but I am struggling to find the correct way to do it… (we have the prefix to avoid confusion when apps are presented in the start menu)

    thanks

    • I have found a solution to my issue… 🙂
      FYI, the code I have implemented is:

      CTXS.Extensions.preProcessAppData = function (store, json) {
      for ( i = 0; i < json.resources.length; i++) {
      if (json.resources[i].name.substring(0,9) == "Citrix – ") {
      json.resources[i].name = json.resources[i].name.substring(9);
      }
      }
      };

      regards

      • Update… upgraded to v3.6 and the site stopped working properly…. no applications visible and no applications/desktops/favourites icons at top of page.
        After a bit of experimentation it turns out the code above breaks it all 🙁 commented it out in the scripts file and all working again.
        So back to the drawing board on that issue 🙁 will post if I find a fix to get this working again…..

        • OOps! correction – the code above does still work! It is the code to prevent continual scrolling of app bundles that breaks 3.6 …….

  8. Just sharing a discovery……..
    If you use code in the style.css file to update the pictures used in the bundles, and you don’t create the featured app groups first… then the system gets very confused and starts addressing the bundles incorrectly. At one point I ahd all 3 bundles maked as appBundle1 ……
    I had to comment out the code in style.css then recreate the app groups from scratch before re-enabling.

    On a related note, the app bundle numbering seems a trifle odd. I created 3 app groups and the bundles are numbered 7,9,8 in that order!… took some time inspecting elements in the browser to spot this….

      • Just had to refer back to my own post on here when setting up a new 3.8 server!
        One additional point to note: When creating the new bundle groups in the storefront console, assign each group a different background from the default selection. this will ensure that bundle groups are numbered individually in the code. you can then edit the style.css file with the custom backgrounds you wish to add 🙂

  9. Hi, once again, a great article! Another idea: adding a footer, telling you the SF-server name (or a part of it). So the admin can see easily which path LB e.g. on CNS took.
    BR Andreas

  10. Hi Nico
    Have you seen any code to make the Featured Apps tiles smaller in StoreFront? On small screens they tend to take up a lot of space…

  11. Hi Nicolas,

    Thanks for your great article. I have used the “add header” section to post a link to download the receiver however since wee also have Mac users , I want to have a second line in the header with a link to the Mac client , how can I do this?

    Thanks again for your great blog!

  12. I am having trouble putting together the proper code to display the storefront server name on the web page depending on the server hit in a load balanced VIP. I want to show the name or preferably a portion of the name in the footer. I was trying to use %computername% or a custom variable that I created.

  13. Hi Tony…

    Could it be possible to add a link to a password reset site on the front page of the Storefront 3.0. I know you can add footers and headers, but that is AFTER you are logged in… I want the Link to be pressent BEFORE login in the Storefront…
    The password Reset site, we want to point to gives best sense BEFORE actual login 😉

    Jesper

  14. Hi Nicolas, great post!, i have one question: why Modify the ASP.NET.CONFIG file located in C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and C:\Windows\Microsoft.NET\Framework\v2.0.50727

    In my IIS i have NET Framework v4.0 in the Applications Pools, so i need modify the ASPNET.CONF in C:\Windows\Microsoft.NET\Framework\v4.0.30319

    OR

    Change de NET Framework version in the IIS to v2.0? a later modify the ASPNET.CONF file?

    I use StoreFront 3.0 with XenDesktop/XenApp 7.6

    Regards.

  15. hi ,

    i want to add a link to logon page that opens a pdf file or a word document to explain things to users.. is that possible?

    thank you and have a nice day

    Regards

  16. I am trying to resize the icons in the storefront UI using the custom style.css.
    I saw that there are css files for large, medium and small UIs in the file system (ctxs.large-ui.min_A97EEF90ADE71C48, ctxs.medium-ui.min_2397A9404AD6F3CB, ctxs.no-js-ui.min_F673C4CFF9E86D60, ctxs.small-ui.min_A915C6B4D6DEB4E5).
    Is it possible to just switch to a predefined small UI instead of resizing all the icons and links manually in the style.css?

    Thanks and best regards,
    Stefan

Comments are closed.