Sometimes, ngen.exe will consume an excessive amount of these resources, creating some performance issues.

In this condition, you might try running a combination of SFC and DISM to fix this issue.

RunCommand Promptas an administrator.

run sfc /scannow

In the command window, typesfc /scannowand pressEnter.

After the process is done, execute the following commands one by one.

Dism /Online /Cleanup-Image /CheckHealth

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

Step 4. reboot your system.

hit Disable all

Fix 2: Perform A Clean Boot

Step 1.

Typemsconfigand hitEnterto openSystem Configuration.

Under theServicestab, tick theHide all Microsoft servicesand hitDisable all.

hit Check for updates

Go to theStartuptab and hitOpen Task Manager.

Right-press each non-Windows entries and selectDisable.

Go back toSystem Configurationand click onApply&OKto save the changes.

If you have pending Windows updates, install them and see if it fixes this issue.

In the controls menu, scroll down to findUpdate & Securityand hit it.

Under theWindows Updatetab, click onCheck for updates.

Heres how to do it:

Step 1.

Typeappwiz.cplin theRunbox and hitEnterto openPrograms and Features.

Right-select Microsoft .NET Framework and hitUninstall.

After the process is done, go to the.NET Frameworks official website.

Find the latest version of .NET Framework and download it.

After downloading, double-tap on the setup file to initiate the installation.

Hope your box can maintain a better performance.