PSMSC036E No Process was found for image
607
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:57 PM
Symptom
PSMSC036E No Process was found for image [PSMInitSession.exe], session 2 (Codes: -1, -1)
Environment
9.10;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;14.2;14.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) Component: PSM
Cause
There are various reasons which could cause this error.
Resolution
When this error occurs the following is a good place to start troubleshooting:
Folder Permissions:
Check the security permissions on \PSM\Components folder to ensure PSMConnect and PSMShadowUsers group have read & execute permissions. Also, double check the PSMInitSession.exe security permissions to ensure the above users have read & execute allowed.
You can verify there are not permission issues by running cmd as psmconnect user, navigating to the \psm\components folder and executing PSMInitSession.exe. The result should timeout. If you get access denied or can't make it to the file then you have a permission issue.
Group Policy Settings:
Check GPOs - We have been able to replicate the error by enabling GPOs "Always show desktop on connection" and "Start a program on connection" - these should be set to "Not configured"
Check the following GPO locations:
- Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment
- User Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment
AppLocker:
You can set AppLocker to "Audit Only" on the PSM Servers, and attempt a connection.
- To set AppLocker to 'Audit only', open secpol.msc on the PSM Server and navigate to Application Control Policies > AppLocker, then right-click AppLocker and select Properties. On the AppLocker Properties page, click the drop-down arrow and select 'Audit only' for all four rules.
Registry Keys
Check the following Registry keys (String Value) are pointing to the correct location for the PSMInitSession.exe: -
Default - Install_Path\CyberArk\PSM\Components\PSMInitSession.exe
If you need to edit or add a registry key, reboot the PSM server
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications\PSMInitSession\Path
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications\PSMInitSession\ShortPath
- Path:
- C:\Program Files (x86)\CyberArk\PSM\Components\PSMInitSession.exe
- ShortPath:
- C:\PROGRA~2\CyberArk\PSM\COMPON~1\PSMINI~1.EXE
PSMInitSession Timeouts:
Increase the PSMInitSession timeout - These values must match.
- "C:\Program Files (x86)\CyberArk\PSM\Components\Conf.xml" - In Milliseconds
- PVWA > Administration > Privileged Session Management > General > Session Settings > Advanced > InitSessionTimeout - In Seconds