Internet Explorer Tweaks - Restrict ActiveX Applets in Internet Explorer

The CLSID for an ActiveX control is a globally unique identifier (GUID) for that control. You can prevent an ActiveX control from running in Internet Explorer by setting the "kill bit" so that the control is never called by Internet Explorer. The "kill bit" is a specific value for the Compatibility Flags DWORD value for the ActiveX control in the registry.

Note that this is different than revoking the "safe for scripting" option in an ActiveX control. When the "safe for scripting" option is revoked, Internet Explorer still calls for the control and then prompts you with a warning message that the ActiveX control may be unsafe. Depending on the choice you make, the control may be run. However, after the "kill bit" is set for an ActiveX control, that control is not called by Internet Explorer at all. To set the "kill bit" so that an ActiveX control is never called by Internet Explorer:

  1. Determine the CLSID for the ActiveX control that you want to disable. If you are not sure of the CLSID for the control, contact the manufacturer. If the control is installed, you may be able to determine its CLSID if you know its friendly name. To do this, examine the Default string value for the ProgID key for each of the CLSID keys in HKEY_CLASSES_ROOT\CLSID. You may need to remove as many ActiveX controls as possible, except for the one that you want to disable, in order to make it easier to identify the appropriate CLSID. For additional information about how to remove ActiveX controls, click the article number below to view the article in the Microsoft Knowledge Base:
     
  2. Use Registry Editor to view the data value of the Compatibility Flags DWORD value of the ActiveX object CLSID in the following registry key:
     
  3. Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\CLSID of the ActiveX control  (see picture 1).

    where CLSID of the ActiveX Control is the class identifier of the appropriate ActiveX control.

    Picture 1
  4. Change the value of the Compatibility Flags DWORD value to 0x400 (in hex) or 1024 (in decimal).
     
  5. The modifications you made will be in effect after you restart the Internet Explorer.

 


Author:

Lex van der Horst

Date Added:

06-11-2004

Last Reviewed:

06-11-2004