Issue:
When attempting to view webpages in Chrome users are constantly prompted with the "Install Silverlight" screen.
Product:
EEM 4.0 R2, EEM 5.0
Struxureware Power Monitoring 7.0.x
Power Monitoring Expert 7.2.x
Power Monitoring Expert 8.0
Environment:
Chrome 42.x
EEM 4.0 R2, EEM 5.0
Struxureware Power Monitoring 7.0.x
Power Monitoring Expert 7.2.x
Power Monitoring Expert 8.0
Cause:
With the release of Chrome 42 (released Apr 14/15) Silverlight is moving closer to becoming unsupported. Chrome 42 disables by default the NPAPI API on which Silverlight runs in the browser, requiring users to re-enable the API if they wish to use Silverlight content in Chrome. It's expected that support for NPAPI will be removed in a future version of Chrome altogether.
The update for Chrome 42 is an automatic process. The patch is automatically download and applied with the next close/open of Chrome after April 15.
After the update, Silverlight will not function at all (by default).
Resolution:
*Warning: This article contains information about editing the registry. Improper changes to the registry can permanently damage the operating system. Always backup the registry before making any changes.*
The following registry key needs to be inserted or changed as follows:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\EnabledPlugins] "1"="java"
This can be accomplished in several ways.
Method 1:
-
In Chrome, enter the following in the navigation bar: chrome://flags/#enable-npapi
-
Look for the following entry: Enable NPAPI Mac, Windows (Enables the use of NPAPI plugins. #enable-npapi) (should be highlighted at the top)
-
Click "Enable"
-
A toolbar at the bottom of the page will ask to re-launch the browser.
-
Once this re-launch occurs, all will work as before (but the user must re-install Silverlight)
Method 2:
Using Command Prompt cmd.exe
(as administrator) execute the following command:reg add HKLM\software\policies\google\chrome\EnabledPlugins /v 1 /t REG_SZ /d java
Method 3:
regedit.exe
(as administrator)Navigate the registry, creating the keys as necessary. Inside EnabledPlugins
, create a new REG_SZ
value with name 1
and value java
.
*NOTE: Also by using typical enterprise policy tools an administrator could insert this registry key into all the machines on a domain.