Error when running psm applocker script. '*' violates pattern constraint of '([0-9]{1,5}\.){3}[0-9]{1,5}'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when running psm applocker script. '*' violates pattern constraint of '([0-9]{1,5}\.){3}[0-9]{1,5}'

L3 Networker

After msedge update, PSM connector via edge doesnt open. gives error as below.

Error Occurred

 

Session has been closed

Login failed

 

Failed to initialize web browser. Driver was not found.

Validate that the Selenium driver of the selected browser is

located under 'DriverFolder'.

 

*****

PSM checker shows version for browser & driver is correct. I ran psm configure applocker script via powershell as admin and i have the error.

 

Evaluating the dlls consumed by c:\program files\google\chrome\application\chrome.exe

Evaluating the dlls consumed by c:\program files (x86)\microsoft\edge\application\msedge.exe

Loading new AppLocker configuration...

[CyberArk PSM AppLocker configuration script error]

[Error message: Unspecified error

 

'*' violates pattern constraint of '([0-9]{1,5}\.){3}[0-9]{1,5}'.

 

Error history:

Message # 1: During detecting the dlls loaded by: c:\program files (x86)\microsoft\edge\application\msedge.exe couldng find: msedge_elf.dll in the file system

Message # 2:  at DllsDetector.Program.ScanCSharpDlls(String[] executables)

Message # 3:  at System.Reflection.Assembly.LoadFile(String path)

Message # 4:  at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)

Message # 5:  at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)

Message # 6:  at System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str, Boolean onlyCheckExtras)

Message # 7: System.ArgumentException: Illegal characters in path.

False

PS C:\Program Files (x86)\CyberArk\PSM\Hardening>

 

Same error after copying the psmapplocker.xml from another working psm gives the same error.

2 REPLIES 2

L5 Sessionator

You have to download MSEdge Driver matching the version of your edge browser which is in your PSM Server and place that msedge driver in components folder and it will resolve the issue.

 

Make Applocker thing in "Audit Only" for now and test

L3 Networker

All my PSMs are managed by GPO. issue resolved after deleting the registry.pol file and recreating it with gpupdate /force. Seems some corruption in registry.

  • 22 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!