Citrix XenApp license acquisition error

We recently took over a Citrix server that has 40 licenses, but users cannot log on when there are more than 20 in use.  The previous admin worked around this by setting a scheduled task to restart the Citrix Licensing service when the following entry is logged:

Citrix XenApp license acquisition error (-4): All installed licenses are currently in use.  Please contact your system administrator to acquire additional licenses.

We'd like to avoid this by using the available licenses as normal.  Attached is a screen shot showing the licences and the errors from the License Administration console.

How can we make Citrix use the licenses that should be available to it?  Thanks in advance for any advice!

Citrix License Errors
David HaycoxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David HaycoxAuthor Commented:
It's a single (domain member) server running Server 2008 R2, with XenApp 6 Fundamentals edition, if that helps -thanks.
Vijaya Reddy Pinnapa ReddyCommented:
Try to remove the usernames who are not accessing Citrix published applications by opening Quick start.
I see that you have 10 license not being used but they are added to the licensing server, am I right?
I don;t see the option Hosts next to these licenses. I you have CAL's (Client Access Licenses), Citrix demands that u add the Citrix License host name to the license that you create in your MyCitrix. Do keep in mind that the host name is case sensitive. And also, do keep in mind that you need to have the correct license. If your farm is running enterprise mode and you have advance license they won't work.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

David HaycoxAuthor Commented:
Sorry about delay, been away.  You're quite right, the host name is not showing next to the license.  How do I go about adding the host name though?  I can't see anything in the License Administration Console that allows me to do that.
No you can;t. What you need to do is login to the Citrix account the license was added to (so the website of Citrix itself, i thought it was MyCitrix) and then reallocate the free license (if any are available). If you don;t have that account anymore i would suggest mailing or calling Citrix for some help..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David HaycoxAuthor Commented:
Looking good so far, it turned out there were 5 spare licences that hadn't been applied for some reason, so I allocated them and downloaded a new licence file.  I tried to import it (using procedure here:

but wasn't able to, for this reason:

That was easy enough to fix by installing the latest Citrix Licensing update.  We now have users on the the bottom three licences shown above, plus the new 5 (which now appears below them).  So far, not enough users have logged on simultaneously to go over the 30 mark, so I don't know if the as yet unused licences (the top two lines shown in the image, with a 2010 date) will be able to come into play or not - I'll have to wait and see.

Is it expected to not start using the licences from the top?
I'm not quite sure how Citrix picks up license. But don't you have a few spare accounts to login? This way you can atleast test if it works oke now.
And the new license aren't expired?? If not then yes they will be taken up eventually.
David HaycoxAuthor Commented:
Looks ok so far, we could test with extra accounts but I'm happy just to wait to see if it works ok with regular users.  With it being the summer holidays there are fewer users than normal, so we only got as high as exactly 30 so far - the earliest two licences haven't been used.

I think we should be fine; will post back and close in due course if all is well.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.