question

SALVATORECONTE-3333 avatar image
0 Votes"
SALVATORECONTE-3333 asked SALVATORECONTE-3333 answered

DHCP Client service does not start. Error 5: Access Denied

Hi All

I have another problem, the DHCP Client service does not start.
Error 5: Access Denied can not start the DHCP Client service on Local Computer.

If I go to the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp

Right click and choose Permissions. There should be the following:

System = Full Control
Local Service = Read
Network Service = Read
Local Admin = Full Control
Local Users = Read
Dhcp = (I cannot find this group and therefore cannot add it)

Can You help me?

Thank you

Salvatore

windows-serverwindows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
0 Votes"
cthivierge answered

Try to just add nt service\dhcp. The account will not be listed in the users

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

What operating system is used? What changes were made when this happens? Might check the event logs for clues.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SALVATORECONTE-3333 avatar image
0 Votes"
SALVATORECONTE-3333 answered

Hi Patrick

The OS is WIndows Server 2019 SDT Edition.
I didn't make any configuration changes,I was working and the server froze.
I did a forced reboot of the system, and when the server is restarted it no longer sees the DHCP client and the Protection Software Service was also in error, but I was able to restore it.


Thank You

136429-screenshot10.jpg



screenshot10.jpg (318.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Looks like many different errors. Might try

netsh winsock reset

--please don't forget to upvote and Accept as answer if the reply is helpful--






5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
0 Votes"
cthivierge answered

If you don't have DHCP in the permissions, you can add it... the user is "nt service\dhcp"

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SALVATORECONTE-3333 avatar image
0 Votes"
SALVATORECONTE-3333 answered

So can I create a new user "nt service \ dhcp" and add it in the permissions?

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cthivierge avatar image
0 Votes"
cthivierge answered

Just add nt service\dhcp with the permissions.

Hth

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SALVATORECONTE-3333 avatar image
0 Votes"
SALVATORECONTE-3333 answered

the problem is that in the permissions there are no "nt service \ dhcp"
136974-image.png


136975-image.png



image.png (31.3 KiB)
image.png (33.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @SALVATORECONTE-3333

  1. Open a Powershell window as admin

  2. Type the following command to add the Local Service to the administrators group:
    NET LOCALGROUP administrators “NT Authority\Local Service” /add
    Reset the Winsock Catalog
    netsh winsock reset catalog

  3. Reboot your pc


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SALVATORECONTE-3333 avatar image
0 Votes"
SALVATORECONTE-3333 answered

Hi

I tried, but can't find the service.

137538-image.png



Best reguard


image.png (81.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.