PSM- AppLocker is blocking scripts
137
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:54 PM
Symptom
> AppLocker has been run on the PSM
> Test a connection from PVWA
> After making a connection, open Event Viewer on the PSM Application and Services Logs\Microsoft\Windows, and select AppLocker. Open The Script logs and filter the log to only see errors.
> If there are any errors, this article will be relevant, I'll list a few examples below:
"%SYSTEM32%\USRLOGON.CMD was not allowed to run"
"%WINDIR%\APPLICATION COMPATIBILITY SCRIPTS\SETPATHS.CMD was not allowed to run"
> Test a connection from PVWA
> After making a connection, open Event Viewer on the PSM Application and Services Logs\Microsoft\Windows, and select AppLocker. Open The Script logs and filter the log to only see errors.
> If there are any errors, this article will be relevant, I'll list a few examples below:
"%SYSTEM32%\USRLOGON.CMD was not allowed to run"
"%WINDIR%\APPLICATION COMPATIBILITY SCRIPTS\SETPATHS.CMD was not allowed to run"
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;13.0;14.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM
Cause
If the PSM installation media was run from a local user directory, such as the downloads folder, it can cause an issue with the AppLocker scripts ability to run fully/correctly.
Resolution
From Administrative Command Prompt run the following command, change the drive letter/path if your environment has installed the PSM in an alternative location:
dir "C:\Program Files (x86)\CyberArk\PSM" -Recurse | Unblock-file