How to Continue Running Script on a Slow IE Error

Written by mike benson
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Continue Running Script on a Slow IE Error
Continue running a slow script without interruption. (Internet image by arabesque from

Since Internet Explorer version 4 and above, Microsoft has added a timer that detects the processing time of a running script in a webpage. By default, once the timer detects the script will take longer than the default threshold, a dialogue box will prompt you and ask if you wish to continue. If you are working with a large amount of files on a database through an ActiveX control script, this could interrupt the process. Fortunately, you can disable the threshold for the script timer to prevent the dialogue warning and allow you to continue running the script with an uninterrupted workflow.

Skill level:

Other People Are Reading


  1. 1

    Press the "Windows" and "R" keys simultaneously on your keyboard. This loads a Run box on the bottom of your screen.

  2. 2

    Type "Regedit" in the Run box and press the "Enter" key. This action opens the Windows Registry Editor.

  3. 3

    Navigate to "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles."

  4. 4

    Right-click "Styles" and select "New DWORD Value."

  5. 5

    Right-click the new DWORD and select "Rename." Name the value "MaxScriptStatements." By default, the value for the threshold is "5,000,000." When you create this new value in the registry, it automatically uses the value of "0" by default. Leave at "0" to disable the dialogue.

    If "MaxScriptStatements" is already in the registry. Right-click and select "Modify" and then change the value to "0." Press "OK" to confirm the change.

  6. 6

    Restart Internet Explorer to allow this change to take effect.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.