How to stop Internet Explorer script error messages

If you are getting messages such as: “A Runtime Error has occurred. Do you wish to Debug?” or “Internet Explorer Script Error. An error has occurred in the script on line 1. Do you wish to continue running scripts on this page?” Here are some tips to stop them:

There are a few reasons why you are getting this Internet Explorer script error. The first is that the author of the webpage has simply made some sort of programming error and this is typically the most common reason.

The next reason is that you are possibly running a pop-up killer of some kind which closes the pop-up too quickly which causes the script of the website to fail and thus giving you the error because it didnt complete.

The third reason is that you have some sort of spyware or adware infection that tries to launch something such as a popup but causes script errors.


How to stop the Internet explorer script error message from showing up:

You can tell your Internet Explorer to ignore these errors when they occur and not show you an alert about them. Here is the procedure:

  • Open Internet Explorer
  • In the top menu, Click on Tools and then Internet Options
  • Click on the Advanced Tab
  • Find where it says “Disable Script Debugging” and tick the box beside it
  • Now, Find where it says “Display a notification about every script error” and untick the box beside it.

What to do when you get an Internet Explorer script error in Control Panel when opening User Accounts:

You get a script error in Control Panel when clicking on User Accounts and see:

Internet Explorer Script Error
An error has occurred in the script in this page.
Line: 4
Char: 1
Error: Access is denied
Code: 0
URL: res://C:\Windows\system32\nusrmgr.cpl/nusrmgr.hta
Do you wish to continue running scripts on this page?

And the option of pressing Yes or No, no matter which one you press the User Accounts dialog opens anyway.

There isnt really a fix for this error, it seems to be an undocumented error in Windows XP SP2 but there is a way to avoid it. Simply dont press User Accounts many times. If you press it 3 times or more it will occur.

What to do if you are still getting errors

If you are still getting errors even after disabling them in IE, then it is possible that you have some adware installed and you will need some adware removal software such as Ad-Aware Personal.

Bryce Whitty

About the Author

Bryce Whitty
More articles by me...
Bryce is an Australian computer technician and the founder of Technibble. He started his computer repair business when he was 17 years old and is still running it 9 years later. He is an avid traveller and spends at least a month of the year in another country.

Comments (19)

  • Thomas says:

    I recently ran into this problem and have read many “fixes” on google from several sources none of which seem to really be a fix. I have simply decided it really can’t be fixed but here are two workarounds incase someone might want to use them. The first one is to switch to category view for the control panel, which changes user accounts to single click and does not generate this error. You could also change your mouse behavior to single click under folder options and thus receive no error. I am not a fan of category view for the panel, nor am I a fan of single-click for program execution, so I just right click the icon and choose “open”, which also works. Or I open the run box and type NUSRMGR.CPL and hit enter. This is faster than opening the Control Panel anyway.

  • when I try to forward or send a message internet explorer stops it.

  • Ambrose Plakotaris says:

    I never had a script error massage before i just download IE8 beta ,and i got them in line one i am trying to clear it for hrs i am runing window vista ,, can you help me more Thank you

  • how to stop internet explorer script error messages

  • I just begun getting Internet Explorer error messages mostly when I open AOL, YAHOO, or MSN email accounts. Making me crazy. The appologises for the inconvenience, then asks me if I want to send a report to Microsoft, then closes the applilcation, then restarts IE. ANybody know why this happens, and how I can upload a fix or something????

  • Dear Mr. Whitty, I will take your advise and see what happens. Thanks for your support. Respectfully, Brett 5/16/09.

  • Joyce chapman says:

    My internet explorer is useless. I get script errors and then nothing opens. If I fill in the address box, it will take me to another page but I am unable to send mail, open a link or basically do anything with it. I have checked my settings as told, with no help, ran a reg cure with no help. Any suggestions? My firefox works but I am unable to download anything on it as it will save as exe file.

  • Joe says:

    My wife just started getting ie8 script errors when loading mail on her aol account. I can log into the same computer and get my mail fine. Any clue as to what aol setting is screwed up and how to fix??

  • dacarpenter says:

    everytime that I try to print off something on yahoo mail it shuts down the internet explorer. it only happens in the yahoo. I can print off everything else with no problem. Is the yahoo site just junk?

  • don says:

    I’ve been trying to permanently get rid of script errors messages and cannot get any answers that work. The one I get a kick out of is to switch on the disable script debugging in the internet explorer. With the all the computes experts, not a one of them has the knowledge to tell some how to simply stop a computer from running scripts. They cannot even tell you if running scripts is necessary. I guess I have no choice to but to keep clicking the “Yes-No’ on script errors for the rest of my life. If I am wrong, and someone actually knows how to stop my computer from every showing a script error again, let me know so I an prove it does not work.

  • Maj says:

    Even I am facing the same problem as Don. Can anyone give solution for this..

  • We loved your writing style, please keep it up!

  • Excellent read. Just as a service, the Rss option is not working properly in Flock running on Windows 98.

  • Fred says:

    This article is totally incorrect. The error is actually due to large and complicated scripts running within a page. A large Google Map will sometimes produce the message. It is NOT a coding error.

    Use a different browser. Chrome does not display the same error as IE when it occurs. It is an IE-ism, not an error.

  • Pingback: Techies Help

  • carl says:

    Found the fix to stop script error messages in ie8. Open ie8 click on Tools, click on Manage Add-ons. Disable AVG Safe Search, Disable Java Plugin Helper. Done Deal! Hope it works for you.

  • Morne says:

    Hi Don. I have to say that first off, to buy a computer and to stop ALL scripts would be like buying a calculator without a keypad or screen…pointless. Those scripts running in the background has got reasons for being there. Jip…each and every one of them. So firstly, just disabling debug is the next best thing. You can always try uninstalling your browser and reinstalling it. If that fails, do the right thing…download, install and learn to use linux. Half the trouble and it’s for free. If you insist on using Windows, I’ll recommend just backing up your files, formatting your hard drive and re-installing your Operating System. It takes like 15 minutes (depending on your system specs) and if you do that, the problem is sure to be resolved. Looking for a quick fix and getting all frisky about it won’t help. The “experts” as you put it can’t find the solution to this problem as A) you’re computer has CRAP LOADS of scripts running in the background that users aren’t aware of and B) You’re running Windoze…they don’t even know how to fix this issue and has labeled it a XP SP2 issue. So there you go, next step in troubleshooting….install/confirm that you have installed Service Pack 3 (SP3). Doing a full update might just resolve this issue as well. Go online, google Java, flash, and microsoft update website (The official one) and get your machine up to date. If all else fails….just do what I did (as I’m NOT a windoze fan) and use Mozilla Firefox as your default web browser.


    => Windoze….the lame alternative

  • Dan says:

    Having worked for months to find a solution to the
    erroneous “script error” messages, I tried Carl’s
    method(#16) and am elated that the problem seems
    to be solved.

    Many thanks, Carl!

  • Rohit Mittal says:

    i have a soloution for Internet Explorer Script Error,
    step 1 : open internet explorer
    click->tools->internet options->security
    step 2: click on internet->custom level and select reset to( medium )option and click or RESET button
    and same with on Local Intranet , trusted website and resticted sites
    and in last click on advance
    here tick on (disable Script Debugging(internet explorer)
    untick on “display a notification about ever script error………….