Importing XenApp 6 administrators from an older farm using Powershell.

Just a quick post, when moving from XenApp 5 to 6 the recreation of the farm can take some time, lots of new options, lots of new considerations. We have a large number of farm administrators internally and recreating that list / assigning permissions was something I avoided as long as I could due to the monotony of the task in question.

Fortunately, Powershell stepped in and made my life extremely easy, below is a quick list of tasks you need to do to quickly export and import farm administrators:

On the source server, ensure to install the powershell cmdlets for XenApp.

Run the following command and export to a shared directory:

get-xaadministrator | Export-Clixml servershareadmins.xml

Now on the target XenApp 6 server, run the following command:

import-clixml 'servershareadmins.xml' | new-xaadministrator
import-clixml 'servershareadmins.xml' | set-xaadministrator

And that’s it!

Well actually, its not, some permissions and values have changed from 5 to 6 so you still need to review the permissions (around applications and servers) , but the pre-creation of administrative accounts and any translated permissions will be immediately set.

Related Posts

ThreadLocker 2.1 is available. Shortly after it's initial launch and great reception! I'm proud to announce the general availability of ThreadLocker 2.1. This is a minor up...
New Module: Creating an RDP file password with Pow... Here's something that is surprisingly tricky to automate in this day and age. Creating a password and storing it in an RDP file. I'm not here to debat...
ThreadLocker 2.0 is live! Back in 2012 I wrote a utility called "ThreadLocker" for dealing with CPU heavy processes or multi threaded processes that have a nasty tendency to ca...

Leave a Reply