如何修复 DHCP 客户端服务错误 5: Windows 上的访问被拒绝. You receive the error message
Windows could not start the DHCP server service on local computer Error 5: Access is denied
事件查看器
解决方案 1 With Registry Editor
请执行下列操作:
1. 点击开始, 点击跑步, 并输入:
regedit
2. 点击好的;
3. 导航到以下键:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
4. Right Mouse Button click the key动态主机配置协议 然后单击Permissions;
5. 点击添加, 类型:
network service
6. 点击好的;
7. 选择NETWORKSERVICE and check the完全控制 box to grant NETWORKSERVICE full control on the DHCP key.
8. 点击好的 to apply the changes.
9. Do the same for the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TcpIp
解决方案 2 With Windows PowerShell or Command Prompt (指令管理系统)
1. Open Windows PowerShell (or Command Prompt) as admin;
2. Type the following command to add the NT Authority\Local Service:
NET LOCALGROUP administrators "NT Authority\Local Service" /add
3. Reset Winsock Catalog to a clean state:
netsh winsock reset catalog
4. 重启 your computer.