mscorsvw.exe and 100% CPUMWahl | July 3, 2009 | 8:49 am
There are really two ways to handle this issue.
One involves running ngen synchronously, at a higher priority one would suppose. Windows\Microsoft.Net\Framework\[dotNetVersion] folder and run “ngen executeQueuedItems“.
An alternative is to simply disable the CLR Optimization Service that is responsible for running mscorsvw.exe. The CLR Optimization Service is a new thing in .Net 2.0 that (generates native binary versions of your .Net code) assemblies in the background.
To disable the service, start, run, type services.msc … and choose .Net Runtime Optimization Service, right click and select Stop. To permanently stop it, right click, go to Properties, under Startup Type select Disabled.
For more information http://blogs.msdn.com/davidnotario/archive/2005/04/27/412838.aspx