PSM - Applocker PS Script gives error '*' violates pattern constraint
193
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:59 PM
Symptom
Customer runs Applocker as part of hardening. The Applocker script ends with an error
PS C:\Program Files (x86)\CyberArk\PSM\Hardening> ./PSMConfigureAppLocker
[CyberArk PSM AppLocker configuration script error]
Error message: Unspecified error
'*' violates pattern constraint of '([0-9]{1,5}.){3}[0-9]{1,5}'.
Environment
9.9;9.10 PSM 10.7--Windows 2012 R2
Cause
Possible causes of this issue.
1 Powers shell is not running with Administrative mode
2 There is in an error in the PSMConfigureAppLocker.xml file
Resolution
1 Please launch PowerShell console as an administrator and run the PSMConfigureAppLocker script again.
2 If the issue persists under administrative mode, there is a log file called PSMApplockerLog.log in the hardening folder after running it ,please upload it together with the PSMConfigureAppLocker.xml for furtrher investigation.