RECOMMENDED: Click here to fix Windows errors and optimize system performance
This article explains why, due to the high CPU usage mscorsvw.exe , a Windows 10/8/7 computer can run slowly and what to do about it. If you open the Task Manager in such a scenario, you will now find a process called mscorsvw.exe, which has a CPU load of more than 50%! This service is used by the.NET framework for precompilation. So what is the mscorsvw.exe process and how do I manage it?
Slow Windows computer due to high CPU usage mscorsvw.exe
David Notario made the following observation on the Microsoft MSDN blog:
mscorsvww.exe compiles.NET assemblies in the background. Once that’s done, he’ll disappear. After installing.NET Redist, high priority assemblies run in 5 to 10 minutes, then wait until your computer is idle to process low priority assemblies. Once it does, it will shut down and you will no longer see mscorsvw.exe. One important thing is that compiling takes place in a low priority process, so you can see 100% of the CPU usage, so it tries not to steal the CPU for other things you do. Once everything is compiled, assemblies can now exchange pages through different processes and hot start will usually be much faster, so we don’t throw your cycles
The cause is the mscorsvw.exe process that recompile.net assemblies in the background. Normally, the process disappears after a while and the speed of your computer should be normal again. Even if you wish, you cannot complete the process in the normal way.
This is because the mscorsvw.exe process is a system process, so if you try to close it directly with the task manager, you can’t ! You must be a little familiar with the CMD.
If you don’t want to wait until your computer is idle to compile it, you can do the following :
- Navigate to C:WINDOWSMicrosoft.NETFrameworkv2.0.50727 in Windows Explorer.
- Click Start, type CMD and run it as administrator. At the command prompt, specify the path above and type ngen.exe executequeueditems. This command processes all pending jobs. Once this is done, the service is closed because it has nothing else to do.
- Restart your computer; you will now see that no mscorsvw.exe processes are running in the Task Manager.
Hope this helps you!