PSM RDP Proxy connection failed with error code 1062E
128
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:51 PM
Symptom
User tried to connect to target system using RDP proxy (PSM for Windows) and encountered below error message
"1062E The requested account does not exist in the Vault, or you do not have the appropriate permissions to use it. Contact your system administrator"
The same vault account can connect to target system with the same PAS managed account via PVWA.
In PSM trace log
PSMSR009I Privileged Session Manager exception occurred. PSMSR1028E [736382e7-a681-4d42-b038-4bc5a3c75757] Failed to find the password object.
Reason: PSMSR1033E No password object was found (Codes: -1, -1)
In Vault trace log
<FindFilesFilter><CategoryExpr><CategoryExpr><SimpleCategoryExpr CategoryName="Address"
Op="regexp" Value="(?i)(^(11\.1\.111\.111)$)"/></CategoryExpr><LogicalOp LogicOp="and"/><CategoryExpr>
<SimpleCategoryExpr CategoryName="Username" Op="regexp" Value="(?i)(^(TargetUserName)$)"/></CategoryExpr></CategoryExpr>
</FindFilesFilter>SafeOptions=0MaxFilesNumber=1000ObjectVersionId=0ServiceBehaviourOptions=0MaxFilesBeforeIdentifier=
0FilesIdentifier=XMLSortRequest=FilterByAuditPattern=LockedByUser=FolderIdentifier= OK - Output Size = 0 Output Records Count = 0
Environment
11.1;11.2;11.3;11.4 PSM, PSM for Windows
Cause
The alternate shell:s: line in RDP file (Connect with RDP file) or RDP Start Program (Connect with MSTSC) syntax is incorrect
For example:
psm /u target-user /a target-address /c connection-component
PSM for Windows uses the combination of the value behind /u and /a to generate a regular expression string to try to match the managed accounts.
It will show error 1062E on the screen when there is no record found.
Resolution
1 Review and edit the alternate shell command in the RDP file to below formats
alternate shell:s:psm /u username /a address /c connection-component-ID
or
alternate shell:s:psm /u username@address /a Remote-Machine-IP-o-Hostname /c connection-component-ID
2
1) "username" needs to match the exact string of the "Username" in Account Details page of PVWA
2) "address" needs to match the exact string of the "Address" in Account Details page of PVWA.