PSM - Chrome based connection components receive "Failed to initialize web browser" error.

PSM - Chrome based connection components receive "Failed to initialize web browser" error.

417
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:05 PM


Symptom


Chrome based PSM connection components receive a popup window stating the following:
Failed to initialize web browser, The selected browser was not found. Validate that the browser is installed, excluded for the hardening and the parameter 'BrowserPath' is configured correctly.

he following error may be seen in PSM component logs:
PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator Reapplying PSM AppLocker rules using the PSMConfigureAppLocker.ps1 script corrects the error but connection component fails again after a few days.


Environment


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


Cause


Default AppLocker rules in the PSMConfigureAppLocker.xml file specify hash rule condition on the Chrome.exe executable.  This executable is updated often by the Google update task, causing the hash to change.  File hashes in AppLocker are only calculated at the time the rule is applied and do not update periodically.  Over time, the hash stored in AppLocker will no longer apply and the Chrome based connection component will be unable to execute.

Resolution


Change AppLocker rule condition from "Hash" to "Publisher" using the following steps:
  1. On the PSM server, go to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening" directory and open the PSMConfigureAppLocker.xml file for editing.
  2. Change the value of Method on the line containing the path to "chrome.exe" to the following: Method="Publisher"
  3. Save and close the file.
  4. Open an elevated PowerShell prompt and change the directory to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening".
  5. Run the following command: PSMConfigureAppLocker.ps1
  6. If AppLocker rules were applied successfully, attempt the PSM connection again.
** If 64bit browser is installed, the directory should be the 64 bit directory: \Program Files\XXX **


Additional Information


Details

SYMPTOM:
 
Chrome based PSM connection components receive a popup window stating the following:
 
Failed to initialize web browser, The selected browser was not found.
 
Validate that the browser is installed, excluded for the hardening and the parameter 'BrowserPath' is configured correctly.
 
The following error may be seen in PSM component logs:
 
PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator
 
Reapplying PSM AppLocker rules using the PSMConfigureAppLocker.ps1 script corrects the error but connection component fails again after a few days.
 
PROBLEM:
 
Default AppLocker rules in the PSMConfigureAppLocker.xml file specify hash rule condition on the Chrome.exe executable.  This executable is updated often by the Google update task, causing the hash to change.  File hashes in AppLocker are only calculated at the time the rule is applied and do not update periodically.  Over time, the hash stored in AppLocker will no longer apply and the Chrome based connection component will be unable to execute.
 
SOLUTION:
 
Change AppLocker rule condition from "Hash" to "Publisher" using the following steps:
  1. On the PSM server, go to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening" directory and open the PSMConfigureAppLocker.xml file for editing.
  2. Change the value of Method on the line containing the path to "chrome.exe" to the following:
    • Method="Publisher"
  3. Save and close the file.
  4. Open an elevated PowerShell prompt and change directory to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening".
  5. Run the following command:
    • PSMConfigureAppLocker.ps1
  6. If AppLocker rules were applied successfully, attempt the PSM connection again.



Actions
  • Print
  • Copy Link

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