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:
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:
- PSMConnect Domain user has wrong settings
- In the environment tab:
*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:
- In the Account Tab for Domain users
- In the Sessions tab:
- Group Policy Settings maybe wrong
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".
Check if these have been changed, or if there is a GPO setting present that overrides these configurations.
- The OU from the Domain contains forbidden characters.