Windows DHCP stopped working and I can't restart it


  1. Posts : 210
    Windows 10 Pro
       #1

    Windows DHCP stopped working and I can't restart it


    For some reason Windows DHCP service, for both IPv4 and IPv6, bugged by itself in one of my laptops, because the network adapters can't receive correct settings anymore. My gateway is 192.168.1.254, but both wireless and Ethernet adapter are receiving 169.254.1.x local IP and 255.255.0.0 subnet mask, when the proper addresses should be 192.168.1.x and 255.255.255.0 respectively.

    As expected, when I set a static local IP on both adaptors, connectivity is restored. The other Windows machines and smartphone are assigned IPs fine, meaning my internet modem DHCP is working properly. I can't recall when this issue began, I believe it was a couple of days ago, probably after a Windows update (now running build 18363.816).

    And now comes the actual issue: I found in this Superuser thread (Windows 10 not getting IP address from DHCP - Super User) that the solution is stopping and starting the DHCP Client service on a elevated command prompt:


    net stop dhcp
    net start dhcp



    However, even in adminstrative prompt, I get this error, which seems to be caused by lack of appropriate permission:


    System error 5 has occurred.
    Access is denied.



    I get the same error when attempting to stop or restart DHCP Client service on Services console. I searched everywhere on how to allow permission to stop and restart this service, like adding NETWORK SERVICE entity to DHCP Client service and granting it full permission, but I still couldn't restart this service. I'm short of doing a refresh install, because I just can't find a solution to this issue. I know I can always fix static local IPs, but I would like Windows DHCP to work again.
      My Computer


  2. Posts : 4,187
    Windows 11 Pro, 22H2
       #2

    First, make sure that you are logged on with a user that has admin rights.

    If you are, try performing a network reset. You can find this in the networking section of setup like this:

    Windows DHCP stopped working and I can't restart it-image1.jpg

    NOTE: My screen may look slightly different than yours as I am on Win 10 2004.
      My Computers


  3. Posts : 210
    Windows 10 Pro
    Thread Starter
       #3

    Someone on Superuser suggested me the netsh winsock reset command, which worked. I wonder if this is the same thing you instructed me to do? Anyway, thank you for the help.
      My Computer


  4. Posts : 4,187
    Windows 11 Pro, 22H2
       #4

    Good question. It may be similar or my be a part of what I suggested does. In any case, I'm glad you found a solution.
      My Computers


  5. Posts : 210
    Windows 10 Pro
    Thread Starter
       #5

    Well, it worked until the next reboot, I don't understand why this issue has been happening. Knowing that version 2004 is around the corner, I set static local IPs and I can only hope it will be fixed for good once I upgrade Windows.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:07.
Find Us




Windows 10 Forums