none
IE11 is blocking execution of htc files when set to Deny all add-ons unless specifically allowed in the Add-on List policy is set RRS feed

  • Question

  • hi gents.
    I am struggling with a strange problem I have. I maintain an older web app where .htc files are used to provide almost all functionality (https://msdn.microsoft.com/en-us/library/ms532146(v=vs.85).aspx).

    the problem I have is, that once I enable this Deny all add-ons unless specifically allowed... policy, I cant get my web page run .htc files.
    I suppose I should enable as second step some COM objects via their GUIDs in the Add-on List in the first row but I tried to add all plugins on my machine I have, without any luck.

    this is what I see in my Local Group Policy Editor setting

    I suppose that I should enable Deny all add-ons and I should enable some that will let me run the htc files.

    I made a simple demo to test if htc files will be executed here (if you don't have one) : https://github.com/rostacik/htciesample

    thanks in advance


    Friday, May 4, 2018 11:43 AM

All replies

  • Hi,

    Which IE security zone is your 'website' in? (File>Property menu)

    What protocol is it using? file://?

    or

    Are you using a localhost (maps by default to the Internet zone)

    IE wont let hta.exe launch hta files in the Internet zone.

    Regards.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.


    Rob^_^

    Sunday, May 6, 2018 9:01 PM
  • hello sir.

    thank for your reply. I copied over my sample files to my local c:\inetpub\wwwroot\ and used my IIS on my W10 machine.

    if I run my sample from localhost, I see this:

    If I use this nodeJS npm package - https://www.npmjs.com/package/http-server , because I am just serving .html file and .htc file, I get this:

    the original problematic app shows me via File > Properties, that it also runs in Zone : Local intranet, so no Internet zone for me :(

    With "hta files" you mean "htc files" ?

    br,
    dusan

    Monday, May 14, 2018 1:22 PM
  • Hi,

    f12>Console tab, will show you which IE emulation mode you are using... and how it was established.

    htc behaviours aren't supported in Edge/IE11 emulation mode,

    To migrate legacy intranet applications (that have dependencies for ms  DHTML features like behaviours (htc)) you deploy Enterprise Mode Site lists of hosts, and assign a lower IE emulation mode/version.

    eg. If you are migrating from an XP/IE8 environment, you would use EMSL to assign an IE8/(also called Enterprise Mode in the EMSLM) emulation to that host/domain.

    You should set up your test/dev environment to map your test/dev host to the IE Intranet zone, and ensure that your client machine is using the Enterprise Site Mode lists, that has your test and production hosts listed in it.

    type

    about:compat in IE11 to list your hosts compatibility lists.

    see https://docs.microsoft.com/en-us/internet-explorer/ie11-deploy-guide/turn-on-enterprise-mode-and-use-a-site-list

    regards.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.


    Rob^_^

    Tuesday, May 15, 2018 11:44 PM