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:
- On the PSM server, go to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening" directory and open the PSMConfigureAppLocker.xml file for editing.
- Change the value of Method on the line containing the path to "chrome.exe" to the following: Method="Publisher"
- Save and close the file.
- Open an elevated PowerShell prompt and change the directory to "{Drive}:\Program Files (x86)\CyberArk\PSM\Hardening".
- Run the following command: PSMConfigureAppLocker.ps1
- If AppLocker rules were applied successfully, attempt the PSM connection again.
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:
|