Configuring Licensing in a Citrix XenApp 6.5 environment

In my previous blog post which you can find here I covered Group Policy setup in a Citrix environment as this is method used to point the XenApp application servers at 11V-XA65Lic-01. In a separate post I also covered the install of my XenApp license server and my Windows Remote Desktop license server on the machine 11V-XA65Lic-01 which can be found here.

Once you have installed and configured both your license server and your Group Policy Objects (GPOs) the next step is to configure the XenApp application servers to utilise 11V-XA65Lic-01 as their license server. Licensing in this case referrers to both Windows Remote Desktop Licensing and Citrix Licensing.

I will start with configuring the XenApp applications servers (11V-XA65-01, 11V-XA65-02) to use 11V-XA65Lic-01 as their terminal service license server. The steps will be identical for both servers.

Launch Remote Desktop Session Host Configuration and under the Licensing Heading right click on Remote Desktop licensing mode and click properties


Under properties click the Licensing Tab. Your license requirements will typically depend on the types of license agreement you have with Microsoft. In my previous job we sold IaaS to customers on a per user basis so in this scenario I will use the Per User option. After you have chosen your licensing mode you will need to click Add…


This will open the Add License Server window, if you have configured your license server as per the previous blog post you will see it in the left hand pane. Highlight it and click Add>, then click OK


Rinse and Repeat for your other XenApp application servers and you are done. Adding Client Access Licenses to your license server is outside the scope of this article. Microsoft provide a plain text guide here I’m sure some other charitable soul has documented it with screenshots if you look hard enough.

So now for the more relevant part of pointing your XenApp application servers to pick up Citrix licenses from your designated Citrix license server.

You will do this via Citrix Computer Policy. If you have read the previous post on GPO configuration you will remember I created four separate Group Policy Objects as seen below:


As the policies used to determine the License server host name and License server port number are Citrix computer policies we will configure them under the XenAppServers GPO. Once the GPO has been opened click on Citrix Policies under Computer Configuration -> Policies. This will load the Citrix Policy Plugin as below. Remember this plugin will not be available if you open Group Policy Management Editor from a non-XenApp application server.


Under Settings you will see the License server host name. Highlight it and click on Add


Enter the name of your of your license server and click ok. In my case 11v-XA65lic-01.


Repeat the same process for the License server port policy. Set it to 27000 (or whatever port you configured your license server on if you didn’t use the default options)


Once you have set both of the policies above you can close the Group Policy Management Editor. You can see from the Settings tab under XenAppServer in the Group Policy Management mmc that the license hostname and port number have been picked up and will be applied to all servers in the XenServers OU


There are of course a large number of other Citrix Computer policies that you could apply to your XenApp servers. In my next post I am going to cover Citrix Policies in more detail so watch this space.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s