Why Is mscorsvw.exe Running? - gHacks Tech News

Why Is mscorsvw.exe Running?

My system felt a bit sluggish after starting the installation of a new application and a quick check of the task manager revealed a process named mscorsvw.exe that was running on my system using nearly 40% of my CPU. I never heard about that file before and a quick check on the Internet revealed that it was related to the Microsoft .net Framework.

I never experienced the behavior on my old computer though and it seemed as if the process would not go away on its own. It was there, eating my CPU cycles even after quitting the program installation.

Apparently mscorsvw.exe is precompiling .NET assemblies in the background which can take anywhere from 5 to 10 minutes and then some more for low priority assemblies. So the easiest way to get through it is by sitting it out.

If you want to get rid of it completely immediately you could issue the command ngen.exe executequeueditems. Ngen.exe is located in the Microsoft .net Framework directory in the Windows dir.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Rarst said on July 26, 2008 at 5:18 pm
    Reply

    Yep, had similar experience recently. Tiny setup file unpacked some stuff and started really long process of compiling.

    Hadn’t exactly improved my opinion on framework based apps. :)

  2. under a rock said on October 18, 2009 at 3:28 am
    Reply

    best thing to do is to go into services and switch .net runtime optimizer to manual. this will prevent it from “popping up” unexpected.

    1. G said on October 22, 2009 at 3:21 pm
      Reply

      Thanks for tip, the process just froze my system a few times.

    2. Michelle said on September 15, 2011 at 10:27 pm
      Reply

      Thanks for your help here…..much more helpful than everything I searched on internet

  3. Rich Lander [MSFT[ said on August 8, 2013 at 9:00 pm
    Reply

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.