How to reset the admin password for Citrix Licensing Server

Sometimes the Citrix licensing server doesn’t get accessed for a long time, maybe the admin leaves and is replaced and no-one made a note of the password. Suddenly, you can’t access the licensing server any more. What to do ?

If you have access to the disk sub system (ie.. the files) on the licensing server then it is possible to reset the admin password.

1. Open the “server.xml” file in C:\Program Files\Citrix\Licensing\LS\conf. If on Win2k8 you will need to open your editor as an admin. (Take a copy of the file first – if anything goes wrong you can simply copy the file back to restore the original settings).

2. Find the entry that looks something like this:

<user firstName=”System” id=”admin” lastName=”Administrator” password=”(ENC-01)LKJ338u98uxkllS(*U+ljljlja-$78923ghJgs” passwordExpired=”false” privileges=”admin”/>;

3. Erase the contents between the double quotes after “password=”

4. Enter a plain text password , for example password=”TemporaryPassword”

5. Change the passwordExpired value to be “true” and save the server.xml file.

6. Restart the licensing services or, at a push, reboot the server.

7. Log into the licensing console using user name “admin” and the password set above.

8. You will be prompted to change your password. The new password will be encrypted in the server.xml file.

9 Responses to “How to reset the admin password for Citrix Licensing Server”

  1. Yonderbox says:

    Hey, thanks! This beats a re-install.

  2. Nick says:

    Thank you mate – saved me heaps of time trawling through documentation to find the password

  3. Ben says:

    Works fine, thanx!

  4. Sampath says:

    Thanks Dear, Excellent!!!!! helped a lot 🙂

  5. Excellent write-up. I absolutely appreciate this site.
    Keep it up!

  6. Admin says:

    Excellent!!! This saved the day!!! Thank you!!

  7. Matt says:

    Huge timesaver! Thanks very much for posting. Clear, easy to follow directions.

  8. Geek says:

    Thanks mate. It really helped me but had issue to edit the text file and save it. This article helped me with the steps. Hope it will be helpful for other readers.


  9. […] Posted in PhilipFlint […]

Leave a Reply