FIX: .NET runtime optimization service high CPU


Tashreef Shareef
by Tashreef Shareef
Author
Loading Comments
Affiliate Disclosure

NET runtime optimization service high CPU

Some Windows OS processes can result in high CPU usage thus slowing down your computer. .NET runtime optimization service high CPU usage issue is among the most reported problems in the Microsoft community forum:

About 8 weeks ago my Windows 7 started experiencing the mscorsvw.exe service utilizing high memory usage, usually around 9 GB with 50% or more CPU usage.  When this happens my system slows to a crawl and I have to wait (sometimes for hours) for the service to complete.

If you are also troubled by this issue, here are a couple of troubleshooting tips to help you resolve it.

How can I fix .NET runtime optimization service high CPU issue?

1. Optimize the .NET framework process

.NET runtime optimization service high CPU

  1. Press Windows Key + R to open Run.
  2. In the Run box, type cmd, and click OK.
  3. In the Command Prompt enter the following command one by one and then hit Enter to execute:
    For 32-bit:
    cd c:WindowsMicrosoft.NETFrameworkv4.0.30319
    For 64-bit:
    cd c:WindowsMicrosoft.NETFramework64v4.0.30319
  4. Next, enter the following command and hit enter:
    ngen.exe executequeueditems
  5. Close the command prompt and open the Task Manager.
  6. Check if the high CPU usage issue is resolved.

The above command will help you to optimize the process allowing it to make use of more CPU cores so that it can finish the process faster.


If you’re having trouble accessing Command Prompt as an admin, then you better take a closer look at this guide.


2. Check for malware infection

.NET runtime optimization service high CPU

  1. If your PC is infected with malware or virus, it can slow down your PC by using the CPU resources in the background.
  2.  If you have an antivirus installed, make sure you run a full scan of your system.
  3. This may take longer than a quick scan, however, it will help you find any malware in your system.
  4. If you don’t have an antivirus installed, download and install Malwarebytes. It is an excellent malware protection tool and you can try the premium version with all the features in the trial mode.
  5. Download Malwarebytes and perform a full scan.
  6. If Malwarebytes detects any malware, click on Removed Selected option to quarantine the suspicious files.

Malicious programs usually hide in plain sight and look like normal system processes while getting a hold of your system’s resources. By performing a complete scan, you can find and remove any infection from your computer.

If you’re looking for the best antivirus solution to protect your Windows 10 PC, check out this list with the best ones on the market.

Best choice
alwarebytes logo official website
  • Performance without slowing down your PC
  • Removes infections with a quick scan 
  • Customize your security

3. Restart NVIDIA Telemetry Container

.NET runtime optimization service high CPU

Note: This step only applies to the computer that has the NVIDIA graphics card installed.

  1. Press Windows Key + R to open Run.
  2. Type services.msc and click OK. This will open the Windows Services window.
  3. Locat the NVIDIA Telemetry Container service on the list. Press the first letter of the service, that is N (for NVIDIA) to find the services fast.
  4. Right-click on the service and select Properties.
  5. In the Properties window, under Service status, click on the Stop button.
  6. Next, click the Start button to restart the service again.
  7. Make sure the Startup status: is set to Automatic.
  8. Click Apply and OK to save the changes.

The .NET runtime optimization service is an essential Windows service and mostly goes away once it is done. However, in case it does not go away, you can follow the steps in this article to fix the high CPU usage issue caused by the process in Windows.

If you have any other questions or suggestions, don’t hesitate to reach for the comments section below.

READ ALSO: