<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I am getting error while connecting to Chrome website through PSM &amp;quot;PSMSR16E Failed to open process (process id: 6287720). in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366926#M54495</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please use CyberArk Chrome connection components . &lt;/P&gt;&lt;P&gt;If you use "send" parameters to send username and password for any dispatcher then it will type password in clear text which will be audit issue.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 07:10:27 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2019-02-26T07:10:27Z</dc:date>
    <item>
      <title>I am getting error while connecting to Chrome website through PSM "PSMSR16E Failed to open process (process id: 6287720).</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366925#M54494</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#AutoIt3Wrapper_UseX64=n&lt;/P&gt;&lt;P&gt;#include &amp;lt;BlockInputEx.au3&amp;gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;IE.au3&amp;gt;&lt;/P&gt;&lt;P&gt;#Include &amp;lt;Array.au3&amp;gt;&lt;/P&gt;&lt;P&gt;#Include &amp;lt;Chrome.au3&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Opt("MustDeclareVars", 1)&lt;/P&gt;&lt;P&gt;AutoItSetOption("WinTitleMatchMode", 3) ; EXACT_MATCH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;============================================================&lt;/P&gt;&lt;P&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PSM AutoIt Dispatcher Skeleton&lt;/P&gt;&lt;P&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;------------------------------&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;; Use this skeleton to create your own&lt;/P&gt;&lt;P&gt;; connection components integrated with the PSM.&lt;/P&gt;&lt;P&gt;; Areas you may want to modify are marked&lt;/P&gt;&lt;P&gt;; with the string "CHANGE_ME".&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;; Created : April 2013&lt;/P&gt;&lt;P&gt;; Cyber-Ark Software Ltd.&lt;/P&gt;&lt;P&gt;;============================================================&lt;/P&gt;&lt;P&gt;#include "PSMGenericClientWrapper.au3"&lt;/P&gt;&lt;P&gt;#include &amp;lt;IE.au3&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;; Consts &amp;amp; Globals&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;Global Const $DISPATCHER_NAME									&amp;nbsp;&amp;nbsp;= "PSMPolicyBuilderWebDispatcher" ; CHANGE_ME&lt;/P&gt;&lt;P&gt;Global Const $CLIENT_EXECUTABLE									= "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ; CHANGE_ME&lt;/P&gt;&lt;P&gt;Global Const $ERROR_MESSAGE_TITLE&amp;nbsp;								= "PSM " &amp;amp; $DISPATCHER_NAME &amp;amp; " Dispatcher error message"&lt;/P&gt;&lt;P&gt;Global Const $LOG_MESSAGE_PREFIX 								= $DISPATCHER_NAME &amp;amp; " Dispatcher - "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global $TargetUsername&lt;/P&gt;&lt;P&gt;Global $TargetPassword&lt;/P&gt;&lt;P&gt;Global $TargetAddress&lt;/P&gt;&lt;P&gt;Global $ConnectionClientPID = 0&lt;/P&gt;&lt;P&gt;Global $oIE&lt;/P&gt;&lt;P&gt;Global $ochrome&lt;/P&gt;&lt;P&gt;Global $oChrome2&lt;/P&gt;&lt;P&gt;Global $oChrome3&lt;/P&gt;&lt;P&gt;Global $oForm&lt;/P&gt;&lt;P&gt;Global $oSubmit&lt;/P&gt;&lt;P&gt;Global $oUsername_3&lt;/P&gt;&lt;P&gt;Global $oPassword_3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;; Code&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;Exit Main()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;; Main&lt;/P&gt;&lt;P&gt;;=======================================&lt;/P&gt;&lt;P&gt;Func Main()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; Init PSM Dispatcher utils wrapper&lt;/P&gt;&lt;P&gt;	ToolTip ("Initializing...")&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_Init() &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	LogWrite("successfully initialized Dispatcher Utils Wrapper")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; Get the dispatcher parameters&lt;/P&gt;&lt;P&gt;	FetchSessionProperties()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	LogWrite("mapping local drives")&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_MapTSDrives() &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	LogWrite("starting client application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	ToolTip ("Starting " &amp;amp; $DISPATCHER_NAME &amp;amp; "...")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;		 ;_ChromeStartup($TargetAddress)			; commented by Aniket&lt;/P&gt;&lt;P&gt;		;$ConnectionClientPID=wingetprocess("")		; commented by Aniket&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; added by aniket&lt;/P&gt;&lt;P&gt;		Local $oChrome = _ChromeStartup($TargetAddress)			;added by Aniket&lt;/P&gt;&lt;P&gt;		_ChromeDocWaitForReadyStateCompleted()			;added by Aniket&lt;/P&gt;&lt;P&gt;		Sleep(500)			&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;;added by Aniket&lt;/P&gt;&lt;P&gt;		$ConnectionClientPID=WinGetProcess(_ChromeDocGetTitle(2))				;added by Aniket&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	if ($ConnectionClientPID == 0) Then&lt;/P&gt;&lt;P&gt;		Error(StringFormat("Failed to execute process [%s]", $CLIENT_EXECUTABLE, @error))&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	 ;Send PID to PSM as early as possible so recording/monitoring can begin&lt;/P&gt;&lt;P&gt;	LogWrite("sending PID to PSM")&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_SendPID($ConnectionClientPID) &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;;till here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;For handling SSL Certificate Error If Any&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;;-------------------------------------&lt;/P&gt;&lt;P&gt;	Local $sText = _IEBodyReadHTML($oIE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;;--------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;if&amp;nbsp;StringRegExp($sText,"There is a problem with this website's security certificate.") = 1 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;_IELinkClickByText($oIE, "Continue to this website (not recommended).")&lt;/P&gt;&lt;P&gt;	tooltip("Continue to untrusted website")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;WinExists("Certificate Error: Navigation Blocked - Windows Internet Explorer") Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;_IELinkClickByText($oIE, "Continue to this website (not recommended).")&lt;/P&gt;&lt;P&gt;	tooltip("Continue to untrusted website by wintitle")&lt;/P&gt;&lt;P&gt;&amp;nbsp;EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; ------------------&lt;/P&gt;&lt;P&gt;	; Handle login here! ; CHANGE_ME&lt;/P&gt;&lt;P&gt;	; ------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;--------------------------------------&lt;/P&gt;&lt;P&gt;_BlockInputEx(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;tooltip("Opening CMS_Samsung WebPage. It May Take Time Pleae Wait")&lt;/P&gt;&lt;P&gt;	_BlockInputEx(0);&lt;/P&gt;&lt;P&gt;	sleep(5000)&lt;/P&gt;&lt;P&gt;	_BlockInputEx(0);&lt;/P&gt;&lt;P&gt;	 WinWaitActive("CCM [[2405] - Google Chrome")&amp;nbsp;&lt;/P&gt;&lt;P&gt;	 sleep(5000)&lt;/P&gt;&lt;P&gt;	 Send($TargetUsername)&lt;/P&gt;&lt;P&gt;	 Send("{TAB}")&lt;/P&gt;&lt;P&gt;	 sleep(1000)&lt;/P&gt;&lt;P&gt;	 Send($TargetPassword,1)&lt;/P&gt;&lt;P&gt;	 Send("{Enter}")&lt;/P&gt;&lt;P&gt;	_BlockInputEx(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_BlockInputEx(0);&lt;/P&gt;&lt;P&gt;	; Terminate PSM Dispatcher utils wrapper&lt;/P&gt;&lt;P&gt;	;LogWrite("Terminating Dispatcher Utils Wrapper")&lt;/P&gt;&lt;P&gt;	;PSMGenericClient_Term()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	Return $PSM_ERROR_SUCCESS&lt;/P&gt;&lt;P&gt;EndFunc&lt;/P&gt;&lt;P&gt;_BlockInputEx(0);&lt;/P&gt;&lt;P&gt;;==================================&lt;/P&gt;&lt;P&gt;; Functions&lt;/P&gt;&lt;P&gt;;==================================&lt;/P&gt;&lt;P&gt;; #FUNCTION# ====================================================================================================================&lt;/P&gt;&lt;P&gt;; Name...........: Error&lt;/P&gt;&lt;P&gt;; Description ...: An exception handler - displays an error message and terminates the dispatcher&lt;/P&gt;&lt;P&gt;; Parameters ....: $ErrorMessage - Error message to display&lt;/P&gt;&lt;P&gt;; 				&amp;nbsp;&amp;nbsp;$Code 		 - [Optional] Exit error code&lt;/P&gt;&lt;P&gt;; ===============================================================================================================================&lt;/P&gt;&lt;P&gt;Func Error($ErrorMessage, $Code = -1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; If the dispatcher utils DLL was already initialized, write an error log message and terminate the wrapper&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_IsInitialized()) Then&lt;/P&gt;&lt;P&gt;		LogWrite($ErrorMessage, True)&lt;/P&gt;&lt;P&gt;		PSMGenericClient_Term()&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	Local $MessageFlags = BitOr(0, 16, 262144) ; 0=OK button, 16=Stop-sign icon, 262144=MsgBox has top-most attribute set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	MsgBox($MessageFlags, $ERROR_MESSAGE_TITLE, $ErrorMessage)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; If the connection component was already invoked, terminate it&lt;/P&gt;&lt;P&gt;	if ($ConnectionClientPID &amp;lt;&amp;gt; 0) Then&lt;/P&gt;&lt;P&gt;		ProcessClose($ConnectionClientPID)&lt;/P&gt;&lt;P&gt;		$ConnectionClientPID = 0&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	Exit $Code&lt;/P&gt;&lt;P&gt;EndFunc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; #FUNCTION# ====================================================================================================================&lt;/P&gt;&lt;P&gt;; Name...........: LogWrite&lt;/P&gt;&lt;P&gt;; Description ...: Write a PSMWinSCPDispatcher log message to standard PSM log file&lt;/P&gt;&lt;P&gt;; Parameters ....: $sMessage - [IN] The message to write&lt;/P&gt;&lt;P&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$LogLevel - [Optional] [IN] Defined if the message should be handled as an error message or as a trace messge&lt;/P&gt;&lt;P&gt;; Return values .: $PSM_ERROR_SUCCESS - Success, otherwise error - Use PSMGenericClient_PSMGetLastErrorString for details.&lt;/P&gt;&lt;P&gt;; ===============================================================================================================================&lt;/P&gt;&lt;P&gt;Func LogWrite($sMessage, $LogLevel = $LOG_LEVEL_TRACE)&lt;/P&gt;&lt;P&gt;	Return PSMGenericClient_LogWrite($LOG_MESSAGE_PREFIX &amp;amp; $sMessage, $LogLevel)&lt;/P&gt;&lt;P&gt;EndFunc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; #FUNCTION# ====================================================================================================================&lt;/P&gt;&lt;P&gt;; Name...........: PSMGenericClient_GetSessionProperty&lt;/P&gt;&lt;P&gt;; Description ...: Fetches properties required for the session&lt;/P&gt;&lt;P&gt;; Parameters ....: None&lt;/P&gt;&lt;P&gt;; Return values .: None&lt;/P&gt;&lt;P&gt;; ===============================================================================================================================&lt;/P&gt;&lt;P&gt;Func FetchSessionProperties() ; CHANGE_ME&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_GetSessionProperty("Username", $TargetUsername) &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_GetSessionProperty("Password", $TargetPassword) &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	if (PSMGenericClient_GetSessionProperty("Address", $TargetAddress) &amp;lt;&amp;gt; $PSM_ERROR_SUCCESS) Then&lt;/P&gt;&lt;P&gt;		Error(PSMGenericClient_PSMGetLastErrorString())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EndFunc&lt;/P&gt;&lt;P&gt;_BlockInputEx(0);&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 06:00:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366925#M54494</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-02-26T06:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while connecting to Chrome website through PSM "PSMSR16E Failed to open process (process id: 6287720).</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366926#M54495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please use CyberArk Chrome connection components . &lt;/P&gt;&lt;P&gt;If you use "send" parameters to send username and password for any dispatcher then it will type password in clear text which will be audit issue.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 07:10:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366926#M54495</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-02-26T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while connecting to Chrome website through PSM "PSMSR16E Failed to open process (process id: 6287720).</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366927#M54496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please use CyberArk Chrome connection components . &lt;/P&gt;&lt;P&gt;If you use "send" parameters to send username and password for any dispatcher then it will type password in clear text which will be audit issue.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 07:10:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-am-getting-error-while-connecting-to-chrome-website-through/m-p/1366927#M54496</guid>
      <dc:creator>AjayRaut</dc:creator>
      <dc:date>2019-02-26T07:10:27Z</dc:date>
    </item>
  </channel>
</rss>

