JavaScript may not run in Internet Explorer after you enable the "Deny all add-ons unless specifically allowed in the Add-on List" policy setting on a Windows XP SP2-based computer (915729)



The information in this article applies to:

  • Microsoft Windows XP Service Pack 2, when used with:
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Home Edition

Important This article contains information about how to modify the registry. Make sure to 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:

256986 Description of the Microsoft Windows registry

SYMPTOMS

When you try to run an add-in program that uses JavaScript in Microsoft Internet Explorer 6 after you enable the Deny all add-ons unless specifically allowed in the Add-on List policy setting on a Microsoft Windows XP Service Pack 2 (SP2)-based computer, JavaScript may not run in Internet Explorer.

CAUSE

This issue occurs because the Deny all add-ons unless specifically allowed in the Add-on List policy setting prevents JavaScript from running in add-in programs in Internet Explorer.

WORKAROUND

To work around this issue, enable the Add-on List policy setting and add CLSID registry subkeys to the Add-on List policy setting. These changes will enable both JavaScript and VBScript. To do this, follow these steps.

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 your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
  1. Click Start, click Run, type gpedit.msc, and then click OK.
  2. Under Computer Configuration, expand Administrative Templates.
  3. Expand Windows Components, expand Internet Explorer, expand Security Features, and then click Add-on Management.
  4. In the right pane, double-click Add-on List.
  5. Click Enabled, and then click Show.
  6. In the Show Contents dialog box, click Add.
  7. In the Enter the name of the item to be added box, type JavaScript.
  8. In the Enter the value of the item to be added box, type {F414C260-6AC0-11CF-B6D1-00AA00BBBB58}, and then click OK.
  9. In the Show Contents dialog box, click Add.
  10. In the Enter the name of the item to be added box, type VBScript.
  11. In the Enter the value of the item to be added box, type {B54F3741-5B07-11cf-A4B0-00AA004A55E8}, and then click OK.
  12. Click OK two more times.
  13. Exit Group Policy.

MORE INFORMATION

Internet Explorer supports the following type of add-ins:
  • Browser Helper objects
  • ActiveX controls
  • Toolbar extensions
  • Browser extensions
For more information about how to manage Internet Explorer add-ons in Windows XP Service Pack 2, click the following article number to view the article in the Microsoft Knowledge Base:

883256 How to manage Internet Explorer add-ons in Windows XP Service Pack 2

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MinorLast Reviewed:5/15/2006
Keywords:kbtshoot KB915729 kbAudEndUser kbAudITPRO