A script on this page is causing your web browser to run slowly

In Desktop Director, the following message is displayed in Internet Explorer: “Stop running this script? A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive.” Note: This can occur when you have an unusually high number of Desktop Groups created.


When running scripts in Internet Explorer, the default threshold limit for the time-out dialog box (containing the message under Symptom) is 5,000,000 script statements for Internet Explorer 4 and later.


From http://support.microsoft.com/kb/175500, upgrading to Internet Explorer 9.0 or higher should alleviate the issue. However, if you cannot upgrade and want to either increase the time-out value or suppress the message completely, use the following instructions.

Complete the following steps to change this time-out value in Internet Explorer 4.0, 5.0, 6, 7, or 8:

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

  • Using a Registry Editor such as Regedt32.exe, open the following key:
HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerStyles
Note: If the Styles key is not present, create a new key.
  • Create a new DWORD value MaxScriptStatements under this key and set the value to the desired number of script statements. If you are unsure of what value you require to set this to, you can set it to a DWORD value of 0xFFFFFFFF to completely avoid the message.

More Information



Link to the original Citrix KB article.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.