Why does msvcrt.dll cause Internet Explorer 9 to crash?

Daniel January 17, 2012
Pinterest Stumbleupon Whatsapp

For the past 3 weeks, I’ve been experiencing IE9 crashes within a few seconds after opening IE9, no matter which website.

My PC has Windows 7 Ultimate SP1.

Checking the Event Manager brings up the following error:

??Application: iexplore.exe
Version:9.0.8112.16421
Module: msvcrt.dll
Version:7.0.7600.16385

Exception: 0xc0000005
Displacement: 0x00009c7f
Process ID: 0x964
Application Path: C:\Program Files\Internet Explorer\iexplore.exe
Module path: C:\Windows\system32\msvcrt.dll

I’ve disabled all addons and restored IE to its default settings to no avail. I feel that this problem began after a regular Windows 7 update. I checked the update log and all items were correctly installed.

Thank you.

Ads by Google

  1. FIDELIS
    January 20, 2012 at 8:28 am

    Hello, Daniel I was typing a reply on how to activate the hidden administrator account by using the net user command when your last reply came through.  This hidden account would have given you permission to change the permission on both msvcrt.dll and trusted installer.  I am glad your IE9 is fixed now and I am also glad that like me you did not give up. 

    • Anonymous
      January 20, 2012 at 8:39 am

      I never give up...
      Certainly not to my PC.
      ;-)

      Turned out (as expected) that while in regular use of Win7, the file was locked by another app (or apps), so the obvious solution was to go to DOS level...

      But this problem was certainly a nasty one to resolve. It's been about 3 weeks now.

      Thank you for your help and perseverance.

      • FIDELIS
        January 20, 2012 at 8:42 am

        hello, don't mention it.

  2. Anonymous
    January 20, 2012 at 8:21 am

    So for the moment I think we can mark this thread as Resolved.

  3. Daniel
    January 20, 2012 at 8:19 am

    OK

    Thanks to FIDELIS and a little risk taking, I performed the following and IE9 seems to be working well.

    Here is the walkthrough, for future generations.
    :-)

    Solve msvcrt.dll problem in Windows 7 Ultimate 32bit which causes Internet Explorer crashes

    First try to reset all settings in IE, using the Tools in IE.
    If it doesn't work, follow this procedure:

    0. Verify you do this with a user which has Admin privileges on the PC.
    1. Install 7-zip on HDD
    2. Run 7-zip.
    3. Goto the sources directory in the Windows 7 CD and find  there the file install.wim (it's a huge file).
    4. Browse (using 7-zip) to windowssystem32 directory. There you'l find the msvcrt.dll file
    5. Extract msvcrt.dll to D:temp or any other directory on HDD
    6. Restart PC in Safe Mode with Command Propmt
    7.  cd system32 
    8. ren msvcrt.dll msvcrt.bak 
    9. copy D:tempmsvcrt.dll
    10. Exit Safe Mode and restart PC
    11. Check that Internet Explorer is now working correctly

    • FIDELIS
      January 20, 2012 at 8:30 am

      Hello, Daniel I was typing a reply on how to activate the hidden
      administrator account by using the net user command when your last reply
      came through.  This hidden account would have given you permission to
      change the permission on both msvcrt.dll and trusted installer.  I am
      glad your IE9 is fixed now and I am also glad that like me you did not
      give up.

  4. Daniel
    January 19, 2012 at 4:48 am

    When I try reinstalling IE9, it apparently successfully downloads from the MS site, tries to install but fails, with error code 800F081E.

    Another error message that I see (in the details screens) is windows_update_dt00.

    I do have IE8 installed (it comes as a default in Win7), it seems to work well w/o the msvcrt.dll problem (but I have not tested it thoroughly).

    • Jay.0
      January 19, 2012 at 4:59 am

      This is what Microsoft says you should do when you can't install IE9:

      http://support.microsoft.com/kb/2409098

      • Daniel
        January 19, 2012 at 6:01 pm

        Didn't help.
        But pls read my other replies here - IE9 was somehow reinstalled - but I still have the original error.

    • FIDELIS
      January 19, 2012 at 7:42 am

      Hello, you could try resetting windows update components:

      http://support.microsoft.com/kb/971058/

      Once windows update components are resetted, try installing IE9.  If that does not work, you could try running the windows update troubleshooter?  You can find it following the next instructions:

      -- click on start
      -- click on control panel
      -- click on  Action center
      -- click on Troubleshooting
      -- under system and security, click on Fix problems with windows update
      -- click on next and keep answering any questions it asks you and keep clicking on next until troubleshooter finishes running. 

      You could also try resetting IE8 by following the next steps:

      -- start IE8
      -- click on tools
      -- click on internet options
      -- on menu, click on advanced tab
      -- click on reset
      -- restart computer
      -- try windows update

      Let me know how it goes.

      • Daniel
        January 19, 2012 at 5:59 pm

        Tried this w/o success. Also tried installing the MS fixer w/o success.

        But now, after trying system restore and reinstalling from the WIN 7 CD, I rebooted, tried WIndows Update, had 5 updated critical items, installed, checked again, saw that I9 was available as an optional update. Tried to install - and to my surprise - it WAS reinstalled...
        Although it's still not working, still have the DLL error.

        • FIDELIS
          January 19, 2012 at 10:52 pm

          Hello, have you tried replacing the msvcrt.dll from the windows 7 installation disk?  Try the first answer in next thread:

          http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/constant-unhandled-exceptions-from-msvcrtdll-on-a/724daea5-f540-4689-b5e9-94469048cf34

        • Daniel
          January 20, 2012 at 6:39 am

          Hi,

          This seems like a good lead.

          However, I've not been able to change my permissions to PeerDist.dll or msvcrt.dll.

          PeerDist.dll is already in windowssystem32.
          I've extracted as per the article msvcrt.dll to my HDD.

          When I check my permissions, they are like SYSTEM. However, I've read that to change permissions for either file, I need TrustedInstaller permissions, and as I wrote, I've been unable to do this.

        • Daniel
          January 20, 2012 at 7:22 am

          And I forgot to add that I tried copying the file both from a CMD screen opened as ADMIN and from the Windows FIle Explorer, also opened as ADMIN.
          In both cases I got to the point where I was asked whether to replace msvcrt.dll or not, clicked on REPLACE and then received a small window saying that I need permissions.

          Maybe I should fo this whine in safe mode and msvcrt is not linked to any open app? (or background app). Seems this is the most linked-to DLL in system32...

  5. FIDELIS
    January 18, 2012 at 3:01 am

    Hello, the msvcrt.dll is a runtime installation dll for windows.  Obviously, internet explorer needs it to run.  This can be caused by many things like a missing or corrupted file and also by registry corruption. You are right,  this file probably got corrupted after an update. 

    The easiest fix would be for you to uninstall internet explorer 9 and then install it back either to windows update or by downloading again. This should replace the msvcrt.dll in your system.  To uninstall internet explorer 9 try the following:

    -- click on start
    -- control panel
    -- uninstall a program
    -- on left hand side column, click on view installed updates
    -- scroll down until you find Internet Explorer 9
    -- click on Uninstall
    -- restart if needed

    Once your computer restarts, visit windows updates and make sure to select internet explorer 9 for download/installation.  You can also download it in link below:

    http://windows.microsoft.com/en-CA/internet-explorer/products/ie/home

    • Daniel
      January 18, 2012 at 8:06 pm

      I removed IE9 as instructed.
      After rebooting I saw that I still had IE8 installed, it seemed to work properly.
      I then selected Windows update and DL'd IE9.
      Installation failed, error 800F081E.
      Installation failed even after several tries. IE9 does not appear in my uninstall list (I tried to repeat the process you specified).

      • FIDELIS
        January 18, 2012 at 8:14 pm

        Hello, try the following to make sure IE9 is completely uninstalled:
        http://support.microsoft.com/kb/2579295

        Restart computer after above process is finished.

        Then try the following:

        http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages

        • Daniel
          January 18, 2012 at 9:12 pm

          Doesn't work.
          apparently IE9 is not installed on my PC. So the fixit and the CMD line don't work.

        • FIDELIS
          January 18, 2012 at 10:13 pm

          Hello, ok then try the following:

          -- click on start
          -- all programs
          -- accesories
          -- click on system tools
          -- click on disk cleanup
          -- select drive where windows installation is
          -- click on ok
          -- make sure that following are mark to be clean in options show:

          Downloaded program files
          Temporary internet files
          Recycle Bin
          Temporary Files

          -- click on ok
          -- restart system

          Visit link posted in previous post to download IE9.

      • Jay.0
        January 19, 2012 at 1:45 am

        Use system restore:

        Go back to a restore point when IE9 was installed and working without crashes.

        • Daniel
          January 19, 2012 at 4:44 am

          This seems to me a last resort option.
          I'll try several PC cleanup tools tonight , maybe there are leftovers in the registry.

        • Jay.0
          January 19, 2012 at 4:58 am

          Yes, use system restore if nothing else works.

        • Daniel
          January 19, 2012 at 5:56 pm

          Hmmm...
          System restore didn't work either...
          I selected a restore point from ~2 weeks ago, received error message that restore failed...

          Also tried reinstalling system files from the Win7 CD as per MS support guidelines, didn't work either, received a message that the version installed on the PC is newer than the one on the CD (which is correct, as I've been constantly updating WIN 7).

  6. Anonymous
    January 17, 2012 at 8:26 pm

    Try running IE with no add-ons and see what happens.
    Control Panel> Internet Options >Programs> Manage Add ons and try disabling some addons

    or

    1. Open IE9

    2. Go to Tools--Internet Options--Advanced

    3. In Settings, Accelerated graphics, put a check mark in [Use software rendering instead of GPU rendering]

    or try MicrosoftFixit50195 to reset Internet Explorer settings
    http://support.microsoft.com/kb/923737

    • Daniel
      January 18, 2012 at 6:41 pm

      Did that (see last paragraph in my question)

      • Anonymous
        January 18, 2012 at 6:52 pm

        i saw that could you uninstall toolbars like google? alos did you tried the microsoft fix it that i mentioned.

        you can also uninstall IE9 and reinstall

        • Daniel
          January 19, 2012 at 4:45 am

          I don't have any toolbars installed.
          And I've tried reinstalling IE9 w/o success (see later in this post).

          I get error 800F081E.

        • Anonymous
          January 19, 2012 at 9:18 am

          reset windows update with this microsoft fixit
          http://support.microsoft.com/kb/971058
          try to reinstall IE9

          is service pack 1 installed on pc if not, i will start by that

Ads by Google