5
1
For some time now I have been noticing that one of my svchost.exe was constantly taking 25% cpu time on my 4 core, Win7 Ultimate PC. This particular service host is hosting:
- Cryptographic Services (CryptSvc)
- Dns Client (DnsCache)
- Network Location Awareness (NlaSvc)
- Workstation (Lanman Workstation)
I suspected a virus but Windows Essential is up to date and reports nothing, and Autoruns doesn't show anything unusual.
Thanks for the help!
As per request the stack of the thread taking up 25% cpu:
ntkrnlpa.exe!KeSetEvent+0x2a1
ntkrnlpa.exe!KeDelayExecutionThread+0x5cc
ntkrnlpa.exe!KeWaitForMutexObject+0x393
ntkrnlpa.exe!KeQueryHighestNodeNumber+0x9fe
halmacpi.dll!KfRaiseIrql+0xcb
halmacpi.dll!KeRaiseIrqlToSynchLevel+0x8f
halmacpi.dll!HalEndSystemInterrupt+0x67
halmacpi.dll!HalInitializeProcessor+0xae8
ncsi.dll!NcsiIdentifyUserSpecificProxies+0x3a47
ncsi.dll+0x31f0
ncsi.dll!NcsiIdentifyUserSpecificProxies+0x4c92
ncsi.dll+0x1e93
ncsi.dll+0x20a2
ncsi.dll+0x1808
ncsi.dll+0x2240
ntdll.dll!RtlIsCriticalSectionLockedByThread+0x474
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
Looks like a problem with some kind of interrupts problem in the HAL? I'll try updating all my drivers and report back.
how to kill the instance of svchost.exe? It restarts immediately in task manager – user5389726598465 – 2019-07-21T15:20:00.247
You can't just kill the process; Windows will just assume it crashed and restart it. You need to disable the service. – Synetech – 2019-07-22T12:14:32.253
It's greyed out (disabling the service) – user5389726598465 – 2019-07-22T13:52:03.607
The DNS service won't let you disable it? Where is it greyed out, the Task Manager or the Services snap-in? You need to run it with elevated privileges (run as admin). Another option is to do it through regedit, but that too needs to be run as admin. – Synetech – 2019-07-23T14:43:33.467
In the services snap-in. Running as administrator did not enable the disable button. Where are instructions or how to do it through the registry? I can't use my main image until this is solved so I'm native booting a vhd which is slower. – user5389726598465 – 2019-07-23T17:12:49.180
Running the services snap-in as admin won't let you disable the DNS service? Hmm, that's very strange since it's not exactly a critical (or even necessary) service. I'm guessing this is Windows 10 right? Yet another reason I have no interest in 10. – Synetech – 2019-07-24T18:07:58.923
1If it is the DNS service, you can rename the
HOSTS
file so that it's not reading that and hanging. Otherwise, you can manually disable the DNS service by opening the registry in admin mode, and going toHKLM\SYSTEM\CurrentControlSet\services\Dnscache
, then changingStart
to4
(disabled). Reboot and it should no longer run. Of course, this also means you won't be caching IP addresses, so it might have a slight impact on Internet performance. (You can get around this with a third-party DNS program if necessary.) – Synetech – 2019-07-24T18:11:33.397