Exporting XenDesktop / XenApp 7.6 Policies

If you’re looking for a way to export your policies in XenDesktop / XenApp 7.6, these two methods export XML files for archival or reporting.

Method 1

Download XenApp Migration Script:


Extract the readIMA folder

Do not load any modules before performing this operation.

PS C:\readima> Import-Module .\ExportPolicy.psd1

PS C:\readima> Export-Policy -XmlOutputFile .\MyPolicy.XML -LogFile .\MyPolicy.log

PS C:\readIMA> Export-Policy -XmlOutputFile .\MyPolicy.XML -LogFile .\MyPolicy.log

XenApp 6.x to XenApp/XenDesktop 7.6 Migration Tool Version 20141125-1515

Exporting user policies

Exporting policy “Unfiltered”

Exporting policy “Disconnected Session Timer”

Exporting policy “HTML5”

Exporting policy “Printing”

4 user policies exported

Exporting computer policies

Exporting policy “Unfiltered”

Exporting policy “HTML5”

2 computer policies exported

Policy export completed

Log has been saved to .\MyPolicy.log

PS C:\readIMA>

*NOTE* This creates one policy file with filters included

Method 2

Download Scout


From the Scout\Current\Utilities folder, copy Citrix.GroupPolicy.Commands.psm1 to C:\

PS C:\> Mkdir C:\MyPolicy

PS C:\> Add-PSSnapin Citrix.Common.GroupPolicy

PS C:\> Import-Module .\Citrix.GroupPolicy.Commands.psm1

PS C:\> New-PSDrive Site –PSProvider CitrixGroupPolicy –Root \ -Controller localhost

PS C:\> Export-CtxGroupPolicy –Drive Site C:\MyPolicy

*NOTE* Using this method exports three files, one contains policy settings, a separate contains filters


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: