The configuration of SAP GUI for Windows is stored within four Ini Files:
* SAPlogon.ini
* SAPshortcut.ini
* SAProute.ini
* SAPmsg.ini
SAPlogon.ini and SAPshortcut.ini are the most important Ini Files on a Citrix environment because all connection configurations are stored within them. The challenge here is to deploy the right configuration file to your users.
*The search order for the Ini Files is:*
* Command line Parameter /INI_FILE=
* Environment Variable SAPLOGON_INI_FILE
* SAPlogon.ini File stored in the SAP GUI for Windows Installation Directory
* SAPlogon.ini File stored in the Windows Directory
To deploy the right Ini Files to your users, there are different scenarios available. If you only need one SAPlogon.ini File, the most frequently used scenario is to place it on a central file server that all users can access, and set the environment variable on all your Presentation Servers to point to the central file.
If you need different Ini Files for users or user groups, you can deploy the right Ini Files to the users' home directory with a login script, and set the environment variable to point to the userhomedrive (e.g. h:\sapini\saplogon.ini)
SAPlogon.ini and SAPshortcut.ini have to be in the same directory. After deploying your Ini File Scenario, please be sure, for example, that SAPlogon.ini is not stored in another location on your server. So it is recommended to search all server hard drives. If you store the SAPlogon.ini file in the Windows directory, which is not recommended by Citrix, please be aware that Terminal Server copies Ini Files from the system's Windows directory to a user-specific Windows directory (%userprofile%\windows). This is another function of the Terminal Server Install Mode (Shadow Key). But this Ini File is only deployed once, so changing the Ini on the system drive does not automatically update the user's Ini File.