.NET Runtime Optimization Service High CPU Usage

Have you noticed your computer is slowing down, and you have opened the Task Manager to check what is causing the slow system performance, and you find that a process called “.NET Runtime Optimization Service” is the culprit? This guide will explain what this process is and how you can fix the performance issue.

What is .NET Runtime Optimization Service?

.NET Runtime Optimization Service, is a core component of Windows, is also known as mscrosvw.exe. It optimizes the computer performance by pre-compiling the .NET framework’s libraries so that applications made on the .Net framework could load faster.

.NET is a framework developed by Microsoft to develop the application for Windows operating system. Word-wide, many developers use the .NET framework to develop their application for Windows.

So the application developed on the .NET framework are optimized by .NET Runtime Optimization Service on Windows. Most of the time, you will not notice this process running in the background. This process starts and ends once it’s finished its job.

This service runs at the following two main time:

  • When .NET Framework is Installed on your computer
  • When .NET Framework is serviced by Windows update

If .NET Runtime Optimization Service or mscrosvw.exe is slowing down your computer by using system resources very intensively. Therefore, In this guide, we will walk you through the steps to fix this issue.

.NET Runtime Optimization Service High CPU usage in Windows 10

Although you should not terminate the .NET Runtime Optimization Service, you should speed up this service in the background. However, some users who might want to terminate the service may right-click the service and select the End Task option.

When you see this process running in the background at high CPU usage, you should not worry; you should wait for a while and see if this process ends itself. Generally, this process runs very rarely, so you should let this process run until it completes.

If the .NET runtime optimization service is running endlessly in the background, there might be an error with the program itself. Now you should go to the next step and follow the troubleshooting steps.

1. Speed up the .NET Runtime Optimization Service

You can speed up this process. When you do this, this process will run at the maximum speed to complete the task, and this may cause the system to be very slow because system resources will be busy in completing this task.

The following steps will show you how you can speed up this process.

  1. Open the Task Manager.
  2. Navigate to the Details tab.
  3. Find the “.NET Runtime Optimization Service” process.
  4. Right-click the process and select the “Set Affinity” option.
  5. Check the <All Processors> option to select all CPU cores.
.NET Runtime Optimization Service High CPU
  1. Click the OK button.
  2. Again right-click the process and select the “Set Priority” option.
  3. Set the High Priority.

Related article: How to Set CPU Priority to Prefer Foreground Apps

Once you complete the steps, this process will speed up in the background and use all CPU cores to finish its job as quickly as possible. In the period this process is running, your computer may be too slow down in the time.

Run the PowerShell script to speed up this process

To speed up Microsoft .NET Framework Service, you can also run a script on PowerShell to speed up this process. You can find the script on the GitHub repo provided by the .NET team.

You need to download the script to your computer and run the script on PowerShell admin. This script should be run under either Unrestricted or RemoteSigned PowerShell execution policy.

If you didn’t get the download option on the GitHub repo, then copy the script on the notepad and save it with any name followed by the .ps1 (PowerShell Script) extension, for example, SpeedUpNETFramework.ps1.

2. Disable the Microsoft .NET Framework Service

If you permanently want to disable this service, you can also do this, Although it is not recommended. The following steps will show you how to disable the .NET Runtime Optimization Service.

  1. Press the “Windows Logo + R” shortcut key to open the Run box.
  2. Type services.msc in the Run box, then hit the enter button on the keyboard.
  3. This will open the Services window.
  4. Find the “Microsoft .NET Framework” service.
  5. Double-click the service to open its properties.
  6. Navigate to the General tab.
  7. Under the Service status, click the Stop button to stop the service if the service is running.
  8. Now, from the Startup type dropdown menu, select the Disabled option.
.NET Runtime Optimization Service High CPU
  1. Click the Apply, then OK.
  2. Restart the computer.

Once you’ve completed the steps, the Microsoft .NET Framework Service should disable completely. Again, we do not recommend you kill and disable this service as it speeds up the app loading.

I hope this guide is helpful for you. If you have any questions, feel free to comment below.

Leave your reply here

Scroll to Top