Image Image Image Image Image Image Image Image Image Image
Scroll to top

Top

43 Comments

StoreFront 3 optimizations

StoreFront 3 optimizations

| On 03, Jul 2015




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

Disable NetBIOS over TCP/IP

In your Network Adapter configuration.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 10 06 34

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

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 10 17 15

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 10 48 18

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 10 54 12

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 02 12 18 47

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 11 11 52

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 11 14 09

My favorite configuration is “When Expired“.

Disable the plugin assistant

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

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 11 25 03


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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 12 12 26

Then you will start to see the trace.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 03 12 12 51

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.

StoreFront 3 optimizations StoreFront 3 optimizations 2015 07 27 13 15 30

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


StoreFront 3 optimizations StoreFront 3 optimizations header

StoreFront 3 optimizations StoreFront 3 optimizations header2

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

StoreFront 3 optimizations StoreFront 3 optimizations rec win icon 1

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

 



Nicolas ignoto
Nicolas ignoto
Nicolas ignoto

Comments

  1. Francis Guilbault

    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. Hello Francis, I’ve updated the article and added the configuration to redirect to a folder.

  3. Richard

    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

    • Richard, I’ve updated the article with the procedure to add a hyperlink in the header.

  4. punktis

    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

    • Hello Punktis,

      I’ve added a print button. Unfortunately, some elements are not compatible (ex: code blocs).

  5. punktis

    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

  6. Richard

    Or can you tell me how i can put the hyperlink in the footer?
    Thank You in Advance.
    Richard

    • Hello Richard,

      Follow the procedure to add a footer and then replace
      $(‘#customBottom’).html(“html link”);

      You can use the following website for the link html code:
      http://www.w3schools.com/html/html_links.asp

      That should do it.

      • Richard

        Hi Guru,
        Thanks for your answer.
        Unfortunately a html hyperlink doesnt work.
        I tried to replace it with:
        Visit our HTML tutorial
        Do you have another suggestion?

        • $(‘#customBottom’).html(“<a href =’http://www.w3schools.com’>Visit W3Schools </a>”);

          I’ve tested that on my Storefront and it works. I am able to see the link on the bottom.

          • Richard

            Thanks guru, i changed some quotes and now its working, thank you for your help!

  7. Craig

    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

    • Hey Craig,

      I’ve updated the post. Please follow the procedure.

  8. Mathias

    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,

  9. Dave

    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

    • Dave

      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

      • Matt Mullaly

        We are looking to do the same thing, where is this code applied ??

      • Dave

        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…..

        • Dave

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

          • Dave

            turns out this is a function in 3.6 so the old script isn’t needed… so to disable continual scrolling of the App Bundles in 3.6 jus add the following single line to the scripts.js file

            CTXS.UI.repeatAppGroupTiles = false;

            :)

          • Thanks Dave.

  10. Dave

    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….

    • Thank you for sharing!

      • Dave

        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 :)

  11. Crottaz Stéphane

    Hi Nico,

    Very nice post … as usual !!

    Keep going :-)

    Regards
    Stéphane

  12. AHuther

    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

  13. Tord Bergset

    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…

  14. Amir

    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!

  15. Tony

    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.

  16. Hi Tony,

    Please take a look at the following article :
    http://www.citrixguru.com/2016/02/27/display-server-name-with-citrix-storefront-3/

    Thank you for following my blog.

  17. jesper

    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

  18. Pedro

    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.

  19. Kerem Guzeltas

    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

  20. Stefan P.

    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

Submit a Comment

Leave a Reply