I could not stand that my laptop was blowing all day like a hairdryer and had to search for a fix.
Taskmanager was showing that The .NET Framework optimization service and mscorsvw.exe areusing moderate CPU, but enough to let me fans blow fast.
After some searching I came across
Basically explaining that mscorsvw.exe is precompiling .NET assemblies in the background. Once it’s done, it will go away.
The issue I am having is that the service will never stop running. The blogs also show a way to run the compiler with more CPU power using NGEN.exe directly:
The service is started by a scheduled tasks which are located under Microsoft > Windows > .NET Framework
The workaround for me was to disable the tasks.
You could also use Powershell: Get-ScheduledTask *ngen* | Disable-ScheduledTask
If the task is running, you need to restart your computer first to stop it… and never let it start again.
Thank you for reading my blog.
If you have any questions or feedback, leave a comment or drop me an email.
Darryl van der Peijl