Home > Articles > Operating Systems, Server > Microsoft Servers

This chapter is from the book

Customizing the Installation of the ICA Client

Although the installation of the RDP client can be greatly automated, you need to develop custom techniques to deploy the client settings you need to your clients. With the ICA client, however, Citrix has taken many steps to ensure that not only the installation is easy but also the deployment of a standardized setup to all of your users. Using the customizable client .INI settings file, you can control all aspects of the client configuration, including the following:

  • Creation of custom ICA connections and application sets You can specify certain custom ICA connections and application sets that will automatically be set up during the client install.

  • Locking down the client You can lock down portions of the client, such as preventing users from creating custom ICA connections on their own.

  • Standardize ICA settings ICA settings, such as whether the user's local username and password are used can be standardized for your clients.

  • Disaster recovery You can set up the connection information your clients need to connect to a disaster recovery server farm and then deploy these settings in a standardized fashion, instead of relying on the manual entry of these settings for every client.

In this section you will learn how to create your own customized installation of the ICA client and how to best deploy the customized application to your users using web and other technologies.

The APPSRV.INI and PN.INI Files

The first step in building an easily deployable customized ICA client involves installing the Windows 32-bit ICA client on a test workstation and customizing the settings. Most settings changes for the ICA client are recorded in one of the following .INI files:

  • PN.INI Contains your application set connection entries and all associated settings for each published application set you created in the client. The PN.ini is generally changed for user settings only.

  • APPSRV.INI Contains general ICA client settings that are found under the ICA Settings dialog box which is under the Tools menu. In addition, all the custom ICA connection you set up and their associated settings are found in this .INI file. The APPSRV.INI is changed for administrator settings only as custom ICA connections are generally made to desktops.

Because every user on a workstation can have her own settings, these settings are normally found in the user's profile folder on the local workstation under the hidden %userprofile%\application data\ica client folder.

After you have set up the client the way you want it for your users, you would need to overwrite the PN.SRC and APPSRV.SRC files on the installation source with your customized PN.INI and APPSRV.INI settings files. When you now install the client using these source files, it will install every time with your customized settings.

The following instructions walk you through this process step by step:

  1. Make a copy of the source ICA client install files found either on the client CD or under the %systemroot%\system32\clients\ica\ica32\disks folder.

  2. Install the client from this folder onto a test workstation.

  3. Set up the custom ICA sessions and application sets that you want for your users. Change any ICA settings that you need changed. Test the settings and then close Program Neighborhood.

  4. Overwrite the PN.SRC and APPSRV.SRC files in your installation source with a copy of the PN.INI and APPSRV.INI files from your %userprofile%\ application data\ica client folder. This is a hidden folder.

  5. Install and test the client from the customized install source on another workstation.

  6. Verify that all the connection entries and other settings you created in step 3 exist and work.

You can make a separate set of install source files for every different set of settings your users need. To deploy these clients, you can either share these install folders on the network and install them from the network onto your workstations or follow one of the many more automated deployment techniques.

Special Settings in APPSRV.INI

Although nearly all settings in the PN.INI file can be set through the GUI, several settings in the APPSRV.INI file can be modified only within the .INI file itself. Here you will learn the most important additional settings available and how to set them properly.

While reviewing these settings, take a look at your APPSRV.INI file on your workstation. You will find it under the %userprofile%\application data\ica client folder. You will notice that the APPSRV.INI is broken down into several subsections. The subsection title and the settings for those settings that cannot be controlled from the GUI are as follows:

  • Browser Retry ([WFClient] Setting) Indicates the number of times the client attempts to contact the master browser. By default this is set to 3. If users are having problems contacting the master browser or any MetaFrame server in an XP environment from the client, you might want to increase this setting and the relate BrowserTimeout setting. On faster networks you might want to reduce the default values.

  • BrowserTimeout ([WFClient] Setting) Number of milliseconds waited for a response from the master browser or any MetaFrame server in an XP environment. The default is 1000 or 1 second.

  • ApplicationSetManagerIconOff ([WFClient] Setting) This is a very useful setting if you want to remove the ability for your users to go into the Application Set Manager and change their settings. You would use this setting if you publish applications to your clients and do not want them to make changes to the setting. The client will be able to access the published application icons for their default server farm only, and no other farm. They will not be able to set up new custom ICA connections, new application sets, or change any of their default application set settings. This is highly recommended because you can set up the client the way you want and then lock down the settings for your users.

  • CustomConnectionsIconOff ([WFClient] Setting) Removes the custom ICA connections icon, so that they cannot access and create new custom ICA connections. This setting and the following one are recommended together if you have multiple farms that users need access to, yet you do not want them to be able to make their own custom ICA connections.

  • FindNewApplicationSetIconOff ([WFClient] Settings)  Removes the Find New Application Set icon on the client so that users cannot connect to new application sets.

  • AddICAOff ([WFClient] Settings) Prevents users from creating new custom ICA connections.

  • DragoutOff ([WFClient] Settings) Prevents users from dragging an icon from Program Neighborhood to the desktop.

  • MouseTimer ([Connection] Settings) Amount of time in milliseconds that mouse movements are queued. By default this is set to 0, when you set that mouse movements are to be queued for a connection in the connection entry's properties it changes this value to 100 milliseconds. You can adjust this value as needed to achieve the response time you want with the mouse over slow connections.

  • KeyboardTimer ([Connection] Settings) Amount of time in milli-seconds that keystrokes are queued. This is set to 0 by default and is set to 50 if you enable keyboard queuing. Like the MouseTimer setting, you can change this setting if needed to get the keyboard responsiveness you want.

