# Adjusting The Licence Pool Size

The number of shared computer licences in the licence pool is initially set when activating the desktop server. If your needs change, i.e. you have more users on the server concurrently than expected, you can adjust the licence pool size accordingly via the administration console.

If there are no remaining unassigned shared computer licences in the licence pool, then when the next user signs in to the server, <code class="expression">space.vars.PRODUCT\_NAME</code> will fail to start-up with an error:

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FWtjSa2e5LGHGoENeOZ5C%2Fimage.png?alt=media&#x26;token=ac49b09c-63e3-46c3-88ab-3a6f7079c808" alt=""><figcaption><p>When there are no remaining unassigned licences left in the licence pool, new users signing on to the server will receive the error code <code>NoLicencesAvailable</code> from <code class="expression">space.vars.PRODUCT_NAME</code></p></figcaption></figure>

A user receiving the error `NoLicencesAvailable` when signing in to Windows, can either wait for another user to sign out of the server, then, sign back in to the server in which case <code class="expression">space.vars.PRODUCT\_NAME</code> will attempt to acquire a licence again, or, you can increase the size of the server licence pool.

The more shared computer licences in the server licence pool means the more concurrent users that are supported on the server. E.g. if you have 10 shared computer licences in the server licence pool, then up to 10 users can sign in to the server at the same time and have <code class="expression">space.vars.PRODUCT\_NAME</code> start-up to map their drives. See [licence-desktop-servers](https://docs.zeedrive.com/how-to/licence-desktop-servers "mention") for more information on how to calculate how many licences you need for the licence pool.

Here are the steps to increase the size of your desktop server licence pool. These steps are also applicable to reduce the size of the licence pool:

{% stepper %}
{% step %}
From the [Administration Console](https://docs.zeedrive.com/administration-guide/overview-of-the-administration-console), click the action button then click the "Manage hot desk computers and desktop servers" option

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FtzFspgX4EH3PkVzAiBXQ%2Fimage.png?alt=media&#x26;token=2a3f6fbb-19f3-40f1-963a-911e5cb65835" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
A list of the desktop servers activated on the subscription will show. In the example below, there are two desktop servers. Servers can share the same licence pool (a licence pool can be shared between multiple servers) or, each server can have their own licence pool

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2F227FWnY3sDjsnK7vK3wS%2Fimage.png?alt=media&#x26;token=bdd61fec-5c81-458e-8485-734443ab3671" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
You may want to verify which users are currently consuming shared computer licences from the licence pool. Select a server (note that if they are joined to the same licence pool it doesn't matter which you select) then click the action button and click the option "View users currently active on this desktop server"

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fzh7t39nVJPqLcQF2TB6H%2Fimage.png?alt=media&#x26;token=8342edfc-8600-43e9-a36c-05f07c6bcdd1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
A busy indicator will show briefly, then a list of users that are currently consuming a licence from the licence pool will be listed. If there are multiple desktop servers joined to the same licence pool as the desktop server you selected, then these users will be shown too. Click the Go Back button to return to the desktop server listing

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fqk0KQqHVKxSpg7EXwH78%2Fimage.png?alt=media&#x26;token=7c5f49bc-5d3a-4c7b-8c13-db966d06c3ae" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Let's adjust the size of the licence pool. Select a server that is joined to the licence pool you want to adjust then click the Action button and click the option "Adjust the size of the licence pool for this desktop server"

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FHD3XCBPB9ESiXujf0ZDZ%2Fimage.png?alt=media&#x26;token=c43527fe-5268-49f3-b204-c7f5157f6f57" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The current size of the licence pool will be displayed, along with the number of unassigned licences you have available. You can only increase the licence pool size by the number of available licences

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2F3uKDOWT7svC25MYLbkX7%2Fimage.png?alt=media&#x26;token=329a5ab6-a959-4336-8222-dee4bdf7b89c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
For this example, we'll increase the licence pool size by 3, for a new total of 10. By increasing the licence pool size by 3, we will be decreasing the number of unassigned licences by 3, so our new total of unassigned licences will be 7 and our new licence pool total will be 10. Click the Next button when you have entered the new licence pool size. Note that if you want to decrease the licence pool size, enter a lower number than 7

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fggx6WyXba1PxGsx3Qwgg%2Fimage.png?alt=media&#x26;token=5b24e546-b1e0-40b4-a21e-b9bdbc9b314c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Prior to <code class="expression">space.vars.PRODUCT\_NAME</code> making the licence pool change, you are provided with a confirmation page summarising the change. Click the Update button to commit your change

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FAAvStLRG36Nu40I5D5XJ%2Fimage.png?alt=media&#x26;token=567c8273-e462-40a6-9e6c-4e066b291612" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The busy indicator will show whilst the change is applied to the licence pool

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2F74PhEbgoDoUsKFXrl6A9%2Fimage.png?alt=media&#x26;token=4ccfeb92-10df-4db1-a241-bdb41342fcb9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After applying the change successfully, a green tick mark will show. You have completed the adjustment to the licence pool size

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FGAz7JpnyPyva41WSn8Zf%2Fimage.png?alt=media&#x26;token=e484e883-10ff-420f-a2fb-d8794f35681d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
