Hi! Anybody knows why Service Host: Agent Activation Runtime and Service Host: Local Service (Network Restricted) consumes about 25-30% cpu and up to 2.5Gb or memory all the time already for several days?
I read that it's kind of related to the Cortana but I don't use it much. I just type something in Visual Studio and these two services keep burning my cpu.
I have all windows updates installed and my cpu is intel core i7-1065G7
I'm not sure about "Service Host: Local Service (Network Restricted), but I was having a similar issue with the "Service Host: Agent Activation Runtime" where it was unnecessarily using my CPU and RAM. Here is how I fixed it:
First, disable Cortana in startup apps (you can do it from the task manager startup tab). Then, in the services app (you can open services from the services tab in task manager), right click on "Agent Activation Runtime_xxxx" (xxxx will be random letters and numbers) and then click stop. This should stop the running service and it will no longer appear in task manager processes, but this is only a temporary fix because the service will start itself again soon, so it needs to be disabled.
It did not allow me to disable it from the services manager, so I did it on the registry. You can search for "registry" in the search bar and then click it, then "yes" to allow it to run (needs to run as administrator). Navigate to: Computer/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services. Then, in the list, find "AarSvc" and "AarSvc_xxxx" (xxxx = random letters and numbers). Click on the first one, then to the right, double click on "start" and change the value data from 3 to 4. 3 = manual, and 4 = disabled. The base should remain at hexadecimal. Do the same thing for the second one. Now, restart the computer. This fixed it for me.
After restarting, if you go to task manager and then services, there should be 2 services with "AarSvc" that are stopped. Opening the services app will show "Agent Activation Runtime_xxxx" as disabled.