Article ID: 240797 - Last Review: August 19, 2011 - Revision: 15.1 How to stop an ActiveX control from running in Internet Explorer
This article was previously published under Q240797 SUMMARY This article describes how to stop an ActiveX control from
running in Microsoft Internet Explorer and in Windows Internet Explorer. You can do this by modifying the data value of
the Compatibility Flags DWORD value for the Class identifier (CLSID) of the
ActiveX control. Note For Microsoft Windows XP-based and Windows Server 2003-based computers, administrators can use Software restriction policies to prevent an ActiveX control from running in any programs on computers in an Active Directory domain environment. For more information about software restriction policies, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/library/bb457006.aspx
(http://technet.microsoft.com/en-us/library/bb457006.aspx)
MORE INFORMATIONImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows Warning Microsoft does not recommend unkilling (undoing the kill action on) an ActiveX control. If you do so, you may create security vulnerabilities. The kill bit is typically set for a reason that may be critical, and because of this, extreme care must be used when you unkill an ActiveX control. Also, because the following procedure is highly technical, do not continue unless you a very comfortable with the procedure and you it is a good idea to read the whole procedure before you start. The CLSID for an ActiveX control is a 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 when default settings are used. The kill bit is a specific value for the Compatibility Flags DWORD value for the ActiveX control in the registry. This is different from 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 unless the Initialize and script ActiveX controls not marked as safe option is enabled in Internet Explorer. To set the kill bit, follow these steps:
{ABCDEF12-ABCD-ABCD-ABCD-ABCDEF123456} For example:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {CLSID of killed ActiveX control}, Compatibility Flags, 0x0400
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {CLSID of killed ActiveX control}, AlternateCLSID, "{CLSID of alternate ActiveX control}" Note For the AlternateCLSID value to be effective, the killbit must be set on the initial CLSID. ActiveX control developers can use the TreatAs or
AlternateCLSID registry values with the "kill bit" to have Internet Explorer
check to see if an updated ActiveX control has been provided for use instead of
a disabled ActiveX control. For information about how to use the TreatAs value,
visit the following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/ms679737.aspx
(http://msdn2.microsoft.com/en-us/library/ms679737.aspx)
To set the AlternateCLSID value, follow these steps:
The AlternateCLSID value is supported on the following versions of Internet Explorer.
164539
(http://support.microsoft.com/kb/164539/
)
How
to determine which version of Internet Explorer is installed
For more information about the kill bit for ActiveX controls, see the following Microsoft Security Vulnerability Research & Defense Blog posts: The Kill-Bit FAQ: Part 1 of 3 http://blogs.technet.com/srd/archive/2008/02/06/The-Kill_2D00_Bit-FAQ_3A00_-Part-1-of-3.aspx (http://blogs.technet.com/srd/archive/2008/02/06/The-Kill_2D00_Bit-FAQ_3A00_-Part-1-of-3.aspx) The Kill-Bit FAQ: Part 2 of 3 http://blogs.technet.com/srd/archive/2008/02/07/The-Kill_2D00_Bit-FAQ_3A00_-Post-2-of-3.aspx (http://blogs.technet.com/srd/archive/2008/02/07/The-Kill_2D00_Bit-FAQ_3A00_-Post-2-of-3.aspx) The Kill-Bit FAQ: Part 3 of 3 http://blogs.technet.com/srd/archive/2008/02/08/The-Kill_2D00_Bit-FAQ_3A00_-Part-3-of-3.aspx (http://blogs.technet.com/srd/archive/2008/02/08/The-Kill_2D00_Bit-FAQ_3A00_-Part-3-of-3.aspx) Information for application vendors
Application vendors that have security issues with an ActiveX control that they own may request that Microsoft issue a kill bit to prevent their ActiveX control from running in Internet Explorer. Approved requests will be processed in a future Update Rollup for ActiveX Kill Bits Security Advisory. Microsoft will issue a kill bit only for ActiveX controls that are found to have a vulnerability, and only if the owning independent software vendor (ISV) has already produced an updated version of their ActiveX control. ISVs that have vulnerable ActiveX controls can e-mail requests to msvr@microsoft.com together with answers to the following questions:
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top