Silently install the Okta Browser Plugin: Internet Explorer
You have several installation options when installing the Okta browser plugin 5.x for IE. The following chart may help you choose the best options for your environment.
|Installation options||Requires end user interaction?||'Choose Add-ons' button appears?||Number of browser restarts|
|Classic with white-listing||Yes||No||1|
|Silent mode without white-listing||
|Silent mode with white-listing||No||No||1|
This procedure has two parts: A. Enable silent mode and B. Configure white-listing.
Steps are as follows:
A. Enable Silent Mode
- From the Admin Dashboard, go to Settings > Downloads and download the .msi or .exe version of the plugin for Internet Explorer.
- To run the installer in silent mode on Internet Explorer (IE), use the following command line parameters,
x.x.xis the version number of the installer.
If you are installing the plugin in silent mode on Internet Explorer 10 or later, you must whitelist your installations (Part B) so that user interaction is not required.
If you run either installer as a local administrator in the user space, then the next time end users open the browser, they are prompted to enable add-ons. After installation, a browser launches and the user is prompted to click Choose add-ons.
If you do not run the installer as a local administrator in the user space and the user has Internet Explorer open, the installer fails to close the browser and the installation fails.
- Use the following batch file to force all running instances of Internet Explorer on the machine to close and then run the silent installation of the browser plugin:
- Configure whitelisting as described in Part B.
c:\windows\system32\Taskkill /IM iexplore.exe /F
c:\windows\system32\msiexec.exe /i %LMI_PACKAGEROOT%\okta.swa.ie-x.x.x.msi /q
This can be especially helpful if you are using LogMeIn without administrator rights to install the plugin. If you attempt to use the commands natively instead of using the batch file, the Taskkill returns a 123 and causes LogMeIn to abort.
If you're installing in silent mode on Windows 7, users are prompted to restart their browsers.
B. Configure white-listing
Configure white-listing to suppress the appearance of the Choose add-ons button during the plugin installation so that end users cannot interfere with the installation.
For a Windows OS, Internet Explorer uses a CLSID (class identifier) to set the whitelisting policy. To set this policy on your system, do the following:
- Close IE if it is running.
- Open the Local Group Policy Editor.
- Go to Start, type
gpedit.mscin the search field, and then click Edit Group Policy.
- Navigate to the appropriate path for your version of IE:
User Configuration > Administrative Templates > Windows Components > Internet Explorer > Security Features > Add-on Management > Add-on List
Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Security Features > Add-on Management > Add-on List
- Double-click Add-on List.
- Click Show... under Options.
- In the Show Contents window, add the following Class IDs under Value Name (including the brackets):
OktaBHO Class is Class ID:
OktaIeHelper Class is Class ID:
Note: Add OktaIeHelper Class ID only if you are running Okta plugin version 5.3.2 or earlier.
Okta Toolbar Extension is Class ID:
The BHO (browser helper object) is an IE plugin module that provides added functionality to the browser. OktaBHO is a custom BHO from Okta. OktaIeHelper and Okta Toolbar Extension are other types of BHO, and are also customized by Okta.
- In the Value column, enter 1.
- Deploy this policy to your target machines.
Now users are not prompted to enable or disable the plugin installation process during silent installation.