DHCP Client为动态分配网址的服务。有的用户反应不小心用CMD命令删除了DHCP Client这个服务,导致没办法通过DHCP服务自动分配IP,有什么办法能够在不重装系统的情况下恢复呢?本文中小编就给大家分享介绍下Win10系统CMD删除DHCP Client服务后的恢复方法,有同样问题的用户可以参考本文中操作方法来修复!
Win10系统CMD删除DHCP CLIENT服务的修复方法:
点开开始菜单,搜索:cmd ,单击右键,点击“以管理员”,将打开“命令提示符”,复制以下命令并在命令提示符中点击鼠标右键,点击“粘贴”,随后按回车键(Enter)执行:
set SystemRoot=
echo Windows Registry Editor Version 5.00>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcp]>>%Public%DesktopDHCP.reg
echo "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,>>%Public%DesktopDHCP.reg
echo 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,>>%Public%DesktopDHCP.reg
echo 64,00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,2e,00,64,00,6c,00,6c,00,00,>>%Public%DesktopDHCP.reg
echo 00>>%Public%DesktopDHCP.reg
echo "DisplayName"="@%SystemRoot%system32dhcpcore.dll,-100">>%Public%DesktopDHCP.reg
echo "Group"="TDI">>%Public%DesktopDHCP.reg
echo "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,>>%Public%DesktopDHCP.reg
echo 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,>>%Public%DesktopDHCP.reg
echo 00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,>>%Public%DesktopDHCP.reg
echo 6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,>>%Public%DesktopDHCP.reg
echo 00,65,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,52,00,65,00,73,00,74,00,>>%Public%DesktopDHCP.reg
echo 72,00,69,00,63,00,74,00,65,00,64,00,00,00>>%Public%DesktopDHCP.reg
echo "Description"="@%SystemRoot%system32dhcpcore.dll,-101">>%Public%DesktopDHCP.reg
echo "ObjectName"="NT AuthorityLocalService">>%Public%DesktopDHCP.reg
echo "ErrorControl"=dword:00000001>>%Public%DesktopDHCP.reg
echo "Start"=dword:00000002>>%Public%DesktopDHCP.reg
echo "Type"=dword:00000020>>%Public%DesktopDHCP.reg
echo "DependOnService"=hex(7):4e,00,53,00,49,00,00,00,54,00,64,00,78,00,00,00,41,00,>>%Public%DesktopDHCP.reg
echo 66,00,64,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo "ServiceSidType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RequiredPrivileges"=hex(7):53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,>>%Public%DesktopDHCP.reg
echo 00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,>>%Public%DesktopDHCP.reg
echo 67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,00,6c,>>%Public%DesktopDHCP.reg
echo 00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,>>%Public%DesktopDHCP.reg
echo 65,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,>>%Public%DesktopDHCP.reg
echo 00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpConfigurations]>>%Public%DesktopDHCP.reg
echo "Options"=hex:32,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,ff,ff,ff,7f,00,>>%Public%DesktopDHCP.reg
echo 00,00,00,01,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,ff,ff,ff,7f,00,00,>>%Public%DesktopDHCP.reg
echo 00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpLinkage]>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpLinkageDisabled]>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParameters]>>%Public%DesktopDHCP.reg
echo "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,>>%Public%DesktopDHCP.reg
echo 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,>>%Public%DesktopDHCP.reg
echo 64,00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,2e,00,64,00,6c,00,6c,00,00,>>%Public%DesktopDHCP.reg
echo 00>>%Public%DesktopDHCP.reg
echo "ServiceDllUnloadOnStop"=dword:00000001>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions]>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions1]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000007>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,53,00,75,00,62,00,6e,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,4d,00,61,00,73,00,6b,00,4f,00,70,00,74,00,00,00,53,00,59,00,53,>>%Public%DesktopDHCP.reg
echo 00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,>>%Public%DesktopDHCP.reg
echo 6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,>>%Public%DesktopDHCP.reg
echo 00,76,00,69,00,63,00,65,00,73,00,5c,00,3f,00,5c,00,50,00,61,00,72,00,61,00,>>%Public%DesktopDHCP.reg
echo 6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5c,>>%Public%DesktopDHCP.reg
echo 00,44,00,68,00,63,00,70,00,53,00,75,00,62,00,6e,00,65,00,74,00,4d,00,61,00,>>%Public%DesktopDHCP.reg
echo 73,00,6b,00,4f,00,70,00,74,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions15]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,44,00,6f,00,6d,00,61,00,>>%Public%DesktopDHCP.reg
echo 69,00,6e,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,49,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,44,00,6f,00,6d,00,61,00,69,>>%Public%DesktopDHCP.reg
echo 00,6e,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions220]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000003>>%Public%DesktopDHCP.reg
echo "RegSendLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,>>%Public%DesktopDHCP.reg
echo 72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,>>%Public%DesktopDHCP.reg
echo 00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,>>%Public%DesktopDHCP.reg
echo 54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,>>%Public%DesktopDHCP.reg
echo 00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,>>%Public%DesktopDHCP.reg
echo 65,00,73,00,5c,00,3f,00,5c,00,53,00,6f,00,48,00,52,00,65,00,71,00,75,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,74,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo "VendorType"=dword:00000001>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions3]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000007>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,44,00,65,00,66,00,61,00,>>%Public%DesktopDHCP.reg
echo 75,00,6c,00,74,00,47,00,61,00,74,00,65,00,77,00,61,00,79,00,00,00,53,00,59,>>%Public%DesktopDHCP.reg
echo 00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,>>%Public%DesktopDHCP.reg
echo 43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,>>%Public%DesktopDHCP.reg
echo 00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,3f,00,5c,00,50,00,61,00,72,00,>>%Public%DesktopDHCP.reg
echo 61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,>>%Public%DesktopDHCP.reg
echo 00,5c,00,44,00,68,00,63,00,70,00,44,00,65,00,66,00,61,00,75,00,6c,00,74,00,>>%Public%DesktopDHCP.reg
echo 47,00,61,00,74,00,65,00,77,00,61,00,79,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions44]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,4e,>>%Public%DesktopDHCP.reg
echo 00,65,00,74,00,42,00,54,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5f,00,3f,00,5c,00,44,00,68,00,>>%Public%DesktopDHCP.reg
echo 63,00,70,00,4e,00,61,00,6d,00,65,00,53,00,65,00,72,00,76,00,65,00,72,00,4c,>>%Public%DesktopDHCP.reg
echo 00,69,00,73,00,74,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,>>%Public%DesktopDHCP.reg
echo 75,00,72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,>>%Public%DesktopDHCP.reg
echo 00,53,00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,>>%Public%DesktopDHCP.reg
echo 5c,00,4e,00,65,00,74,00,42,00,54,00,5c,00,41,00,64,00,61,00,70,00,74,00,65,>>%Public%DesktopDHCP.reg
echo 00,72,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,4e,00,61,00,6d,00,>>%Public%DesktopDHCP.reg
echo 65,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions46]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000004>>%Public%DesktopDHCP.reg
echo "RegLocation"="SYSTEMCurrentControlSetServicesNetBTParametersDhcpNodeType">>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions47]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RegLocation"="SYSTEMCurrentControlSetServicesNetBTParametersDhcpScopeID">>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptions6]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,4e,00,61,00,6d,00,65,00,>>%Public%DesktopDHCP.reg
echo 53,00,65,00,72,00,76,00,65,00,72,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,>>%Public%DesktopDHCP.reg
echo 00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,>>%Public%DesktopDHCP.reg
echo 72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,>>%Public%DesktopDHCP.reg
echo 00,65,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,>>%Public%DesktopDHCP.reg
echo 61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,4e,>>%Public%DesktopDHCP.reg
echo 00,61,00,6d,00,65,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersOptionsDhcpNetbiosOptions]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000004>>%Public%DesktopDHCP.reg
echo "OptionId"=dword:00000001>>%Public%DesktopDHCP.reg
echo "VendorType"=dword:00000001>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,4e,>>%Public%DesktopDHCP.reg
echo 00,65,00,74,00,42,00,54,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,>>%Public%DesktopDHCP.reg
echo 00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5f,00,3f,00,5c,00,44,00,68,00,>>%Public%DesktopDHCP.reg
echo 63,00,70,00,4e,00,65,00,74,00,62,00,69,00,6f,00,73,00,4f,00,70,00,74,00,69,>>%Public%DesktopDHCP.reg
echo 00,6f,00,6e,00,73,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersv6]>>%Public%DesktopDHCP.reg
echo "DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,>>%Public%DesktopDHCP.reg
echo 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,>>%Public%DesktopDHCP.reg
echo 00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,36,00,2e,00,64,00,6c,00,6c,00,>>%Public%DesktopDHCP.reg
echo 00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersv6Options]>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersv6Options23]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000003>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,>>%Public%DesktopDHCP.reg
echo 74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,>>%Public%DesktopDHCP.reg
echo 00,65,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,>>%Public%DesktopDHCP.reg
echo 4e,00,53,00,53,00,65,00,72,00,76,00,65,00,72,00,73,00,00,00,53,00,59,00,53,>>%Public%DesktopDHCP.reg
echo 00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,>>%Public%DesktopDHCP.reg
echo 6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,>>%Public%DesktopDHCP.reg
echo 00,76,00,69,00,63,00,65,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,36,00,>>%Public%DesktopDHCP.reg
echo 5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,44,>>%Public%DesktopDHCP.reg
echo 00,68,00,63,00,70,00,76,00,36,00,44,00,4e,00,53,00,53,00,65,00,72,00,76,00,>>%Public%DesktopDHCP.reg
echo 65,00,72,00,73,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpParametersv6Options24]>>%Public%DesktopDHCP.reg
echo "KeyType"=dword:00000003>>%Public%DesktopDHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,>>%Public%DesktopDHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,>>%Public%DesktopDHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,>>%Public%DesktopDHCP.reg
echo 00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,>>%Public%DesktopDHCP.reg
echo 74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,>>%Public%DesktopDHCP.reg
echo 00,65,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,>>%Public%DesktopDHCP.reg
echo 6f,00,6d,00,61,00,69,00,6e,00,53,00,65,00,61,00,72,00,63,00,68,00,4c,00,69,>>%Public%DesktopDHCP.reg
echo 00,73,00,74,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,>>%Public%DesktopDHCP.reg
echo 72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,>>%Public%DesktopDHCP.reg
echo 00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,>>%Public%DesktopDHCP.reg
echo 54,00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,>>%Public%DesktopDHCP.reg
echo 00,74,00,65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,>>%Public%DesktopDHCP.reg
echo 6f,00,6d,00,61,00,69,00,6e,00,53,00,65,00,61,00,72,00,63,00,68,00,4c,00,69,>>%Public%DesktopDHCP.reg
echo 00,73,00,74,00,00,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
echo [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesDhcpSecurity]>>%Public%DesktopDHCP.reg
echo "Security"=hex:01,00,14,80,a4,00,00,00,b0,00,00,00,14,00,00,00,30,00,00,00,02,>>%Public%DesktopDHCP.reg
echo 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,>>%Public%DesktopDHCP.reg
echo 00,00,02,00,74,00,05,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,>>%Public%DesktopDHCP.reg
echo 05,0b,00,00,00,00,00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,>>%Public%DesktopDHCP.reg
echo 2c,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,>>%Public%DesktopDHCP.reg
echo 02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,02,01,00,00,00,00,00,>>%Public%DesktopDHCP.reg
echo 14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,>>%Public%DesktopDHCP.reg
echo 05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00>>%Public%DesktopDHCP.reg
echo. >>%Public%DesktopDHCP.reg
pause
最后修复后重启一次Win10计算机即可解决问题!
以上就是Win10系统CMD删除DHCP CLIENT服务的修复方法,希望能对你有所帮助,想了解更多内容可以对自由互联进行关注!