Javascript error when using HTML Remote Control

Version 2

    Verified Product Versions

    LANDESK Management Suite 9.6

    Description:

    This document applies to Windows Server operating systems with Internet Explorer Enhanced Security Configuration enabled.

    Internet Explorer Enhanced Security Configuration is enabled by default on Windows Server operating systems.  IE ESC blocks javascript and activex controls by default and HTML Remote Control relies on Java.  With IE ESC enabled, the below error message is seen when trying to HTML Remote Control a client.


    Error seen: JavaScript must be enabled to use this application.

     

    Cause:

     

    Under IE ESC, all web sites are automatically included in the Internet Zone and automatic detection of intranet sites is disabled.  ActiveX controls and scripts (including JavaScript) cannot be used from any Internet site.  

     

    Resolution:

     

    Disabling IE ESC would prevent this issue from occurring.  However, Microsoft cautions that doing so could compromise the security of your server. If you decide to disable IE ESC, use the following powershell script:


    function Disable-IEESC

    {

    $AdminKey = “HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}”

    $UserKey = “HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}”

    Set-ItemProperty -Path $AdminKey -Name “IsInstalled” -Value 0

    Set-ItemProperty -Path $UserKey -Name “IsInstalled” -Value 0

    Stop-Process -Name Explorer

    Write-Host “IE Enhanced Security Configuration (ESC) has been disabled.” -ForegroundColor Green

    }

    Disable-IEESC


    If you paste this script directly into a PS prompt you will need to press enter twice.


    A more secure option is to add the computer’s IP, or your entire subnet, to the Trusted Sites list. 

    1. Open Internet Explorer -> Internet Options -> Security tab.  Select the Trusted Sites zone and click the Sites button.

    Trusted Sites.png

    2. If your browser was open to HTML Remote Control initially, then the url for the remote computer is already listed.

    Trusted Sites 1.pngTrusted Sites 2.png

    You can add it as listed, or you can use the * wildcard to include your whole subnet or a portion thereof, whatever is more convenient for you.


    3. Click Add -> Close.  Close the Internet Options window as well. 


    You can now refresh the page, or initiate a new instance of HTML Remote Control successfully.

    Trusted Sites 3.png