Error 5: Access is denied. when you try to start the DHCP Client service

Error Could not start the DHCP Client service on Local Computer. Error 5: Access is denied.typically pops up after you start your computer, or when you try to start the DHCP service.

error 5 access is denied dhcp

This problem may occur after an upgrade from Windows 2003 to 2008, or after you’ve changed permissions in the registry. The error may also popup after your pc has been infected by malware.

In most cases, this error can easily be solved by granting extra permissions in the registry.

Fix Error 5: Access is denied. in Command Prompt

To make the permission changes in the registry, do the following:

  1. Click Start, click Run, type regedit and click OK
  2. Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
  3. Right click the key DHCP and click Permissions. Click Add, type network service and click OK
  4. Select NETWORKSERVICE and check the Full control box to grant NETWORKSERVICE full control on the DHCP key.
  5. Click OK to apply the changes and to close the window

Do the same for the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TcpIp:

  1. Click Start, click Run, type regedit and click OK
  2. Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TcpIp
  3. Right click the key TcpIp and click Permissions. Click Add, type network service and click OK
  4. Select NETWORKSERVICE and check the Full control box to grant NETWORKSERVICE full control on the TcpIp key.
  5. Click OK to apply the changes and to close the window

All permissions are now set up. To verify the problem is fixed, do the following:

To start the service, click Start, click Run, type services.msc and click OK
Right click DHCP client and click Start

Alternatively, you could click Start, click Run, type net start dhcp and click OK
The DHCP client service should now start.

Fix Error 5: Access is denied. with Powershell

  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
  3. Reset the Winsock Catalog
    netsh winsock reset catalog
  4. Reboot your pc

The DHCP Client service error 5 should now be resolved.

5 3 votes
Article Rating
Subscribe
Notify of
guest
24 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mke

I have the problem described. Several Windows 2003 Servers use static IPs 192.168.x.x, and report this error to event log. I followed the procedure, but it did not help. Anybody knows some other solutions?

Jaap

Had exactly this problem, and your solution fixed it for me.
Thanks!

Temlock

Just wanted to add to this thread as I had the exact same symptoms and tried all of these suggestions to no avail. As it turned out, I needed to run a CHKDSK /F as there were errors and corrupt sectors on the drive that were obviously affecting registry hives. After much searching and manipulating of registry permissions, GPO, etc, the CHKDSK /F resolved my issues instantly.

Just wanted to share this in case it too is the root cause of someone’s woes.

J. Ramos

1.Click Start, click Run, type regedit and click OK
2.Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters
3.Right click the key DHCP and click Permissions. Click Add, type network service and click OK
4.Select NETWORKSERVICE and check the Full control box to grant NETWORKSERVICE full control on the DHCP key.
5.Click OK to apply the changes and to close the window.
6. Restart the DHCP Client service.

That´s all.

J. Ramos

1.Click Start, click Run, type regedit and click OK
2.Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters
3.Click Add, type network service and click OK
4.Select NETWORK SERVICE and check the Full control box to grant NETWORK SERVICE full control on the Parameters key.
5.Click OK to apply the changes and to close the window.
6. Restart the DHCP Client service.

That´s all.

Mike Renna

You are a GOD! I spent way too long on this problem (started right after uninstalling McAfee). They told me to call my ISP.

THANKS!

Rusty Shack

No joy from the above. Failed step #2. Copy permissions from DHCP and TCPIP to their children (right-click, choose Permissions, click on the Advanced button at lower-right, check the box “Replace all child object permissions with inheritable permissions from this object” and confirm that choice). Still no joy. Failed step #3. Add new permission for COMPUTERNAME\Users (replace COMPUTERNAME with your own). Give Full Control to Users. Correct step #4. Do step 3. Then do step 2. So the “Users” id will have full control, and it will be copied to all the children of DHCP and TCPIP, to be identical… Read more »

Fastfil1

Awesome answer. cured my tale of woe!

Darek

Thanks, It worked!

kartik

Thanks a thousand ton man, that worked.

Anonymous

YES! This is the missing step!

Zzzz

You are awesome! This worked nothing else did!

nehraaz

thank you so so much rusty shack. i tried everything for months at end and finally your solution worked. all my keys were ok except i didnt propagate the permissions through inheritance.

NetRookie

I had been experiencing problems connecting to my wired and wireless networks, later that I figured out that it was the autoIP configuration problem ( I had sticked to static IP), it was the DHCP problem. Your solution really worked for me, starting the DHCP service. Now I am to check whether the internet would start up using AutoIP configuration.
Cheers.

anon

also need to add “nt service\dhcp” with full permissions to dhcp and tcpip keys

Anonymous

You are awesome

Anonymous

That helped me in Windows 10

Oded

Your solution fixed it for me.

Oskar

I did all those things, but I still have that error. :s Any ideas?

pallygary

I see this is a fairly old post but it’s just solved this issue for me today so thanks for posting this info…

Blogging academy

Thank you so much for posting. Got it to work I had the same issue, and your approach solved it for me.

Don McFarland

That fix was amazing !! Every single one of the network interfaces mysteriously had DHCP disabled, and it was impossible to start the service. Thank you soooo much John !!!!

Don McFarland

Thank you John for this brilliant fix !!

Bhuvnesh

thanks it worked.

24
0
Would love your thoughts, please comment.x
()
x