Connection to target fails shortly after login when using PSM-RDP
Symptom
When connecting via the PSM, the connection fails soon after the user sees the login banner but before the PSM displays the user login and connection to the target computer.
In the Event Viewer, under "Applications and Services Logs > Microsoft > Windows > AppLocker > EXE and DLL", you can see the error "%PROGRAMFILES%\CYBERARK\PSM\COMPONENTS\PSMPREVENTWINDOWHIDE.EXE was prevented from running."
Environment
Privileged Access Manager (PAM, self-hosted) PSM PSM PSM Connection via PVWA
Cause
RemoteApp is not enabled and the section "Lock Application Window" on the connection component has Enable set to Yes.
When Lock Application Window is enabled, the PSM connection tries to spawn a process called "PSMPreventWindowHide.exe".
In the default configuration for AppLocker, the PSMConnect user does not have that application as an exception. It does, however, have that application as an exception for the PSM Shadow Users on the server.
When using the PSM-RDP connection component, instead of connecting to the PSM then using a Shadow user to run the application, the PSM uses the PSMConnect user to launch the application.
Resolution
In the section "Target Settings > Lock Application Window" on the PSM-RDP connection component, set Enable to No.
Note: This is the default configuration