PSM Universal Connector Fails to establish session when passwords have special characters.

PSM Universal Connector Fails to establish session when passwords have special characters.

143
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:56 PM


Symptom


PSM Universal Connector Fails to establish a session when passwords have special characters.


Environment


11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
PSM
AutoIT


Cause


When using Autoit send(message, [flag]) function special characters are not sent correctly since they are expected to be sent in brackets. This is a default behavior when flag parameter is not specified or set to 0 to allow Auto-It to process non-character keys such as up/down arrows. When flag parameter is set to 1, the string is sent in the raw.


Resolution


Locate the auto-it script  invoked by the Universal connector.  To Locate the correct script in System Config > Options > Choose the desired Connection Component > Target Settings > ClientDispatcher.
  1. In the script locate the following line See the example below:
    Send($TargetPassword)
  2. Change it to
    Send($TargetPassword, 1)

Note: For more information on AutoIt send function please see the following link:
http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm


Additional Information


Details

SYMPTOM:
PSM Universal Connector Fails to establish session when passwords have special characters.
          
PROBLEM:
When using Autoit send(message, [flag]) function special characters are not sent correctly since they are expected to be sent in brackets.  This is a default behavior when flag parameter is not specified or set to 0 to allow Auto-It to process non-character keys such as up/down arrows. When flag parameter is set to 1, the string is sent in the raw.
 
SOLUTION:
  1. Locate the auto-it script  invoked by the Universal connector.  To Locate the correct script in System Config > Options > Choose the desired Connection Component > Target Settings > ClientDispatcher.
  2. In the script locate the following line See the example below:
    Send($TargetPassword)
  3. Change it to
    Send($TargetPassword, 1)

Note: For more information on AutoIt send function please see the following link:
http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm



 


Actions
  • Print
  • Copy Link

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