PSM Connection Issue - Logon Failed: You are connected to the remote computer. However, an error occurred while an initial user program was starting, so you are being logged off.

PSM Connection Issue - Logon Failed: You are connected to the remote computer. However, an error occurred while an initial user program was starting, so you are being logged off.

2819
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:07 PM


Symptom


When you try to stablished a RDP connection thought the PVWA portal, the following message appears:

image.png

 



Environment


12.0;12.1;12.2;12.4;12.3;12.5 Privilege Cloud PSM

Privileged Cloud version 14.2 or later
Customer uses a Domain PSMConnect user



Cause


There is some causes for this issue occurs: 

  • PSMConnect Domain user has wrong settings
  • Group Policy Setting maybe wrong
  • The OU from the Domain contains forbidden characters
  • The PSMConnect Domain user properties are not being correctly inherited by the PSM Server(s)


Resolution


Each solution could be applicable for the errors shown above:
  1. PSMConnect Domain user has wrong settings
Check if the following configurations are in the PSMConnect user:
  • In the environment tab:
image.png
*Note: Check if the Program file name and the Start in is in the same path as the PSMInitSession.exe is located.
  • In the Remote Control tab:
image.png
  • In the Account Tab for Domain users
image.png
  • In the Sessions tab:image.png
  1. Group Policy Settings maybe wrong
In GPO go to:

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

Enabling GPOs "Always show desktop on connection" and ""Start a program on connection" - these should be set to "Not configured".

image.png


Check if these have been changed, or if there is a GPO setting present that overrides these configurations.
 
  1. The OU from the Domain contains forbidden characters.
In the Domain, check if the OU have forbidden characters, such as "ç,á,é,í,ó,ú" or if it have space in the name.


Actions
  • Print
  • Copy Link

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