The Computer Oracle

How to troubleshoot a Windows 10 service which does not let me stop it

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 How To Troubleshoot A Windows 10 Service Which Does Not Let Me Stop It
00:41 Accepted Answer Score 15
01:34 Answer 2 Score 3
01:54 Thank you

--

Full question
https://superuser.com/questions/1277952/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows10 #dns #services

#avk47



ACCEPTED ANSWER

Score 15


Note that the DNS Client does more than just cache DNS records - it gets them in the first place, so disabling it may limit internet access.

If you still decide to disable it, do this :

  • Use regedit to navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache,
  • Locate the Start registry key and change its value from 2 (Automatic) to 4 (Disabled)
  • Reboot.

Another method is :

  • Start a Command prompt (cmd) as SYSTEM (psexec -sid cmd.exe)
  • Launch services.msc from it
  • The Startup type drop-down now becomes enabled.



ANSWER 2

Score 3


In addition to harrymc's answer, I found this while searching for the same problem :

Deactivate :

REG add "HKLM\SYSTEM\CurrentControlSet\services\Dnscache" /v Start /t REG_DWORD /d 4 /f

Automatic mode :

REG add "HKLM\SYSTEM\CurrentControlSet\services\Dnscache" /v Start /t REG_DWORD /d 2 /f

Source : https://social.technet.microsoft.com/Forums/windows/en-US/a04284f9-cf27-4f37-82fe-31255f70625f/how-to-disable-windows-10-dns-cache-services?forum=win10itpronetworking