Skip to content

May be helpful: Ngen.exe executequeueditems

July 13, 2007

Post 5 on MS07-040 issues (see Ngen Patch):

From: http://www.theregister.co.uk/2007/07/12/ms_patch_problems/comments/

MSCORSVW.EXE

By Steve Coffman

Posted Friday 13th July 2007 01:13 GMT

Luckily my system didn’t go haywire after installing the .NET patch, but afterwords I noticed a new process running called mscorsvw.exe. I run my XP system pretty lean and mean and have disabled all non-essential services and processes (I only have a total of 4 non-MS processes and 4 non-MS services that load on startup…) so I was curious as to what it was. Doing a quick web search, it turns out it is a background compiler for .NET assemblies. Theoretically it is supposed to compile the assemblies during idle time (it is set to lowest priority) but mine wasn’t doing much of anything while my system was just idling. The info I found says if you run the command ngen.exe executequeueditems from the .NET folder (mine happened to be in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727) it will force it to process everything it has in the queue. I gave it a try, and it worked great – it compiled something like 97 assemblies, and after a reboot the mscorsvw process is no longer running.

BTW, if the process is running at 100% CPU usage after you execute the command, that indicates that the .NET framework is corrupt and should be reinstalled. Check out http://searchwincomputing.techtarget.com/tip/0,289483,sid68_gci1225866,00.html for more info on the process.

From → Ngen Patch

2 Comments
  1. Unknown permalink

    lotro gold lord of the rings gold lord of the rings online gold lotro gold lord of the rings gold lord of the rings
    online gold Warhammer gold
    Warhammer online gold Warhammer money War gold War money Tabula Rasa Credit lotro gold lord of the rings gold lord of the rings online gold lord of the
    rings online gold lord of the rings
    gold Tabula Rasa Credit World of Warcraft gold PotBS Doubloon Pirates of the
    Burning Sea Doubloon PotBS Gold Pirates of the Burning Sea
    Gold lotro gold lord of the rings gold lord of the rings online gold Tabula Rasa Credit Warhammer gold Warhammer online gold PotBS Doubloon PotBS gold Pirates of the Burning Sea
    gold Pirates of the
    Burning Sea Doubloon

  2. red permalink

    “””BTW, if the process is running at 100% CPU usage after you execute the command, that indicates that the .NET framework is corrupt and should be reinstalled. Check out http://searchwincomputing.techtarget.com/tip/0,289483,sid68_gci1225866,00.html for more info on the process.”””

    well if your cpu is idle it will run at 100 % no need to worry
    after command it will occasionally hit 100 its compiling all work in its todolist

    ITS NORMAL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: