Ingest CitrixFile and POLICY_CACHE_SIZE

Posted by

Another quick post without any deep explanation, if you like posts like this please hit like at the bottom.

Got a question regarding ingesting Citrix File ADMX and configure a setting such as POLICY_CACHE_SIZE.
So right to it – First, create a Custom Windows 10 Device profile, now add the first row with the following information

Name: ADMX Ingest
OMA-URI: ./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/CitrixFiles/Policy/CitrixAdmx01
Data type: String
Value: <the content of the ADMX file, can be found at the bottom of the page>

Citrix 2019-05-29 130956

Note here! If you change anything to the ADMX file, make sure to update the CitrixAdmx01 to 02, 03 and so on.

Add another row for the setting

Name: CitrixFiles POLICY_CACHE_SIZE
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/CitrixFiles~Policy~CATEGORY_MACHINE_SFWIN/POLICY_CACHE_SIZE
Data type: String
Value: <enabled/>
<data id=”NUM_CACHE_SIZE” value=”256″/>

citrix 2019-05-29 130923

Assign the profile and you are done!
Head over to a machine that have the profile assigned and you choose find the registry key.
citrix 2019-05-29 131303

<policyDefinitions revision=”1.0″ schemaVersion=”1.0″ xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”&gt;
<policyNamespaces>
<target prefix=”sfwin” namespace=”Citrix.CitrixFiles.Policies.SFWindows”/>
<using prefix=”windows” namespace=”Microsoft.Policies.Windows”/>
</policyNamespaces>
<supersededAdm fileName=””/>
<resources minRequiredRevision=”1.0″ fallbackCulture=”en-us”/>
<categories>
<category name=”CATEGORY_USER_SFWIN” displayName=”$(string.CATEGORY_SFWIN_NAME)” explainText=”$(string.CATEGORY_SFWIN_DESC)”/>
<category name=”CATEGORY_MACHINE_SFWIN” displayName=”$(string.CATEGORY_SFWIN_NAME)” explainText=”$(string.CATEGORY_SFWIN_DESC)”/>
</categories>
<policies>
<policy name=”POLICY_USER_ENABLE_APP” class=”User” displayName=”$(string.POLICY_ENABLE_APP_NAME)” explainText=”$(string.POLICY_ENABLE_APP_DESC)” presentation=”$(presentation.POLICY_ENABLE_APP)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_APP” valueName=”EnableApplication”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_MACHINE_ENABLE_APP” class=”Machine” displayName=”$(string.POLICY_ENABLE_APP_NAME)” explainText=”$(string.POLICY_ENABLE_APP_DESC)” presentation=”$(presentation.POLICY_ENABLE_APP)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_APP” valueName=”EnableApplication”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_USER_UPLOAD_EXCLUDED” class=”User” displayName=”$(string.POLICY_UPLOAD_EXCLUDED_NAME)” explainText=”$(string.POLICY_UPLOAD_EXCLUDED_DESC)” presentation=”$(presentation.POLICY_UPLOAD_EXCLUDED)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<multiText id=”MULTITXT_UPLOAD_EXCLUDED” valueName=”ExcludedFromUploadExtensions”/>
</elements>
</policy>
<policy name=”POLICY_ENABLE_ONPREM_CONNECTORS” class=”Machine” displayName=”$(string.POLICY_ENABLE_ONPREM_CONNECTORS_NAME)” explainText=”$(string.POLICY_ENABLE_ONPREM_CONNECTORS_DESC)” presentation=”$(presentation.POLICY_ENABLE_ONPREM_CONNECTORS)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_ONPREM_CONNECTORS” valueName=”EnableOnPremiseConnectors”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_ENABLE_PERSONAL_CLOUD_CONNECTORS” class=”Machine” displayName=”$(string.POLICY_ENABLE_PERSONAL_CLOUD_CONNECTORS_NAME)” explainText=”$(string.POLICY_ENABLE_PERSONAL_CLOUD_CONNECTORS_DESC)” presentation=”$(presentation.POLICY_ENABLE_PERSONAL_CLOUD_CONNECTORS)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_PERSONAL_CLOUD_CONNECTORS” valueName=”EnablePersonalCloudConnectors”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT1″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME1)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint1-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint1-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint1-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT2″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME2)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint2-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint2-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint2-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT3″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME3)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint3-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint3-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint3-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT4″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME4)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint4-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint4-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint4-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT5″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME5)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint5-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint5-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint5-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT6″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME6)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint6-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint6-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint6-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT7″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME7)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint7-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint7-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint7-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT8″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME8)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint8-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint8-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint8-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT9″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME9)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint9-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint9-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint9-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_USER_MOUNT_POINT10″ class=”User” displayName=”$(string.POLICY_MOUNT_POINT_NAME10)” explainText=”$(string.POLICY_MOUNT_POINT_DESC)” presentation=”$(presentation.POLICY_MOUNT_POINT)” key=”Software\Policies\Citrix\Citrix Files”>
<parentCategory ref=”CATEGORY_USER_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_MOUNT_POINT_LOCAL” valueName=”MountPoint10-Local”/>
<text id=”TXT_MOUNT_POINT_SHAREFILE” valueName=”MountPoint10-ShareFile”/>
<text id=”TXT_MOUNT_POINT_DISPLAYNAME” valueName=”MountPoint10-DisplayName”/>
</elements>
</policy>
<policy name=”POLICY_ACCOUNT” displayName=”$(string.POLICY_ACCOUNT)” explainText=”$(string.POLICY_ACCOUNT_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”User” presentation=”$(presentation.POLICY_ACCOUNT)”>
      <parentCategory ref=”CATEGORY_USER_SFWIN”/>
      <supportedOn ref=”windows:SUPPORTED_Windows7″/>
      <elements>
        <text id=”TXT_ACCOUNT” valueName=”Account”/>
      </elements>
    </policy>
<policy name=”POLICY_CACHE_SIZE” displayName=”$(string.POLICY_CACHE_SIZE)” explainText=”$(string.POLICY_CACHE_SIZE_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_CACHE_SIZE)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<decimal id=”NUM_CACHE_SIZE” valueName=”CacheSize” minValue=”256″ storeAsText=”true”/>
</elements>
</policy>
<policy name=”POLICY_DELETE_CACHE” displayName=”$(string.POLICY_DELETE_CACHE)” explainText=”$(string.POLICY_DELETE_CACHE_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_DELETE_CACHE)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_DELETE_CACHE” valueName=”DeleteCacheOnExit”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_ENABLE_AUTO_UPDATE” displayName=”$(string.POLICY_ENABLE_AUTO_UPDATE)” explainText=”$(string.POLICY_ENABLE_AUTO_UPDATE_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_ENABLE_AUTO_UPDATE)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_AUTO_UPDATE” valueName=”EnableAutoUpdate”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_CACHE_LOCATION” displayName=”$(string.POLICY_CACHE_LOCATION)” explainText=”$(string.POLICY_CACHE_LOCATION_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_CACHE_LOCATION)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<text id=”TXT_CACHE_LOCATION” valueName=”CacheLocation” expandable=”true”/>
</elements>
</policy>
<policy name=”POLICY_LOGSFOLDER_SIZE” displayName=”$(string.POLICY_LOGSFOLDER_SIZE)” explainText=”$(string.POLICY_LOGSFOLDER_SIZE_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_LOGSFOLDER_SIZE)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<decimal id=”NUM_LOGSFOLDER_SIZE” valueName=”LogsSize” minValue=”100″ maxValue=”1024″ storeAsText=”true”/>
</elements>
</policy>
<policy name=”POLICY_DISABLE_TUTORIAL” displayName=”$(string.POLICY_DISABLE_TUTORIAL)” explainText=”$(string.POLICY_DISABLE_TUTORIAL_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_DISABLE_TUTORIAL)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_DISABLE_TUTORIAL” valueName=”DisableTutorial”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_ENABLE_OFFLINEACCESS” displayName=”$(string.POLICY_ENABLE_OFFLINEACCESS)” explainText=”$(string.POLICY_ENABLE_OFFLINEACCESS_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_ENABLE_OFFLINEACCESS)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_ENABLE_OFFLINEACCESS” valueName=”EnableOfflineAccess”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_PREFETCH_METADATA” displayName=”$(string.POLICY_PREFETCH_METADATA)” explainText=”$(string.POLICY_PREFETCH_METADATA_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_PREFETCH_METADATA)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<boolean id=”BOOL_PREFETCH_METADATA” valueName=”PrefetchMetadata”>
<trueValue>
<decimal value=”1″/>
</trueValue>
<falseValue>
<decimal value=”0″/>
</falseValue>
</boolean>
</elements>
</policy>
<policy name=”POLICY_CACHE_MODE” displayName=”$(string.POLICY_CACHE_MODE)” explainText=”$(string.POLICY_CACHE_MODE_HELP)” key=”Software\Policies\Citrix\Citrix Files” class=”Machine” presentation=”$(presentation.POLICY_CACHE_MODE)”>
<parentCategory ref=”CATEGORY_MACHINE_SFWIN”/>
<supportedOn ref=”windows:SUPPORTED_Windows7″/>
<elements>
<enum id=”ENUM_CACHE_MODE” valueName=”CacheMode”>
<item displayName=”$(string.POLICY_CACHE_MODE_DEFAULT)”><value>
<decimal value=”0″/>
</value></item>
<item displayName=”$(string.POLICY_CACHE_MODE_IMMEDIATE)”><value>
<decimal value=”1″/>
</value></item>
<item displayName=”$(string.POLICY_CACHE_MODE_QUEUED)”><value>
<decimal value=”2″/>
</value></item>
</enum>
</elements>
</policy>
</policies>
</policyDefinitions>
Advertisements

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.