A user who does not have administrative credentials cannot install an ActiveX control when the CoGetClassObjectFromURL function is used on a Windows Vista-based computer, even if ActiveX Installer Service is enabled
This article has been archived. It is offered "as is" and will no longer be updated.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Consider the following scenario. You develop an application that calls the CoGetClassObjectFromURL function to install an ActiveX control. On a Windows Vista-based computer that has ActiveX Installer Service enabled, a user who has the typical user rights and the typical permissions runs the application. In this scenario, you expect that the user can install an ActiveX control. However, the user is prompted to enter administrative credentials when the user tries to install an ActiveX control. Therefore, a user who does not have administrative credentials cannot install an ActiveX control.
Service pack information
To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
You can also resolve this problem by installing the following security update:
942615 MS07-069: Cumulative security update for Internet Explorer
After you install the security update, you must modify the registry as follows.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Click Start, type regedit in the Start Search box, and then press ENTER.
Locate the following registry subkey, and then click the following registry subkey:
On the Edit menu, point to New, and then click Key.
Type FEATURE_WEBOC_AXIS_SUPPORT_KB942198, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type *, and then press ENTER.
On the Edit menu, click Modify.
Type 1, and then click OK.
Exit Registry Editor.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
The ActiveX Installer Service (AxIS) is an optional component in Windows Vista. Administrators can use this component together with Group Policy to determine which ActiveX controls users who do not have administrative credentials can install.
For more information about the ActiveX Installer Service in Windows Vista, visit the following Microsoft Web site: