PSMConfigureAppLocker.ps1 failing to run with Merge

PSMConfigureAppLocker.ps1 failing to run with Merge

87
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:01 PM


Symptom


When trying to run the PSMConfigureAppLocker.xml with the Merge option the PSMConfigureAppLocker.ps1 is failing with the below error


error_with_merge.png



Environment


10.10;11.1;11;11.2;11.3;11.4;11.5

PSM



Cause


This is caused when using a lower case m for the Merge option:


Example:

===

<Executable Enforce="true" Action="merge"/>

<WindowsInstaller Enforce="true" Action="merge"/>

<Script Enforce="true" Action="merge"/>

<PackagedApp Enforce="true" Action="merge"/>

<DLL Enforce="true" Action="merge" />

===



Resolution


You can resolve this by editing the PSMConfigureAppLocker.xml to use capital M for the Merge option:

===

<Executable Enforce="true" Action="Merge"/>

<WindowsInstaller Enforce="true" Action="Merge"/>

<Script Enforce="true" Action="Merge"/>

<PackagedApp Enforce="true" Action="Merge"/>

<DLL Enforce="true" Action="Merge" />

===



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Db9CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail