//
you're reading...

XenApp

XenApp Could not create administrator

I created a new farm last week using “chfarm”.  The farm was successfully created but I noticed the new farm was missing administrators.

XenApp Management Console no administrators

I didn’t think it was a problem until I tried to add a farm administrator and I got the error “Could not create administrator”.

A quick search on Google found a CTX article (CTX114603) which provided a workaround.

1. Add a server running Presentation Server 4.0 to the server farm and use the Presentation Server Console to add administrators.

2. Remove the server, if needed. In fact, the Presentation Server 4.0 does not need to be added. It is sufficient to use the Presentation Server Console on a server running Presentation Server 4.0 and simply point it to a Presentation Server 4.5 server.

Really? Presentation Server 4.0?  I can’t even download PS 4.0 because it’s end-of-life. 

Now what? Powershell to the rescue! 

Install the XenApp CTP and use New-XAAdministrator to create a new administrator.

New-XAAdministrator –AdministratorName DOMAIN\User –AdministratorType Full