Earlier this year I blogged about the automatic maintenance task in Windows Server 2012 R2 being EVIL, today it’s time for .NET Runtime Optimization Service spiking the CPU on one of my domain controllers after installing updates.
After some research (Google), I realized I was not alone
The fix turned out to be easy. Find a command prompt, navigate to the C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder, run the following command:
ngen.exe executequeueditems
Then have some coffee (ok, it was wine, it’s Dec 30 after all and quite late in the afternoon). Once the command completes reboot the server.
More ...