Tag Archives: Web Interface

Forcing a XenApp Application to open with the Citrix Desktop Viewer using the Default.ica

This post is just a quick FYI for use with ThinKiosk. This also works great with RES Workspace Manager desktop’s published as applications. Although RES no longer recommend using the publishing option in RES, many customers still use Workspace Manager as a published application.

The Citrix Desktop Viewer adds great functionality to users, allowing users to configure preferences, send [Ctrl] [Alt] [Del], quickly jump between fullscreen and windowed mode etc.

To force an application to open using the Desktop viewer, add the following code to your default.ica file:

[RES PowerFuse Desktop - RESPF]

Where “RES PowerFuse Desktop – RESPF” is your application name.

this will appear as below:

Remove Citrix Web Interface 5.4 IIS recycling via a script.

Ever notice that the first login to the web interface in the morning takes quite some time? This is because the citrix application pool in IIS is, by default, set to recycle nightly at 02:00. After the recycle the web-interface is rebuilt causing a delay to the first user to attempt to log in.

This delay can result in users logging tickets for a slow login process. For this reason I like to disable this value where I can.

It’s always irked me that with previous versions of IIS, this pool recycling was unavailable for scripting (at least to my meager brain) via wmi, regedit or other method.

During my XenApp 6.0 testing i noted that with IIS 7, there’s now a powershell module you can import to tackle this value.

To remove the default 02:00 recycle from the Citrix 5.4 web interface pool, use the below script:

Please note, this will set your powershell execution policy to unrestricted, this is a side affect of the WebAdministration calling a script. To revert at the end of the script, run the following command after utilizing this script “set-executionpolicy restricted”

if (!(get-module | where {$_.name -eq "webadministration"})){

    if (!(get-module -listavailable | where {$_.name -eq "webadministration"})){
    write-error "WebAdministration snapin not available, failing"

    #this is needed as the module is seen as a script in some cases
    set-executionpolicy unrestricted -force

    #add the module
    write-host "adding IIS Powershell Module"
    import-module webadministration    
}#end if

$CitrixPool = get-childitem "IIS:AppPools" | where {$_.name -eq "CitrixWebInterface5.4.0AppPool"}

$schedulePath = $CitrixPool.ItemXPath + "/recycling/periodicRestart"

$count = $CitrixPool.recycling.periodicRestart.schedule.Collection.Count

#remove scheduled time(s)
Do {
   Remove-WebconfigurationProperty $schedulePath -Name schedule.collection -AtIndex ($count - 1) -Force

Until ($count -eq "0")

Decrapifying the Citrix Web Interface (5.4)

If like me, you like to remove the majority of the Citrix Branding from the web interface, you may find this post useful. Below I’ve broken the web interface down into the 6-7 components that are modifiable and given instruction on how to remove, or replace the images / tag lines.

This blog post would not have been possible without the hard work by the guys on the Citrix forums: http://forums.citrix.com/thread.jspa?threadID=278277&tstart=0

Below you will find a break down of the seperate web interface components, and the numbers I’ve allocated to them, I’ve used the login screen as a template, as this contains all the images / taglines you will see on the web interfaces different screens.

Note: The image names containing “Dark” or “logged off” are specifically for the logged off screen. You’ll find both gif (for older browsers ) and png files for each of the different images.

1: Header logo.

To remove the logo from the top of the page, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

#headerLogo {
padding: 11px 0 11px 18px;
display: none;}

To use a custom graphic instead of the default, modify the following files:


(there’s no dark logo for this file)

2: Product graphic.

This product graphic can be either XenApp or XenDesktop depending on your installation. To remove the product graphic, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

#horizonTop img {
padding-top: 75px;
Display: none;

To use a custom image in place of the product graphic, modify the following files:

For XenApp:


For XenDesktop:


3: Devices.

The devices image appears to the left and right of the login window. To remove the Devices graphic, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

.horizonPage .mainPane {
position: relative;
top: -120px;
background: none;
color: white;
padding: 0;
overflow: auto;

To replace the devices image with a custom image, modify the following files:


5: Tagline.

To remove the tagline “your windows desktop and apps on demand – from any pc”, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

#horizonTagline {
color: #F2F2F2;
font-size: 180%;
font-weight: normal;
margin: 50px 0 0 0;
padding-bottom: 10px;
text-align: center;
display: none;

To enter a custom tagline, find the below entry in C:Program Files (x86)CitrixWeb Interface5.4.0languagesaccessplatform_strings.properties and replace the bolded text with your custom message.

HorizonTagline=Your Windows desktops and apps on demand – from any PC, Mac, smartphone or tablet.


The footer on the web interface site is made up of potentially two components, the Citrix footer logo and the hdx logo. If you wish to indiscriminately remove both from the login page, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

text-align: center;
padding-bottom: 10px;
display: none;

#footer p
padding: 10px 0;
display: none;

6: Citrix Logo

The Citrix footer logo appears at the bottom of most web interface pages. To remove the logo, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

#footer img
padding: 0 8px;
vertical-align: middle;
display: none;

To replace the footer citrix logo with a custom graphic, modify the following files:


7: HDX logo

The HDX footer appears at the bottom of the login page. To remove the logo, find the below entry in .app_dataincludefullstyle.inc and add the bolded text:

.horizonPage #hdxLogo {
display: none;

To replace the HDX logo with a custom graphic, modify the following files:


And that’s it! hopefully with the above info you can remove the unsightly self advertisement and replace it with something unique to your organisation.

If you spot anything additional you would like to remove, drop me a comment and I’ll see what I can do.