I am working on IE BHO toolbar. When I install it for IE 8, it works fine. In case of IE 9, It pops up an info bar asking if to enable it. I know what settings to change in group policy manually. I just do not know how to do it in programming.
Changes to make are in Group Policy:
Location : User Config > Administrative Template > Windows Components > IE > Security Features > Add-on Management
Modifications:
- Set Add-on list to enabled
- Add an entry in Add-on list
Are there any straight forward APIs to do this job?
I am primarily looking for C++ APIs but I am fine with C# / WMI based approach too.
Exists a couple of ways to handle the Windows Group Policies
1) You can use the Group Policy API which has a set of interfaces to access from C++.
2) Using the RSoP WMI Classes
3) Locating the windows registry key where the Group Policy are stored using the
Group Policy Settings Reference for Windows and Windows Server