i have encounter i problem related to high cpu usage of mscorsvw.exe. When i run task manager, most of my cpu usage used by this mscorsvw.exe. What actually happen before i encounter this problem is i install framework 4.0 in order to install an application. So i do research on how to solve mscorsvw.exe high CPU usage. So in this post, i would like to conclude on the best way to overcome this matter which actually the solution provided successfully solve problem mscorsvw.exe high cpu usage.
This problem may occur due to installation of framework. Some sources stated that it may happen due to upgrade windows service pack or simply run windows update which i believe because framework is part of the windows update.
To solve this problem, what you need to do is actually really simple.
1. Run command prompt.
2. Browse to framework directory
3. Execute the ngen.exe command.
4. Just wait until it finishes and you are done. It may take a while around 15 minutes and might be more. So just grab a coffee.
5. You might need to restart your PC.
Noted that when you browse to:
You might find several version of framework depending on installation of framework in your computer. As for example in my PC, i have v1.0.3705, v1.1.4322, v2.0.50727, v3.0, v3.5 and v4.0.30319. From a source that i read, it is advisable for you to run ngen.exe from the lastest version that you have in your PC. So it will be like this.
cd C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ ngen.exe executequeueditems
But when i use this command, i accidently browse to v2.0.50727 folder. However it still bring the expected result. Just for your information, i used windows 7. From what i understand, this command actually let the job to run first on our PC (we just need to wait for it to completely finishes) instead of running at background which result in PC lag.
Hope this information may help you guys. Thank You