Add sites to Internet Explorer Trusted sites lists RRS feed

  • Question

  • Hello all,

    I'm trying to add a site programmatically to IE trusted sites list. Now the problem is that the Trusted sites settings have a checked option REQUIRE SERVER VERIFICATION as shown in the file attached. If that option isn't checked then there's no problem in adding the sites. I have done it already. So can I override that checked option through programming. I am using C# for development.

    With Best Regards Dipayan Sukul

    Saturday, March 9, 2013 7:46 AM


  • Hi,

    For IE 9, this setting is stored in the following registry key. You can check/uncheck that option using a GPO using the following key:
    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2\Flags

    A decimal value of 71 is checked.
    A decimal value of 67 is unchecked.

    If you want to accomplish this via C#,I suggest posting a new question in the Visual C# for further discussion.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Tracy Cai
    TechNet Community Support

    Monday, March 11, 2013 5:44 AM