none
How to disable Windows 10 DNS Cache services

    שאלה

  • How do I disable the windows 10 DNS client service (DNS local Cache).

    C:\WINDOWS\system32>net stop dnscache
    The requested pause, continue, or stop is not valid for this service.

    יום שישי 06 אפריל 2018 05:39

תשובות

  • Hi Adithya,

    Disable DNS Client through registry:

    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache,
    Locate the Start registry key and change its value from 2 (Automatic) to 4 (Disabled)

    Disable DNS client through command line:

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

    Bests,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • הוצע כתשובה על-ידי Joy-QiaoModerator יום שני 09 אפריל 2018 05:04
    • סומן כתשובה על-ידי Adithya A C יום רביעי 11 אפריל 2018 05:18
    יום שני 09 אפריל 2018 05:04
    מנחה דיון

כל התגובות

  • Hi Adithya,

    You'll have to use the PsExec tools from SysInternals.

    That way you can start your CMD as NETWORK SERVICE (the account that manages the dnscache service).

    psexec -i -u "nt authority\network service" cmd.exe 

    You can afterwards run the same command, and it should be able to stop the service.

    Regards,

    Thomas


    Please remember to mark the post(s), which answered your question.

    יום שישי 06 אפריל 2018 09:30
  • Hi Adithya,

    Disable DNS Client through registry:

    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache,
    Locate the Start registry key and change its value from 2 (Automatic) to 4 (Disabled)

    Disable DNS client through command line:

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

    Bests,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • הוצע כתשובה על-ידי Joy-QiaoModerator יום שני 09 אפריל 2018 05:04
    • סומן כתשובה על-ידי Adithya A C יום רביעי 11 אפריל 2018 05:18
    יום שני 09 אפריל 2018 05:04
    מנחה דיון
  • Hi Adithya,

    Disable DNS Client through registry:

    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache,
    Locate the Start registry key and change its value from 2 (Automatic) to 4 (Disabled)

    Disable DNS client through command line:

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

    Bests,


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    It worked, Thanks
    יום רביעי 11 אפריל 2018 05:19