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

  • CTX137222
  • Created onMar 26, 2014
  • Updated onJul 15, 2014
Article Topic Performance

Symptoms or Error

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 a high number of Desktop Groups created.


From, upgrading to Internet Explorer 9.0 or higher must lessen the issue. 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 time-out value in Internet Explorer 4.0, 5.0, 6, 7, or 8:

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

  1. Using a Registry Editor such as Regedt32.exe, opens the following key:

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles

    Note: If the Styles key is not present, create a new key.

  2. Create a new DWORD value MaxScriptStatements under the preceding key and set the value to the desired number of script statements.

    If you are not aware of the desired value, set DWORD value to 0xFFFFFFFF to completely avoid the message.

Problem Cause

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.


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.

Applicable Products

Automatic translation

Important: This article was translated by an automatic translation system (also referred to as Machine Translation, or MT) and has not been translated or reviewed by people. Citrix offers a machine translated version of this article to allow for greater access to the support content. However, automatic translation is not always perfect and may contain errors of vocabulary, syntax or grammar. Citrix is not responsible for inconsistencies, errors or damage incurred as a result of the use of MT articles from our customers.Thank you.
Click here to see the English version of this article.
Was this helpful?
Thank you for your feedback

Share your comments or find out more about this topic

Citrix Forums