Figure 12.1 shows an example of a completely locked down Program Neighborhood. In this example, the following was done:

  1. Status bar and large buttons were removed using the options under the View menu.

  2. A connection to the default server farm was set up.

  3. Folders were created for certain applications.

  4. The Application Set Manager setting was removed using the ApplicationSetManagerIconOff setting in the APPSRV.INI.

Figure 12.1 Locked down Program Neighborhood.

Note how simple and clean the interface is. The simplicity of the interface means it is easier for your users to use and means less calls for your help desk. By standardizing your interface to something similar to that in Figure 12.1 and then making this customized client widely available for download from an internal web site or other means of deployment, you can ensure that client settings are standardized across the enterprise.

After you have added the connections that you want to the client and customized the interface as desired, it is time to "package" the custom client settings for deployment. To do this, just overwrite the .SRC files in the source folder for the client install with the APPSERV.INI and PN.INI files from your profile folder, as shown in the preceding section.

Automating the Initial Deployment

After you have a customized installation available for deployment, there are many methods of automating the initial deployment. You can create a self-extracting executable that contains the source files and email it to your users. You also can make such a file available on an internal support web site. The best way to automate the deployment, however, probably is to download and install the freely available software for creating a web-based ICA client installation. Because this is part of the NFuse package, you will find the steps for doing this in Chapter 19.

Another option you might want to experiment with for deployment is using the WinINSTALL LE tool to modify the MSI version of the Citrix ICA client. Many command-line options are available with .MSI files, such as the ability to do a silent install. For a list of the command-line options for MSI installs, see Chapter 11.

Author's Note

One problem with the MSI technique is that the client name will be the same for all stations. To get around this problem, one trick you might try is to leave the client name blank in the WFCNAME.INI file in the source files for the MSI. When you log on to the server, the server will automatically set your client name to the name of your workstation.

Using Client Update to Deploy

After your Citrix MetaFrame users have an initial version of the ICA client installed and can make a connection to your server, future updates to their client installs are very easy to do centrally using the Citrix Client Update feature. To update the client version for all the clients that connect to a particular server, follow these steps:

  1. Download the latest client installs from the Citrix web site and expand them to an empty directory. Normally you should download the CAB version of the files and use the expand [filename].cab [destination folder] -f:* command to expand them.

  2. Run the ICA Client Update utility from the Program menu, Citrix MetaFrame XP folder.

  3. Select New from the Client menu.

  4. From the Description dialog box that appears, click the Browse button and browse for the location where you expanded the client install files. There should be an UPDATE.INI update definition file that was included with the client installation. When you find it, click Open, and then click Next.

  5. At the Update Option screen, you have several options available on how the client will install. Select the options you need and then click Next.

  6. At the Event Logging window, check the box next to the type of event logging you want for the client installs and click Next.

  7. Click the Enable check box to enable the client and then click Finish.

At this point, the client install files will be added to the client update database. When users log on to the server, by default their client version number will be compared to the client version you installed in the database on the server. If the version on the server is newer, they will be prompted as to whether they should download the newer version of the client to their workstations. This process can occur in the background while the user is working. After the download has completed, the users will be prompted as to whether they want to disconnect, finish the update, and then reconnect to the server.

This automatic update process happens for every user who attaches to the server. For users across dial-up lines, the download times can be tedious, so be sure to warn users in advance of the upcoming client update. This process makes life much easier for the administrator, however, because all client updates can be deployed automatically.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020