.NET Runtime Optimization Service : High CPU usage Fix

.NET runtime optimization service frequently used to fix High CPU usage that happens after a Windows update to the latest available version. It is more likely a Microsoft bug disturbing the Registry settings which leads to the problem.

NET runtime optimization service optimizes the system by helping it initiate apps and programs much faster. But, at times the optimization procedure may take longer than usual, and which when you have a CPU usage on a higher end while opening the Task Manager.

We have found out a solution, however, for you which can fix this .NET runtime problem thus, permitting it to run normally. Let’s check out the solution.

.NET runtime optimization service : Through Command Prompt

Step 1: Tap Win + R keys simultaneously on the keyboard to open the Run command.

Step 2: In the Run command box, tap in cmd and click Ctrl + Shift + Enter keys together on the keyboard to open the Command Prompt in elevated mode.

Step 3: When Command Prompt window open in Admin mode, type the commands given below step by step and tap Enter after each command.

  • 32 Bit system
    • cd c:\Windows\Microsoft.NET\Framework\v4.0.30319
    • ngen.exe executequeueditems
  • 64 Bit system
    • cd c:\Windows\Microsoft.NET\Framework64\v4.0.30319
    • ngen.exe executequeueditems

You may return back and check in the Task Manager, and the .NET runtime optimization service should not show high CPU usage anymore.


The .NET Optimization Service is also called Mscorsvw.exe. It is a component of Windows. It is used to optimize machine to launch program and apps faster. Generally . NET Runtime Optimization Service does not cause high CPU, but if the optimization process takes too long, it may cause high CPU usage.

The .NET Framework is installed on a billion plus machines. It is utilized to run millions of apps everyday. On the .NET Framework product team focusses on making apps launch as quickly as possible. A vast part of how to do that is by optimizing both the .NET Framework and the apps that run on it. The optimization requires to be done on your machine a handful of times a year, due to updates to the .NET Framework.