Logon scripts are very useful for drive mapping and mapping network printers. When the user logs on, after authentication, the Citrix Access Gateway executes the script that performs the steps to make the appropriate printers and drive letters available. For instance, if all Citrix users need access to the "F:" drive and a colour printer located at a home office, the logon script sets both of these things up to ensure that the end-user has no problems performing the work.
Enable Profile Management by selecting "Profile Management" and double-clicking "Enable Profile management policy." Select "Enabled."
Enable the logon script to execute by clicking the "Access Policy Manager" tab in the Citrix Access Gateway Administration Tool. The Citrix Access Gateway establishes the connection to the domain controller. If the domain controller cannot be accessed, the user is logged in, but the script will not execute.
Right-click on the group created in Step 2 and select "Properties." Under "Session Options," select "Run Logon Scripts" and then click "OK." Enabling logon scripts will not allow scripts defined in Active Directory to execute. The script must be defined in the user's Windows profile.
The client machine must be a member of the domain to run logon scripts.
Tips and warnings
- The client machine must be a member of the domain to run logon scripts.