"The initial program cannot be started: PSM@<session ID>" error when attempting PSM connections

"The initial program cannot be started: PSM@<session ID>" error when attempting PSM connections

274
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:09 PM


Symptom


Users may receive the following error when connecting via Privileged Session Management (PSM):

The system cannot find the file specified.
The initial program cannot be started:
PSM@<session ID>

This may occur for every connection, or intermittently, depending on the environment.


Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM This may occur in environments where:
  • PSM servers are joined to a domain
  • PSM has been configured to use domain-based PSMConnect and PSMAdminConnect users


Cause


This is commonly caused by the following combination of settings:
  • Some Domain Controllers have the "Network Access: Restrict clients allowed to make remote calls to SAM"  policy set to only allow Administrators
  • The PSM servers have the following Registry setting set:
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\IgnoreRegUserConfigErrors = 1
This results in the following sequence of events:
  1. When PSM attempts to retrieve the user information (including Initial Program) from a domain controller which only allows Administrators, the request is denied.
  2. Remote Desktop Services does not fail at this point, since IgnoreRegUserConfigErrors is enabled. Instead, it loads the server default settings instead, which does not include the Initial Program, and as a result, does not start PSMInitSession
This may present as an intermittent issue if only a subset of domain controllers have the restriction, as it would only occur if RDS happens to retrieve the user configuration from a DC with the policy set.


Resolution


To confirm the cause:

To resolve:
  • Check the "Network Access: Restrict clients allowed to make remote calls to SAM" policy on each domain controller which the PSM servers may be communicating with.
    • Adjust the policy to allow the PSM servers and/or the domain-based PSMConnect and PSMAdminConnect users
Additional resources:
  • https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-access-restrict-clients-allowed-to-make-remote-sam-calls


Actions
  • Print
  • Copy Link

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