XenDesktop User/Device manually release a license

Many companies are switching to XenDesktop User/Device licenses vs. the traditional concurrent model.  The main reason… well they are are just about half the cost.  So it make sense from a budget perspective.

This does create a bit of additional administrative IT overhead. In theory the license server “takes care of” managing licensing”, etc… however,  Every now and then you’ll find that you might need to delete/release a few licenses on your XenDesktop installation, generally due to over usage, this will prevent a user getting “not enough licenses available” error.

Environment:

  • Windows 7
  • Citrix XenDesktop 5.6
  • PVS 6.1.16
  • Citrix Receiver 13.4

Differences between the two: (Detailed info @ CTX135501

Concurrent:

A concurrent XenDesktop license is tied to a XenDesktop session, not to a specific user or device. When a user launches a session, a license is checked out to that session

User / Device:

XenDesktop User/Device licenses provide customers with the maximum flexibility of assigning a single license to either a user or a device and supports both license types in the same environment.

Solution:

Head over to your license server

Run the following command from C:\Program Files (x86)\Citrix\Licensing\LS (default license location)

udadmin -list

udadmin_list_command

This command displays who is currently using a license and when it is due to expire.

Find the user who you want to delete and then type the following command.

udadmin -f XDT_ENT_UD -user druiz -delete

Some other command examples

udadmin -list
Displays all the users and devices.

udadmin -list -a
Lists all features, versions, counts of licenses, and the users and devices for each feature.

udadmin -f XDT_ENT_UD -user druiz -delete
Releases one user from one feature.

udadmin -f XDT_ENT_UD -device druiz_xdwin7_64 -delete

Advertisement

XenDesktop licensing – Features and Editions

It seems almost everyone that I talk to (including Citrix Reps) are a little confused as what the different  XenDesktop license model covers.

For further details, click on this article from Citrix.

Now, to clear things up, XenDesktop is offered in four editions:

  • Platinum. A comprehensive enterprise-class desktop virtualization solution with advanced management and security, in addition to the features of Enterprise edition.

  • Enterprise. An enterprise-class desktop virtualization solution with on-demand applications and FlexCast delivery technology, in addition to the features of VDI edition.

  •  VDI. For scalable Virtual Desktop Infrastructure (VDI) implementations with Citrix HDX technology.

  • Express. A free download to help IT professionals get started with VDI, which supports up to 10 users.
The components in each edition are listed below.

Note: Key components are listed only; this list is not comprehensive.

Licensing Express VDI Enterprise Platinum
Named User Licensing Yes. 10 users Yes Yes Yes
Device based licensing Yes Yes Yes
Concurrent User Licensing Yes Yes Yes
Component
Controller Yes. Limited 1 Yes Yes Yes
XenServer 2 Yes. XenServer 3 Yes. XenServer, Enterprise Edition 4 Yes. XenServer, Enterprise Edition 4 Yes. XenServer, Enterprise Edition 4
Receiver Yes Yes Yes Yes
Desktop Studio Yes Yes Yes Yes
Machine Creation Services Yes Yes Yes Yes
Desktop Director Yes Yes Yes
Workflow Studio Yes Yes Yes
Profile management Yes Yes Yes
StorageLink Yes Yes Yes
Access Gateway 5 Yes. Platform License Yes. Platform License Yes. Universal License
Provisioning services for desktops6 Yes Yes Yes
Provisioning services for servers Yes Yes
XenClient and Synchronizer Yes Yes
XenApp Yes. Enterprise Yes. Platinum
XenVault Yes Yes
EdgeSight for Virtual Desktops Yes
Branch Repeater 7 Yes
Single Sign-on Yes