Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • image

Customize logos on Citrix Access Gateway Enterprise Edition Logon Screen

Posted on July 12th, 2010

This is based on Netscaler version 9.2 Build 46.9.cl although nothing appears to have changed from previous versions, so the same information will probably work on most Access Gateway Enterprise versions (CAG EE)

Change to a white theme

This is detailed in several places but most notably here: CTX123607

This gives the default logon screen in white.

Identify the images used

Here is a screen shot of the default view and list of the associated images & resolutions

There are five main images used in this page and they are:

Image Filename Dimensions
1 ctxHeader01.bmp 265 x 62
2 ctxHeader02.bmp 1175 x 62
3 LoginIcon.png 81 x 128
4 CitrixWatermark.gif 115 x 62
5 LoginPaneCenterLeftBorderGlow.png

LoginPaneCenterRightBorderGlow.png

LoginPaneFooterLeftBorderGlow.png

LoginPaneFooterMidBorderGlow.png

LoginPaneFooterRightBorderGlow.png

LoginPaneTopLeftBorderGlow.png

LoginPaneTopMidBorderGlow.png

LoginPaneTopRightBorderGlow.png

As original

I have found it better to stick to the same dimensions when replacing these images as sometimes the style sheets need to be modified to allow larger image sizes. If you can, stick to the same dimensions.

The background for image 1 & 2 is in the image itself. If you want to keep the same shading and blue bar, then edit the existing image and keep the background.The same applies for the logon logo (image 3) as the shading is part of the image.

To modify the border glow it is best to open up the existing image and use the dropper tool to fill the line in the desired colour.

File locations

These image files need to be copied to the /netscaler/ns_gui/vpn_images location on the Netscaler device. However, when the netscaler is rebooted the changes are lost so they must be copied here at every startup.

Copy all the images to a folder under the /var/ folder (I use /var/mods/) and this can be the store for all modifications.

Startup script

The /nsconfig/rc.netscaler file runs at every boot, so add entries to this file to copy the modified files from the /var/mods/ folder to the correct location. For example,

tar -zxvf /var/mods/AGEEwhite.gz -C /netscaler/ns_gui/vpn/images
cp /var/mods/images/ctxHeader01.gif /netscaler/ns_gui/vpn/images/ctxHeader01.gif
cp /var/mods/images/ctxHeader02.gif /netscaler/ns_gui/vpn/images/ctxHeader02.gif
cp /var/mods/images/CitrixWatermark.gif /netscaler/ns_gui/vpn/images/CitrixWatermark.gif
cp /var/mods/images/LoginIcon.png /netscaler/ns_gui/vpn/images/LoginIcon.png
cp /var/mods/images/LoginPaneCenterLeftBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneCenterLeftBorderGlow.png
cp /var/mods/images/LoginPaneCenterRightBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneCenterRightBorderGlow.png
cp /var/mods/images/LoginPaneFooterLeftBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneFooterLeftBorderGlow.png
cp /var/mods/images/LoginPaneFooterMidBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneFooterMidBorderGlow.png
cp /var/mods/images/LoginPaneFooterRightBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneFooterRightBorderGlow.png
cp /var/mods/images/LoginPaneTopLeftBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneTopLeftBorderGlow.png
cp /var/mods/images/LoginPaneTopMidBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneTopMidBorderGlow.png
cp /var/mods/images/LoginPaneTopRightBorderGlow.png /netscaler/ns_gui/vpn/images/LoginPaneTopRightBorderGlow.png

Final steps

Ensure you boot the netscaler device to confirm the start up script is running correctly and make the same changes to the secondary device if running in an HS pair.

The web page can now look how you want it to!

enjoy

Tags: , , , , , , , , , , , , ,
Filed under Citrix Access Gateway, Citrix Netscaler | No Comments »

Easy way to remove the Microsoft Office document image writer printer

Posted on June 17th, 2009

By default, when Office 2003 is installed, the Microsoft Office document image writer appears in the printers folder, as shown:

Here is a really easy way of removing the Microsoft Office document image writer printer via a script.

  • cscript c:\windows\system32\prnmngr.vbs -d -p “Microsoft Office Document Image Writer”

This can be added to a build sctipt if needed.

Tags: , , , , , , ,
Filed under Windows 2003 | No Comments »

How to update the registry in an Altiris image

Posted on September 24th, 2008

How do you update the registry in an Altiris image?

The old way:

  • Restore the image
  • Make the changes
  • Take a new image

The NEW way:

Read the rest of this entry »

Tags: , , , , ,
Filed under Altiris | 1 Comment »