Command line PSM connection (such as VCenter) failing with 'PSMSR330E Error parsing command line'

Command line PSM connection (such as VCenter) failing with 'PSMSR330E Error parsing command line'

135
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:58 PM


Symptom


Command line PSM connections (such as VCenter), are failing with error:
PSMSR330E Error parsing command line
The following will show in the PSM logs:
PSMOS028I Attempting to connect to the service control manager on the computer: [computername]
PSMOS001E OS Objects exception occurred. PSMOS018E Failed to connect to remote service manager (System error [5]: Access is denied.) (Codes: -1, 5) 


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM

Cause


These connections are launched with command line arguments that are not correctly parsing the password because it contains special characters.  For example, the following command launches VCenter:
<TargetSettings Protocol="VMWare" ClientApp=""D:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -u "{UserName}" -p "{Password}" -s "{VSphereAddress}"" ClientDispatcher="Irrelevant" ClientInvokeType="CommandLine"> 
If the password contains "/", the connection will fail.


Resolution


Change the password so it does not contain "/" and add "/" to the list of forbidden characters for this Platform/Policy.

Additional Information


Details

SYMPTOM:
 
Command line PSM connections (such as VCenter), are failing with error:
 
PSMSR330E Error parsing command line
 
The following will show in the PSM logs:
 
PSMOS028I Attempting to connect to the service control manager on the computer: [computername]
 
PSMOS001E OS Objects exception occurred. PSMOS018E Failed to connect to remote service manager (System error [5]: Access is denied.) (Codes: -1, 5) 
 
PROBLEM:
 
These connections are launched with command line arguments that are not correctly parsing the password because it contains special characters.  For example, the following command launches VCenter:
 
<TargetSettings Protocol="VMWare" ClientApp=""D:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -u "{UserName}" -p "{Password}" -s "{VSphereAddress}"" ClientDispatcher="Irrelevant" ClientInvokeType="CommandLine"> 
 
If the password contains "/", the connection will fail.
 
SOLUTION:
 
Change the password so it does not contain "/" and add "/" to the list of forbidden characters for this Platform/Policy.
 
 



Actions
  • Print
  • Copy Link

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