[PSM] - This initial program cannot be started: "C:\Program Files (x86)\CyberArk\PSM\Components\PSMInitSession.exe"

[PSM] - This initial program cannot be started: "C:\Program Files (x86)\CyberArk\PSM\Components\PSMInitSession.exe"

323
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:00 PM


Symptom


The error indicates that the initial program that is defined in the PSMConnect and PSMAdminConnect users profile cannot be launched.


Environment


10.5;10.10;13.0;13.1;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
  • PSM
  • Local PSMConnect
  • Local PSMAdminConnect
  • Domain PSMConnect
  • Domain PSMAdminConnect


Cause


The issue can have multiple causes:

1. Permissions on the folder: C:\Program Files (x86)\CyberArk\PSM\Components\
2. Permissions on the file: C:\Program Files (x86)\CyberArk\PSM\Components\PSMInitSession.exe
3. GPO "Always show desktop on connection" is enabled
4. Initial program pointing to the wrong drive. 
5. Hardening and AppLocker script are pointing to the wrong PSM User


Resolution


1. Check file and folder permissions
2. Change the initial program to Notepad and see if that launches when you RDP to the target.
3. Check the GPO and see if "Always show desktop on connection" is enabled. Remove/disable this GPO
4. In case of domain users, check for spelling errors and whether the initial program is pointing to the correct drive.

5. Open PSMHardening.ps1 and PSMConfigureAppLocker.ps1 files in the <drive>\Program Files(x86)\CyberArk\PSM\Hardening and check the PSM users configured. If you have PSM domain users configured in your environment, make sure they are set correctly in these scripts. 

Example:
If you are running with domain users and see that in the scripts mentioned above they are configured like: "$COMPUTER\PSMConnect & $COMPUTER\PSMAdminConnect", they are set to local in those scripts and need to be change to something like this: "YOURDOMAINHERE\PSMConnect & YOURDOMAINHERE\PSMAdminConnect"

You can check the following Idira documentation to configure these users -> https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#EditandrunthePSMhardeningandApplockerscripts


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000l0ZCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail