Skip to main content

Hide or change "domain user or username@domain.com" text in Storefront, part 2

··2 mins
Author
John Billekens
Technical Consultant | End User Computing

A while ago I wrote a blog about how to change the “domain\user or username@domain.com” text in Citrix StoreFront. Now I’ve create a small PowerShell script that can do that for you.

The Script
#

The script can be found on Github

Changing the text
#

With this script you can change the default text into something else or just empty.     If you run the script by default it will first create a backup if it not already exists, then it clears the text (make it empty). If you don’t specify the “-Store” parameter, a choice will be presented.

.\CtxClearSTFLoginText.ps1 -Store "Store"

You can specify the parameter “-InnerText <Custom Text>” with your own text for example “test”:

.\CtxClearSTFLoginText.ps1 -Store "Store" -InnerText "test" -RestartIIS

This will be the result after IIS is restarted: You can choose to let the script restart IIS by specifying the “-RestartIIS” parameter. If you want to do this manually, don’t specify this parameter.

NOTE: Make sure to run this on all StoreFront servers!

As said before, the original files are back-upped before any changes are made, the backup files will get the extension “.orig”.

Restore the original files
#

If you want to restore the original files, execute the script with the following parameters (again the “-RestartIIS” is optional)

.\CtxClearSTFLoginText.ps1 -Restore -RestartIIS

Related

Hide or change "domain user or username@domain.com" text in Storefront.

··2 mins
The following was tested om 3.10+ versions, not sure if it works on older or 2.x versions. Hide the default text # You can hide the default text “domain\user or username@domain.com” in the storefront username field. This can be done by simply editing the “custom style.css” file. This file is located in “C:\inetpub\wwwroot\Citrix\Store>Web\custom”. Replace “<Store>” with your own store name. You need to edit each store separately. Add the following to hide the text (1):

Let's Encrypt Certificates on a NetScaler

··39 mins
For a while now it’s possible to use Let’s Encrypt certificates, they are trusted (cross signed), secure and most of all FREE! There are already a lot of tools available to generate these certificates. I haven’t come across a tool or script to generate these certificates and upload them to a Citrix NetScaler. So I thought why not build it myself. I already tried it in a previous attempt, but I wanted more automation and thus I created this version. To learn more about the Let’s Encrypt, check how it works.. What my script does in very basic steps (for example you want a certificate for www.domain.com): Ask LE (Let’s Encrypt) to validate “www.domain.com” (1) LE returns data (2) among them:

Create offline backups of the NetScaler config

··8 mins
I’ve created a PowerShell script that can be used to generate an (offline) backup of a Citrix NetScaler. If you want you can use the supplied batchfile for example to schedule the backup in Scheduled Tasks to run everyday. Some more information about the parameters used: